~ubuntu-branches/debian/sid/ubuntu-dev-tools/sid

« back to all changes in this revision

Viewing changes to submittodebian

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung, Colin Watson, Jelmer Vernooij, Stefano Rivera, Julian Taylor, Benjamin Drung
  • Date: 2011-09-06 14:31:31 UTC
  • Revision ID: package-import@ubuntu.com-20110906143131-pukbbowpabmw4w42
Tags: 0.129
[ Colin Watson ]
* syncpackage: Convert to new LP API, with --no-lp available for the old
  style of operation.
* syncpackage: Require -f/--force option to overwrite Ubuntu changes.

[ Jelmer Vernooij ]
* Remove several tools not specific to Ubuntu that have been migrated to
  lptools (LP: #708886):
 - get-branches (renamed to lp-get-branches)
 - grab-attachments (renamed to lp-grab-attachments)
 - lp-project-upload
 - lp-list-bugs
 - lp-set-dup
 - lp-shell

[ Stefano Rivera ]
* syncpackage: Show changes to be synced when performing native syncs.
* syncpackage: Check the sync blacklist.
* syncpackage: Support --bug (extra bugs to be closed by the sync) with
  native syncs. (Bugs are closed one individually, via the API, post-sync)
* dgetlp, submittodebian, 404main: Use unicode strings for literal strings
  containing non-ASCII characters (LP: #836661)
* Recommend pbuilder | aptitude for get-build-deps, and exit with an error
  if neither are installed (LP: #799368)
* get-build-deps: Tell aptitude not to follow Recommends (LP: #817500)
* doc/requestsync.1: Document the -C option (LP: #833408)
* ubuntutools.archive: Don't write .dsc files until we pull the entire
  source package, just hold it in memory. Avoids littering the current
  directory (LP: #838361)
* Run harvest as part of sponsor-patch (LP: #833699)

[ Julian Taylor ]
* requestsync: omit dups when checking for duplicate requests (LP: #842217)

[ Benjamin Drung ]
* sponsor-patch: Default to not upload the package.
* requestsync: Do not crash on user abort (Closes: #637168).

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
try:
36
36
    from debian.changelog import Changelog
37
37
except ImportError:
38
 
    print ('This utility requires modules from the «python-debian» package, '
39
 
           'which isn\'t currently installed.')
 
38
    print (u"This utility requires modules from the «python-debian» package, "
 
39
           u"which isn't currently installed.")
40
40
    sys.exit(1)
41
41
 
42
42
if not os.path.exists('/usr/bin/reportbug'):
43
 
    print ('This utility requires the «reportbug» package, which isn\'t '
44
 
           'currently installed.')
 
43
    print (u"This utility requires the «reportbug» package, which isn't "
 
44
           u"currently installed.")
45
45
    sys.exit(1)
46
46
 
47
47
def get_most_recent_debian_version(changelog):
104
104
    else:
105
105
        if not critical:
106
106
            return False
107
 
        print "Couldn't find «%s».\n" % fname
 
107
        print u"Couldn't find «%s».\n" % fname
108
108
        sys.exit(1)
109
109
 
110
110
def edit_debdiff(debdiff):