Auto supply -v<last ubuntu version> for bzr bd -S?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Distributed Development |
New
|
Undecided
|
Unassigned |
Bug Description
I just uploaded a change to python-numpy which actually consisted of two changelog entries, one for the merge from Debian, and the second for the Ubuntu-specific changes we're still carrying forward. I received this feedback from an Ubuntu developer:
On 05/25/2011 10:20 PM, Barry Warsaw wrote:
> python-numpy (1:1.5.1-2ubuntu1) oneiric; urgency=low
>
> * Merge from Debian unstable, remaining changes:
> debian/
> - Disable plot_directive extension, and catch ImportErrors when
> matplotlib cannot be imported, which allows us to remove
> python-matplotlib from dependencies. This is required because
> python-numpy is in main, while python-matplotlib is in universe.
>
> Date: Wed, 25 May 2011 15:52:10 -0400
> Changed-By: Barry Warsaw<email address hidden>
> Maintainer: Ubuntu Developers<email address hidden>
> Signed-By: Barry Warsaw<email address hidden>
> https:/
>
please use -v<last ubuntu version> to build the package, so that all the changelog entries appear in the emails.
By this I think the responder is saying that dpkg-genchanges -v<last ubuntu version> should find its way down the rabbit hole from bzr bd -S. That makes sense in this case since there's an intervening non-Ubuntu changelog in between two Ubuntu changelog entries.
Of course, it would be nice if bzr bd could do this for you, so you don't have to remember to do it, and so that you can't mess it up. I *think* bzr should be able to figure out the last Ubuntu version by looking at the tags. If the last version was not an Ubuntu version, then it should be possible to automatically supply -v to dpkg-buildsource, which forwards it to dpkg-genchanges.
On Wed, 25 May 2011 21:26:00 -0000, Barry Warsaw <email address hidden> wrote:
> Of course, it would be nice if bzr bd could do this for you, so you
> don't have to remember to do it, and so that you can't mess it up. I
> *think* bzr should be able to figure out the last Ubuntu version by
> looking at the tags. If the last version was not an Ubuntu version,
> then it should be possible to automatically supply -v to dpkg-
> buildsource, which forwards it to dpkg-genchanges.
Hi,
It's not possible for bzr-builddeb to reliably detect this. Check out
the --package-merge option. Try using this when you are building the
package in the situation you describe.
Thanks,
James