mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
- fixed bug, where description and summary were not updated with the
current source package.
This commit is contained in:
parent
38bb1a63ae
commit
833b9bdeee
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -3,6 +3,8 @@ ubuntu-dev-tools (0.14) UNRELEASED; urgency=low
|
|||||||
* massfile:
|
* massfile:
|
||||||
- fixed bug where to find example files,
|
- fixed bug where to find example files,
|
||||||
- made url get checked beforehand.
|
- made url get checked beforehand.
|
||||||
|
- fixed bug, where description and summary were not updated with the
|
||||||
|
current source package.
|
||||||
* examples/massfile.instructions: added example buglist-url.
|
* examples/massfile.instructions: added example buglist-url.
|
||||||
|
|
||||||
-- Daniel Holbach <daniel.holbach@ubuntu.com> Thu, 27 Sep 2007 11:43:55 +0200
|
-- Daniel Holbach <daniel.holbach@ubuntu.com> Thu, 27 Sep 2007 11:43:55 +0200
|
||||||
|
39
massfile
39
massfile
@ -67,22 +67,26 @@ def file_bug(config):
|
|||||||
Bug = Connector.ConnectBug()
|
Bug = Connector.ConnectBug()
|
||||||
Bug.authentication = os.path.expanduser("~/.lpcookie")
|
Bug.authentication = os.path.expanduser("~/.lpcookie")
|
||||||
|
|
||||||
# try:
|
try:
|
||||||
bug = Bug.New(product={"name": config["sourcepackage"], "target": "ubuntu"},
|
summary = config["subject"].replace("$pack", pack)
|
||||||
summary=config["subject"],
|
description = config["text"].replace("$pack", pack)
|
||||||
description=config["text"])
|
|
||||||
print "Successfully filed bug %s: http://launchpad.net/bugs/%s" % \
|
bug = Bug.New(product={"name": config["sourcepackage"],
|
||||||
(bug.bugnumber, bug.bugnumber)
|
"target": "ubuntu"},
|
||||||
for sub in config["subscribers"].split(","):
|
summary=summary,
|
||||||
if sub.strip("\n").strip():
|
description=description)
|
||||||
bug.subscribers.add(sub.strip("\n").strip())
|
print "Successfully filed bug %s: http://launchpad.net/bugs/%s" % \
|
||||||
for tag in config["tags"].split(","):
|
(bug.bugnumber, bug.bugnumber)
|
||||||
if tag.strip("\n").strip():
|
for sub in config["subscribers"].split(","):
|
||||||
bug.tags.append(tag.strip("\n").strip())
|
if sub.strip("\n").strip():
|
||||||
bug.assignee = config["assignee"]
|
bug.subscribers.add(sub.strip("\n").strip())
|
||||||
bug.commit()
|
for tag in config["tags"].split(","):
|
||||||
# except:
|
if tag.strip("\n").strip():
|
||||||
# "Bug for '%s' was not filed." % config["sourcepackage"]
|
bug.tags.append(tag.strip("\n").strip())
|
||||||
|
bug.assignee = config["assignee"]
|
||||||
|
bug.commit()
|
||||||
|
except:
|
||||||
|
"Bug for '%s' was not filed." % config["sourcepackage"]
|
||||||
|
|
||||||
def read_buglist(url):
|
def read_buglist(url):
|
||||||
BugList = Connector.ConnectBugList()
|
BugList = Connector.ConnectBugList()
|
||||||
@ -111,10 +115,7 @@ def main():
|
|||||||
|
|
||||||
for pack in pack_list:
|
for pack in pack_list:
|
||||||
if pack not in buglist:
|
if pack not in buglist:
|
||||||
config["text"] = config["text"].replace("$pack", pack)
|
|
||||||
config["subject"] = config["subject"].replace("$pack", pack)
|
|
||||||
config["sourcepackage"] = pack
|
config["sourcepackage"] = pack
|
||||||
|
|
||||||
file_bug(config)
|
file_bug(config)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user