Public Member Functions | |
def | __del__ (self) |
def | __init__ (self, useCert=False) |
def | approvePackage (self, package) |
def | approveTagsets (self, tagset_ids, comment='') |
def | bypassTagsets (self, tagset_ids, comment='') |
def | commentTagsets (self, tagset_ids, comment) |
def | createRelease (self, base_release_name, new_release_name, new_state, new_private, new_type, new_description, release_managers, copy_queues, tags) |
def | deprecateReleases (self, releases) |
def | getIBs (self, filt='', limit=10) |
def | getPackageManagersRequested (self, package) |
def | getPackagesPendingApproval (self) |
def | getPackageTagDescriptionFirstLine (self, package, tag) |
def | getPackageTagReleases (self, package, tag) |
def | getPackageTags (self, package) |
def | getPendingApprovalTags (self, args, allow_multiple_tags=False) |
def | getReleaseArchitectures (self, release, default='0') |
def | getReleasesTags (self, releases, diff=False) |
def | getReleaseTags (self, release) |
def | getTagsetInformation (self, tagset) |
def | getTagsetsTagsPendingSignatures (self, user_name, show_all, author_tagsets, release_names=None) |
def | getTagsetTags (self, tagset) |
def | rejectTagsetsPendingApproval (self, tagset_ids, comment='') |
def | rejectTagsetsPendingSignatures (self, tagset_ids, comment='') |
def | removeTagsets (self, tagset_ids, comment='') |
def | requestCustomIB (self, release_name, architectures, tags) |
def | search (self, term) |
def | signIn (self, username, password) |
def | signInInteractive (self) |
def | signOut (self) |
def | signTagsets (self, tagset_ids, comment='') |
def | signTagsetsAll (self, tagset_ids, comment='') |
Public Attributes | |
login | |
useCert | |
Private Member Functions | |
def | _open (self, page, params=None, data=None) |
def | _openjson (self, page, params=None, data=None) |
Private Attributes | |
_cj | |
_opener | |
_url | |
def cmstc.TagCollector.__del__ | ( | self | ) |
Definition at line 36 of file cmstc.py.
References cmstc.TagCollector.login, cmstc.TagCollector.signOut(), upload_popcon.ConditionsUploader.signOut(), and uploadConditions.ConditionsUploader.signOut().
Definition at line 39 of file cmstc.py.
References url_query.url_query._url, cmstc.TagCollector._url, conddblib.Connection._url, ws_sso_content_reader.getContent(), digitizers_cfi.strip, and cmstc.TagCollector.useCert.
Referenced by cmstc.TagCollector._openjson(), cmstc.TagCollector.approvePackage(), cmstc.TagCollector.approveTagsets(), cmstc.TagCollector.bypassTagsets(), cmstc.TagCollector.commentTagsets(), cmstc.TagCollector.createRelease(), cmstc.TagCollector.deprecateReleases(), cmstc.TagCollector.rejectTagsetsPendingApproval(), cmstc.TagCollector.rejectTagsetsPendingSignatures(), cmstc.TagCollector.removeTagsets(), cmstc.TagCollector.requestCustomIB(), cmstc.TagCollector.signIn(), cmstc.TagCollector.signOut(), cmstc.TagCollector.signTagsets(), and cmstc.TagCollector.signTagsetsAll().
Definition at line 52 of file cmstc.py.
References cmstc.TagCollector._open().
Referenced by cmstc.TagCollector.getIBs(), cmstc.TagCollector.getPackageManagersRequested(), cmstc.TagCollector.getPackagesPendingApproval(), cmstc.TagCollector.getPackageTagDescriptionFirstLine(), cmstc.TagCollector.getPackageTagReleases(), cmstc.TagCollector.getPackageTags(), cmstc.TagCollector.getPendingApprovalTags(), cmstc.TagCollector.getReleaseArchitectures(), cmstc.TagCollector.getReleasesTags(), cmstc.TagCollector.getTagsetInformation(), cmstc.TagCollector.getTagsetsTagsPendingSignatures(), cmstc.TagCollector.getTagsetTags(), and cmstc.TagCollector.search().
def cmstc.TagCollector.approvePackage | ( | self, | |
package | |||
) |
Approve a New Package Request. Requirement: Signed in as a Creator (i.e. people in the top-level .admin/developers file). Warning: This does *not* create the package in CVS.
Definition at line 192 of file cmstc.py.
References cmstc.TagCollector._open().
def cmstc.TagCollector.approveTagsets | ( | self, | |
tagset_ids, | |||
comment = '' |
|||
) |
Approve one or more tagsets. Requirement: Signed in as a Release Manager for each tagset's release.
Definition at line 155 of file cmstc.py.
References cmstc.TagCollector._open().
def cmstc.TagCollector.bypassTagsets | ( | self, | |
tagset_ids, | |||
comment = '' |
|||
) |
Bypass one or more tagsets. Requirement: Signed in as a Release Manager for each tagset's release.
Definition at line 161 of file cmstc.py.
References cmstc.TagCollector._open().
def cmstc.TagCollector.commentTagsets | ( | self, | |
tagset_ids, | |||
comment | |||
) |
Comment one or more tagsets. Requirement: Signed in.
Definition at line 128 of file cmstc.py.
References cmstc.TagCollector._open().
def cmstc.TagCollector.createRelease | ( | self, | |
base_release_name, | |||
new_release_name, | |||
new_state, | |||
new_private, | |||
new_type, | |||
new_description, | |||
release_managers, | |||
copy_queues, | |||
tags | |||
) |
Create a new release. Requirement: Signed in as a release manager.
Definition at line 210 of file cmstc.py.
References cmstc.TagCollector._open(), and cmstc.TagCollector.login.
def cmstc.TagCollector.deprecateReleases | ( | self, | |
releases | |||
) |
Deprecate releases
Definition at line 204 of file cmstc.py.
References cmstc.TagCollector._open(), join(), and cmstc.TagCollector.login.
def cmstc.TagCollector.getIBs | ( | self, | |
filt = '' , |
|||
limit = 10 |
|||
) |
Get the name and creation date of Integration Builds. By default, it only returns the latest 10 IBs. Optionally, filter by name.
Definition at line 198 of file cmstc.py.
References cmstc.TagCollector._openjson().
def cmstc.TagCollector.getPackageManagersRequested | ( | self, | |
package | |||
) |
Get the Package Managers (administrators and developers) requested in a New Package Request.
Definition at line 183 of file cmstc.py.
References cmstc.TagCollector._openjson().
def cmstc.TagCollector.getPackagesPendingApproval | ( | self | ) |
Get New Package Requests which are Pending Approval.
Definition at line 179 of file cmstc.py.
References cmstc.TagCollector._openjson().
def cmstc.TagCollector.getPackageTagDescriptionFirstLine | ( | self, | |
package, | |||
tag | |||
) |
Get the first line of the descriptions of a tag.
Definition at line 80 of file cmstc.py.
References cmstc.TagCollector._openjson().
def cmstc.TagCollector.getPackageTagReleases | ( | self, | |
package, | |||
tag | |||
) |
Get the releases where a tag is.
Definition at line 84 of file cmstc.py.
References cmstc.TagCollector._openjson().
def cmstc.TagCollector.getPackageTags | ( | self, | |
package | |||
) |
Get the tags published in TagCollector for a package. Note: TagCollector's published tags are a subset of CVS' tags.
Definition at line 75 of file cmstc.py.
References cmstc.TagCollector._openjson().
Prints Pending Approval tags of one or more releases, one or more tagsets, or both (i.e. it joins all the tags). Prints an error if several tags appear for a single package. Suitable for piping to addpkg (note: at the moment, addpkg does not read from stdin, use "-f" instead).
Definition at line 107 of file cmstc.py.
References cmstc.TagCollector._openjson().
def cmstc.TagCollector.getReleaseArchitectures | ( | self, | |
release, | |||
default = '0' |
|||
) |
Returns release architectures.
Definition at line 226 of file cmstc.py.
References cmstc.TagCollector._openjson().
Get the tags of one or more release. Optionally, return only the tags that differ between releases.
Definition at line 88 of file cmstc.py.
References cmstc.TagCollector._openjson().
Referenced by cmstc.TagCollector.getReleaseTags().
def cmstc.TagCollector.getReleaseTags | ( | self, | |
release | |||
) |
Get the tags of one release.
Definition at line 95 of file cmstc.py.
References cmstc.TagCollector.getReleasesTags().
def cmstc.TagCollector.getTagsetInformation | ( | self, | |
tagset | |||
) |
Get the information of one tagset.
Definition at line 103 of file cmstc.py.
References cmstc.TagCollector._openjson().
def cmstc.TagCollector.getTagsetsTagsPendingSignatures | ( | self, | |
user_name, | |||
show_all, | |||
author_tagsets, | |||
release_names = None |
|||
) |
Prints Pending Signature tags of one or more releases, one or more tagsets, or both (i.e. it joins all the tags). Prints an error if several tags appear for a single package. Suitable for piping to addpkg (note: at the moment, addpkg does not read from stdin, use "-f" instead).
Definition at line 117 of file cmstc.py.
References cmstc.TagCollector._openjson().
def cmstc.TagCollector.getTagsetTags | ( | self, | |
tagset | |||
) |
Get the tags of one tagset.
Definition at line 99 of file cmstc.py.
References cmstc.TagCollector._openjson().
def cmstc.TagCollector.rejectTagsetsPendingApproval | ( | self, | |
tagset_ids, | |||
comment = '' |
|||
) |
Reject one or more tagsets Pending Approval. Requirement: Signed in as a Release Manager.
Definition at line 167 of file cmstc.py.
References cmstc.TagCollector._open().
def cmstc.TagCollector.rejectTagsetsPendingSignatures | ( | self, | |
tagset_ids, | |||
comment = '' |
|||
) |
Reject one or more tagsets Pending Signatures. Requirement: Signed in as a L2s or as a Release Manager for the tagset's release or as the author of the tagset.
Definition at line 148 of file cmstc.py.
References cmstc.TagCollector._open().
def cmstc.TagCollector.removeTagsets | ( | self, | |
tagset_ids, | |||
comment = '' |
|||
) |
Remove one or more tagsets from the History (i.e. stack of the release). Requirement: Signed in as a Release Manager.
Definition at line 173 of file cmstc.py.
References cmstc.TagCollector._open().
def cmstc.TagCollector.requestCustomIB | ( | self, | |
release_name, | |||
architectures, | |||
tags | |||
) |
Request a CustomIB. Requirement: Signed in.
Definition at line 218 of file cmstc.py.
References cmstc.TagCollector._open(), and cmstc.TagCollector.login.
def cmstc.TagCollector.search | ( | self, | |
term | |||
) |
Searches for releases, packages, tagsets, users and categories. Requirement: Signed in.
Definition at line 187 of file cmstc.py.
References cmstc.TagCollector._openjson().
def cmstc.TagCollector.signIn | ( | self, | |
username, | |||
password | |||
) |
Definition at line 55 of file cmstc.py.
References cmstc.TagCollector._open(), cmstc.TagCollector.login, and cmstc.TagCollector.useCert.
Referenced by cmstc.TagCollector.signInInteractive().
def cmstc.TagCollector.signInInteractive | ( | self | ) |
Definition at line 61 of file cmstc.py.
References cmstc.TagCollector.signIn(), upload_popcon.ConditionsUploader.signIn(), uploadConditions.ConditionsUploader.signIn(), and cmstc.TagCollector.useCert.
def cmstc.TagCollector.signOut | ( | self | ) |
Definition at line 69 of file cmstc.py.
References cmstc.TagCollector._open(), cmstc.TagCollector.login, and cmstc.TagCollector.useCert.
Referenced by cmstc.TagCollector.__del__().
def cmstc.TagCollector.signTagsets | ( | self, | |
tagset_ids, | |||
comment = '' |
|||
) |
Sign one or more tagsets. Requirement: Signed in as a L2.
Definition at line 136 of file cmstc.py.
References cmstc.TagCollector._open().
def cmstc.TagCollector.signTagsetsAll | ( | self, | |
tagset_ids, | |||
comment = '' |
|||
) |
Sign all one or more tagsets. Requirement: Signed in as a top-level admin.
Definition at line 142 of file cmstc.py.
References cmstc.TagCollector._open().
|
private |
Definition at line 28 of file cmstc.py.
Referenced by cmstc.TagCollector._open().
cmstc.TagCollector.login |
Definition at line 30 of file cmstc.py.
Referenced by cmstc.TagCollector.__del__(), cmstc.TagCollector.createRelease(), cmstc.TagCollector.deprecateReleases(), cmstc.TagCollector.requestCustomIB(), cmstc.TagCollector.signIn(), and cmstc.TagCollector.signOut().
cmstc.TagCollector.useCert |
Definition at line 29 of file cmstc.py.
Referenced by cmstc.TagCollector._open(), cmstc.TagCollector.signIn(), cmstc.TagCollector.signInInteractive(), and cmstc.TagCollector.signOut().