[SRU] sponsor-patch fails with relative working directory

Bug #785923 reported by Michał Zając
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Medium
Unassigned
Natty
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: ubuntu-dev-tools

Please update ubuntu-dev-tools in natty. Fixes problem with sponor-patch which would throw and assertion error if relative working directory is specified by user

TEST CASE:
sponsor-patch <bug number> --workdir ./path/to/workdir

RESULT (example):
Traceback (most recent call last):
  File "/usr/bin/sponsor-patch", line 122, in <module>
    main()
  File "/usr/bin/sponsor-patch", line 113, in main
    options.upload, workdir, options.verbose)
  File "/usr/lib/python2.7/dist-packages/ubuntutools/sponsor_patch/sponsor_patch.py", line 370, in sponsor_patch
    (new_dsc_file)
AssertionError: kamoso/kamoso_2.0-0ubuntu2.dsc does not exist.

Revision history for this message
Michał Zając (quintasan) wrote :
description: updated
Revision history for this message
Benjamin Drung (bdrung) wrote :

This bug will be fixed with the next upload (0.123).

Changed in ubuntu-dev-tools (Ubuntu):
status: New → In Progress
summary: - [SRU]ubuntu-dev-tools update
+ [SRU] sponor-patch fails with relative working directory
Changed in ubuntu-dev-tools (Ubuntu Natty):
status: New → Fix Committed
Benjamin Drung (bdrung)
Changed in ubuntu-dev-tools (Ubuntu):
status: In Progress → Fix Committed
importance: Undecided → Medium
Changed in ubuntu-dev-tools (Ubuntu Natty):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: [SRU] sponor-patch fails with relative working directory

This bug was fixed in the package ubuntu-dev-tools - 0.123

---------------
ubuntu-dev-tools (0.123) unstable; urgency=low

  [ Stefano Rivera ]
  * mk-sbuild:
    - Disable daemons with a policy-rc.d script (like pbuilder does)
    - Move package installation after option parsing.
    - Exit 0 when showing help, and support -h.
    - Determine distribution from release name (via distro-info).
    - Reformat manpage.
    - Install qemu-user-static instead of qemu-kvm-extras-static.
    - Put schroot configuration in chroot.d/sbuild-$chroot (LP: #736808)
    - Understand Debian distribution synonyms, and store the chroot under the
      code name.
    - Support Debian experimental.

  [ Daniel Holbach ]
  * bitesize, doc/bitesize.1: add script to tag a bug as bitesize and add a
    comment that you are willing to help with fixing the bug.

  [ Benjamin Drung ]
  * sponsor-patch: Fix assertion error if a relative working directory
    is specified (LP: #785923).
 -- Ubuntu Archive Auto-Sync <email address hidden> Sat, 21 May 2011 09:04:15 +0000

Changed in ubuntu-dev-tools (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted ubuntu-dev-tools into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

summary: - [SRU] sponor-patch fails with relative working directory
+ [SRU] sponsor-patch fails with relative working directory
tags: added: verification-needed
Revision history for this message
Stefano Rivera (stefanor) wrote :

Eep, this has been in -proposed for > 3 months.
Also, I just found the same bug in test-building in backportpackage in trunk.

Anyway, as to the SRU verification, it works for me.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.122.1

---------------
ubuntu-dev-tools (0.122.1) natty-proposed; urgency=low

  * sponsor-patch: Fix assertion error if a relative working directory
    is specified (LP: #785923).
 -- Benjamin Drung <email address hidden> Fri, 20 May 2011 21:19:26 +0200

Changed in ubuntu-dev-tools (Ubuntu Natty):
status: Fix Committed → Fix Released
tags: added: testcase
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.