DFDependenciesDoc.tioga
Spreitzer, April 24, 1986 2:57:21 pm PST
DFDependencies
CEDAR 6.0 — FOR INTERNAL XEROX USE ONLY
DFDependencies
Mike Spreitzer
© Copyright 1986 Xerox Corporation. All rights reserved.
Abstract: DFDependencies determines the dependency graph between a set of DF-files, and can update all the clients of a given DF-file.
Created by: Mike Spreitzer
Maintained by: Mike Spreitzer <Spreitzer.pa>
Keywords: DF File, Dependencies, Bringover, SModel, Verify, MakeDo
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

For Internal Xerox Use Only
1. Cedar Interface
DFDependencies is mainly used via its Cedar interface. It has a procedure to derive a dependency graph. Given a dependency graph and an identified vertex in it, DFDependencies has a procedure to remake all the clients of that vertex. DFDependencies also has procedures for reading and writing dependency graphs. The procedure to update a given package is also exported; it does a BringOver, then a MakeDo, then a SModel, and finally a VerifyDF; it stops if and when errors are encountered.
1. Command Tool Interface
The procedure which updates a package is available as a command tool command:
Update Foo
is nearly equivalent to
Bringover Foo.DF; MakeDo -dr Foo.DF; SModel Foo.DF; VerifyDF Foo.DF
One difference is that it is not so verbose --- the boring printout from the DF operations is elided, unless it includes an error message. Another is that if the MakeDo decides there is nothing to do, the SModel and VerifyDF will be omitted. Furthermore, the BringOver can be prevented by saying
Update -b Foo