|
list
|
|
|
String
|
wrap(text,
width,
caption=u'')
Wraps the given text at column width, optionally indenting it
so that no text is under caption. |
source code
|
|
|
List of Strings
|
get_glsa_list(myconfig)
Returns a list of all available GLSAs in the given repository by
comparing the filelist there with the pattern described in the
config. |
source code
|
|
|
List of Strings
|
|
|
String
|
|
|
List of Strings
|
getMultiTagsText(rootnode,
tagname,
format)
Returns a list with the text of all subnodes of type tagname
under rootnode (which itself is not parsed) using the given
format. |
source code
|
|
|
String
|
makeAtom(pkgname,
versionNode)
creates from the given package name and information in the
versionNode a (syntactical) valid portage atom. |
source code
|
|
|
String
|
makeVersion(versionNode)
creates from the information in the versionNode a version
string (format <op><version>). |
source code
|
|
|
list of strings
|
match(atom,
dbapi,
match_type=u'default')
wrapper that calls revisionMatch() or portage.dbapi.dbapi.match()
depending on the given atom. |
source code
|
|
|
list of strings
|
revisionMatch(revisionAtom,
dbapi,
match_type=u'default')
handler for the special >~, >=~, <=~ and <~ atoms that
are supposed to behave as > and < except that they are limited
to the same version, the range only applies to the revision part. |
source code
|
|
|
String | None
|
getMinUpgrade(vulnerableList,
unaffectedList,
portdbapi,
vardbapi,
minimize=True)
Checks if the systemstate is matching an atom in
vulnerableList and returns string describing the lowest
version for the package that matches an atom in unaffectedList
and is greater than the currently installed version. |
source code
|
|
|
String
|
format_date(datestr)
Takes a date (announced, revised) date from a GLSA and formats it as
readable text (i.e. |
source code
|
|