build-source doesn't accept a treeish

Bug #1706979 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
Fix Released
Wishlist
Nish Aravamudan

Bug Description

git ubuntu build-source <treeish>

Expected: it'll from build that one, rather than HEAD.
Actual: various errors as it passes it on to dpkg-buildpackage. Nice warning though :)

This would be useful for SRUs, when I have prepared three branches and am ready to go, so I want three source packages.

Revision history for this message
Nish Aravamudan (nacc) wrote : Re: [Bug 1706979] [NEW] build-source doesn't accept a treeish

Can you provide steps for reproducing this? I guess I'd need to recreate
your treeish locally? Or make a dummy commit, push it somewhere, and then I
can use it's treeish.

On Jul 27, 2017 07:11, "Robie Basak" <email address hidden> wrote:

> Public bug reported:
>
> git ubuntu build-source <treeish>
>
> Expected: it'll from build that one, rather than HEAD.
> Actual: various errors as it passes it on to dpkg-buildpackage. Nice
> warning though :)
>
> This would be useful for SRUs, when I have prepared three branches and
> am ready to go, so I want three source packages.
>
> ** Affects: usd-importer
> Importance: Wishlist
> Status: New
>
> --
> You received this bug notification because you are a member of Ubuntu
> Server Dev import team, which is subscribed to usd-importer.
> https://bugs.launchpad.net/bugs/1706979
>
> Title:
> build-source doesn't accept a treeish
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/usd-importer/+bug/1706979/+subscriptions
>

Revision history for this message
Robie Basak (racb) wrote :

This isn't a bug, it's a feature request.

build-source doesn't currently take a treeish argument. So to reproduce:

git ubuntu clone something
cd something
add a changelog entry and commit it
git checkout pkg/ubuntu/trusty-devel # (say)
git ubuntu build-source ubuntu/devel

This fails because build-source doesn't understand ubuntu/devel and passes it to dpkg-buildpackage, but even if it didn't, it would build the source for pkg/ubuntu/trusty-devel instead of ubuntu/devel.

Revision history for this message
Nish Aravamudan (nacc) wrote :

Ah sorry, I misunderstood.

Changed in usd-importer:
status: New → Confirmed
Nish Aravamudan (nacc)
Changed in usd-importer:
milestone: none → future
Nish Aravamudan (nacc)
Changed in usd-importer:
status: Confirmed → In Progress
assignee: nobody → Nish Aravamudan (nacc)
Nish Aravamudan (nacc)
Changed in usd-importer:
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
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.