mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-13 18:01:28 +00:00
Merge in Iain's changes.
This commit is contained in:
commit
a6c88f7e6a
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -1,10 +1,17 @@
|
|||||||
ubuntu-dev-tools (0.60) UNRELEASED; urgency=low
|
ubuntu-dev-tools (0.60) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
[ Jonathan Davies ]
|
||||||
* ubuntutools/common.py: Now split into multiple files depending on
|
* ubuntutools/common.py: Now split into multiple files depending on
|
||||||
function.
|
function.
|
||||||
* Adjusted imports on all files as necessary for the change above.
|
* Adjusted imports on all files as necessary for the change above.
|
||||||
|
|
||||||
-- Jonathan Davies <jpds@ubuntu.com> Mon, 19 Jan 2009 18:00:15 +0000
|
[ Iain Lane ]
|
||||||
|
* requestsync: Only attempt to change bug importance if in ubuntu-dev, as it
|
||||||
|
will fail otherwise (LP: #320984).
|
||||||
|
* ubuntutools/lp/functions.py: Rename urlopener import as it conflicts with
|
||||||
|
a variable, causing an error.
|
||||||
|
|
||||||
|
-- Iain Lane <laney@ubuntu.com> Sun, 25 Jan 2009 01:07:28 +0000
|
||||||
|
|
||||||
ubuntu-dev-tools (0.59) jaunty; urgency=low
|
ubuntu-dev-tools (0.59) jaunty; urgency=low
|
||||||
|
|
||||||
|
@ -216,6 +216,7 @@ class pbuilder_dist:
|
|||||||
components = 'main restricted'
|
components = 'main restricted'
|
||||||
if self.extra_components:
|
if self.extra_components:
|
||||||
components += ' universe multiverse'
|
components += ' universe multiverse'
|
||||||
|
|
||||||
arguments.append('--components "%s"' % components)
|
arguments.append('--components "%s"' % components)
|
||||||
|
|
||||||
if self.build_architecture != self.system_architecture:
|
if self.build_architecture != self.system_architecture:
|
||||||
|
@ -389,7 +389,9 @@ def post_bug(source_package, subscribe, status, bugtitle, bugtext):
|
|||||||
|
|
||||||
#newly created bugreports have one task
|
#newly created bugreports have one task
|
||||||
task = bug.bug_tasks[0]
|
task = bug.bug_tasks[0]
|
||||||
task.transitionToImportance(importance='Wishlist')
|
# Only members of ubuntu-bugs can set importance
|
||||||
|
if lp_functions.isLPTeamMember('ubuntu-bugs'):
|
||||||
|
task.transitionToImportance(importance='Wishlist')
|
||||||
task.transitionToStatus(status=status)
|
task.transitionToStatus(status=status)
|
||||||
|
|
||||||
subscribe_url = "%s~%s" %(launchpad._root_uri, subscribe)
|
subscribe_url = "%s~%s" %(launchpad._root_uri, subscribe)
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
import cookie
|
import cookie
|
||||||
import urlopener
|
import urlopener as lp_urlopener
|
||||||
|
|
||||||
def isLPTeamMember(team):
|
def isLPTeamMember(team):
|
||||||
""" Checks if the user is a member of a certain team on Launchpad.
|
""" Checks if the user is a member of a certain team on Launchpad.
|
||||||
@ -37,7 +37,7 @@ def isLPTeamMember(team):
|
|||||||
# Prepare cookie.
|
# Prepare cookie.
|
||||||
cookieFile = cookie.prepareLaunchpadCookie()
|
cookieFile = cookie.prepareLaunchpadCookie()
|
||||||
# Prepare URL opener.
|
# Prepare URL opener.
|
||||||
urlopener = urlopener.setupLaunchpadUrlOpener(cookieFile)
|
urlopener = lp_urlopener.setupLaunchpadUrlOpener(cookieFile)
|
||||||
|
|
||||||
# Try to open the Launchpad team page:
|
# Try to open the Launchpad team page:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user