mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-07-24 21:31:29 +00:00
* buildd:
- Check if package is in restricted too. - Output which component the package is in, in the header.
This commit is contained in:
parent
da9df8802b
commit
13ccb17ef5
10
buildd
10
buildd
@ -102,8 +102,8 @@ common.checkReleaseExists(release)
|
|||||||
component = common.packageComponent(package, release)
|
component = common.packageComponent(package, release)
|
||||||
|
|
||||||
# Output details.
|
# Output details.
|
||||||
print "The source version for '%s' in %s is at %s." % (package,
|
print "The source version for '%s' in %s (%s) is at %s." % (package,
|
||||||
release.capitalize(), version)
|
release.capitalize(), component, version)
|
||||||
|
|
||||||
# Parse out build URLs, states, and arches.
|
# Parse out build URLs, states, and arches.
|
||||||
buildstats = {}
|
buildstats = {}
|
||||||
@ -127,8 +127,10 @@ if op == 'status':
|
|||||||
# admins (rescore). Check if the proper permissions are in place.
|
# admins (rescore). Check if the proper permissions are in place.
|
||||||
if op == "rescore": teamNeeded = "launchpad-buildd-admins"
|
if op == "rescore": teamNeeded = "launchpad-buildd-admins"
|
||||||
if op == "retry":
|
if op == "retry":
|
||||||
if component == "main": teamNeeded = "ubuntu-core-dev"
|
if component in ("main", "restricted"):
|
||||||
else: teamNeeded = "ubuntu-dev"
|
teamNeeded = "ubuntu-core-dev"
|
||||||
|
else:
|
||||||
|
teamNeeded = "ubuntu-dev"
|
||||||
|
|
||||||
necessaryPrivs = common.isLPTeamMember(teamNeeded)
|
necessaryPrivs = common.isLPTeamMember(teamNeeded)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user