Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareNotIn SubscriptLoad NameLoad Index Num Str body Assign NameStore BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Import alias Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore UnaryOpNot NameLoad Assign NameStore ListLoad If CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore TupleLoad NameLoad For NameStore NameLoad body If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Continue orelse Assign NameStore Call NameLoad NameLoad keyword NameLoad If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Str body Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Slice Num TupleLoad NameLoad NameLoad NameLoad orelse If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Str body Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Slice Num NameLoad orelse If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Slice Num NameLoad orelse Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Slice Num TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore ListLoad If Call NameLoad NameLoad NameLoad body Assign NameStore TupleLoad NameLoad For NameStore NameLoad body If BoolOpAnd NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Continue Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore ListLoad For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Num NameLoad keyword NameLoad If CompareEq SubscriptLoad NameLoad Index Num Str body Return TupleLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad If BoolOpOr CompareEq SubscriptLoad NameLoad Index Num Str NameLoad body Return TupleLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad UnaryOpNot NameLoad Return TupleLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad Raise Call NameLoad NameLoad Str Assign TupleStore NameStore NameStore NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad If NameLoad body Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad orelse Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad If BoolOpAnd BoolOpOr NameLoad CompareIsNot NameLoad NameLoad UnaryOpNot BoolOpOr NameLoad CompareIsNot NameLoad NameLoad body Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Return TupleLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr NameLoad Str Return Call AttributeLoad Str attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad body While NameLoad body TryExcept body Assign NameStore Call NameLoad BinOpAdd NameLoad Str handlers ExceptHandler type NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad TupleLoad Str Str body Return NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Return NameLoad orelse If UnaryOpNot NameLoad body Return NameLoad orelse Print BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Str orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str If NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Str If NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A os conary errors conary state conary trovetup conary.deps deps conary.lib log cfgtypes api conary.repository changeset conary.repository.filecontainer BadContainer N/A TroveSpecError N/A errors TroveSpecError parseTroveSpec N/A N/A specStr allowEmptyName withFrozenFlavor N/A True False N/A N/A 
    Parse a TroveSpec string

    @param specStr: the input string
    @type specStr: string

    @param allowEmptyName: if set, will accept an empty string and some other
    variations.
    @type allowEmptyName: bool

    @param withFrozenFlavor: if set, will accept a frozen flavor
    @type withFrozenFlavor: bool

    @rtype: list
    @return: (name, version, flavor)

    @raise TroveSpecError: Raised if the input string is not a valid TroveSpec
     N/A N/A N/A trovetup TroveSpec specStr allowEmptyName allowEmptyName withFrozenFlavor withFrozenFlavor N/A N/A api publicApi _getChangeSet N/A N/A path N/A N/A N/A N/A N/A cs N/A N/A changeset ChangeSetFromFile path N/A N/A N/A BadContainer N/A msg N/A N/A N/A N/A path N/A 0 ./ N/A N/A path N/A ./ path N/A N/A N/A log error N/A '%s' is not a valid conary changeset: %s N/A path msg N/A sys N/A N/A N/A sys exit 1 N/A N/A N/A log debug N/A found changeset file %s path N/A cs N/A parseUpdateList N/A N/A updateList keepExisting updateByDefault withFrozenFlavor N/A True False N/A N/A areAbsolute N/A keepExisting N/A applyList N/A N/A N/A N/A type updateList str N/A N/A updateList N/A updateList N/A updateStr updateList N/A N/A N/A N/A N/A N/A os path exists updateStr N/A N/A N/A os path isfile updateStr N/A N/A N/A N/A applyList append N/A _getChangeSet updateStr N/A N/A N/A troveSpec N/A parseTroveSpec updateStr withFrozenFlavor withFrozenFlavor N/A N/A N/A N/A troveSpec N/A 0 N/A 0 - N/A N/A N/A N/A applyList append N/A N/A troveSpec N/A 0 N/A troveSpec N/A 1 N/A None None False N/A N/A N/A N/A N/A troveSpec N/A 0 N/A 0 + N/A N/A N/A N/A applyList append N/A N/A troveSpec N/A 0 N/A None None N/A troveSpec N/A 1 areAbsolute N/A N/A updateByDefault N/A N/A N/A N/A applyList append N/A N/A troveSpec N/A 0 N/A None None N/A troveSpec N/A 1 areAbsolute N/A N/A N/A N/A applyList append N/A N/A troveSpec N/A 0 N/A troveSpec N/A 1 N/A None None False N/A N/A N/A log debug will look for %s N/A applyList N/A -1 N/A N/A set applyList N/A parseChangeList N/A N/A changeSpecList keepExisting updateByDefault allowChangeSets withFrozenFlavor N/A False True True False N/A N/A 
    Parse a change specification list, as presented on the command line.

    Takes input specifying changeSpecs, such as C{foo=1.1--1.2},
    and turns it into C{(name, (oldVersionSpec, oldFlavorSpec),
    (newVersionSpec, newFlavorSpec), isAbsolute)} tuples.

    @note: If a filename is passed as a changeSpec, and the file does not contain
    a valid conary changeset, a sys.exit() will be called.

    @param changeSpecList: a changeSpec, such as C{foo=1.1--1.2}
    @type changeSpecList: string

    @param keepExisting: specifies whether an installed trove should be
    kept in addition to an updated version.
    @type keepExisting: bool

    @param updateByDefault:
    @type updateByDefault: bool

    @param allowChangeSets: specifies whether file-based changesets are
    allowed.
    @type allowChangeSets: bool

    @param withFrozenFlavor: if set, will accept a frozen flavor
    @type withFrozenFlavor: bool

    @raise TroveSpecError: Raised if an invalid TroveSpec is passed within the
    ChangeSpec list.

    @rtype: list
    @return: a list of changes to apply, of the form
    (name, (oldVersion, oldFlavor), (newVersion, newFlavor), replaceExisting)
    where either the old or new version/flavor (but not both) may be
    (None, None)
     N/A applyList N/A N/A N/A isinstance changeSpecList str N/A N/A changeSpecList N/A changeSpecList N/A changeSpec changeSpecList N/A N/A N/A allowChangeSets N/A N/A N/A os path exists changeSpec N/A N/A N/A os path isfile changeSpec N/A N/A N/A N/A applyList append N/A _getChangeSet changeSpec N/A N/A N/A N/A applyList append N/A parseChangeSpec changeSpec keepExisting keepExisting updateByDefault updateByDefault withFrozenFlavor withFrozenFlavor N/A finalList N/A N/A item applyList N/A N/A N/A item finalList N/A N/A N/A N/A finalList append item N/A finalList N/A N/A api publicApi parseChangeSpec N/A N/A changeSpec keepExisting updateByDefault withFrozenFlavor N/A False True False N/A N/A 
    Parse a single change specification, as presented on the command line,
    such as C{foo=1.1--1.2}, and turns it into a tuple
    C{(name, (oldVersionSpec, oldFlavorSpec), (newVersionSpec, newFlavorSpec), isAbsolute)}.

    @param changeSpec: a changeSpec, such as C{foo=1.1--1.2}
    @type changeSpec: string

    @param keepExisting: specifies whether an installed trove should be
    kept in addition to an updated version.
    @type keepExisting: bool

    @param updateByDefault:
    @type updateByDefault: bool

    @param withFrozenFlavor: if set, will accept a frozen flavor
    @type withFrozenFlavor: bool

    @raise TroveSpecError: Raised if an invalid TroveSpec is passed within the
    ChangeSpec list.

    @rtype: tuple
    @return: a tuple
    (name, (oldVersion, oldFlavor), (newVersion, newFlavor), replaceExisting)
    where either the old or new version/flavor (but not both) may be
    (None, None)
     N/A l N/A N/A changeSpec split -- N/A N/A N/A len l 1 N/A N/A N/A troveName versionStr flavor N/A parseTroveSpec N/A l N/A 0 False withFrozenFlavor withFrozenFlavor N/A N/A N/A troveName N/A 0 - N/A N/A N/A troveName N/A versionStr flavor N/A None None False N/A N/A N/A N/A troveName N/A 0 + updateByDefault N/A N/A N/A troveName N/A None None N/A versionStr flavor N/A keepExisting N/A N/A troveName N/A versionStr flavor N/A None None False N/A N/A N/A len l 2 N/A N/A N/A N/A log error one -- expected in change spec '%s' changeSpec N/A N/A TroveSpecError changeSpec one -- expected in change spec N/A N/A oldSpec newSpec l N/A N/A troveName oldVersion oldFlavor N/A parseTroveSpec oldSpec withFrozenFlavor withFrozenFlavor N/A newSpec N/A N/A newSpec N/A N/A troveName = newSpec N/A N/A troveName newVersion newFlavor N/A parseTroveSpec newSpec withFrozenFlavor withFrozenFlavor N/A N/A N/A newVersion newFlavor N/A None None N/A N/A N/A newVersion N/A newFlavor None N/A N/A oldVersion N/A oldFlavor None N/A N/A N/A oldVersion oldFlavor N/A None None N/A N/A troveName N/A oldVersion oldFlavor N/A newVersion newFlavor False N/A N/A api publicApi toTroveSpec N/A N/A name versionStr flavor N/A N/A N/A 
    Construct a TroveSpec string from name + version + flavor

    @param name: trove name
    @type name: string

    @param versionStr: trove version string
    @type versionStr: string

    @param flavor: trove flavor
    @type flavor: L{deps.deps.Flavor}

    @rtype: string
    @return: a TroveSpec of the form name=version[flavor]
     N/A disp N/A name N/A versionStr N/A N/A N/A N/A disp extend N/A = versionStr N/A N/A N/A flavor None N/A N/A N/A flavor isEmpty N/A N/A N/A N/A disp extend N/A [ N/A N/A deps formatFlavor flavor ] N/A N/A N/A join disp N/A N/A api publicApi askYn N/A N/A prompt default N/A None N/A N/A True N/A N/A N/A N/A resp N/A raw_input N/A prompt N/A N/A N/A EOFError N/A N/A False N/A resp N/A N/A resp lower N/A N/A resp N/A y yes N/A N/A True N/A N/A N/A resp N/A n no N/A N/A False N/A N/A N/A resp N/A N/A default N/A N/A N/A Unknown response '%s'. resp N/A setContext N/A N/A cfg context environ searchCurrentDir N/A None None False N/A N/A N/A environ None N/A N/A environ N/A os environ N/A N/A context None N/A N/A where given manually N/A N/A context N/A cfg context N/A where specified as the default context in the conary configuration N/A searchCurrentDir N/A N/A N/A N/A conaryState N/A N/A state ConaryStateFromFile CONARY parseSource False N/A N/A N/A conaryState hasContext N/A N/A context N/A N/A conaryState getContext N/A where specified in the CONARY state file N/A N/A N/A N/A state CONARYFileMissing N/A N/A N/A N/A CONARY_CONTEXT environ N/A N/A context N/A environ N/A CONARY_CONTEXT N/A where specified in the CONARY_CONTEXT environment variable N/A context N/A N/A N/A N/A N/A cfg getContext context N/A N/A N/A N/A cfgtypes CfgError N/A context "%s" (%s) does not exist N/A context where N/A N/A N/A cfg setContext context N/A cfg N/A