| Home | Trees | Indices | Help |
|
|---|
|
|
action.Action --+
|
action.RecipeAction --+
|
policy.BasePolicy --+
|
policy.Policy --+
|
InitialContents
r.InitialContents() - Mark only explicit
inclusions as initial contents files
InitialContents([filterexp])
By default, r.InitialContents() does not apply to any
files. It is used to specify all files that Conary needs to mark as
providing only initial contents. When Conary installs or updates one
of these files, it will never replace existing contents; it uses the
provided contents only if the file does not yet exist at the time
Conary is creating it.
r.InitialContents('%(sysconfdir)s/conary/.*gpg')
%(sysconfdir)s/conary/.*gpg are being marked
as initial contents files. Conary will use those contents when
creating the files the first time, but will never overwrite existing
contents in those files.
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
requires =
|
|||
bucket = 8
|
|||
processUnmodified = Trueallows special handling for derived packages in order to make only appropriate changes in the derived package. |
|||
keywords =
|
|||
invariantexceptions = subclasses may set to a list of exception filters that are always applied regardless of what other exceptions may be provided by the recipe; these exceptions being applied is an invariant condition of the doFile method.
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
The default way to update a class is to override any provided keywords. Subclasses which have the ability to provide more intelligent handling can override this method. This method is invoked automatically by recipe.py when a recipe references a policy object. It acts rather like __init__ except that it can meaningfully be called more than once for an object. Some keyword arguments (at leastexceptions and
subtrees) should be appended rather than replaced.
|
|
|||
keywords
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Jul 10 11:46:06 2008 | http://epydoc.sourceforge.net |