build-source doesn't accept a treeish

Bug #1706979 reported by Robie Basak on 2017-07-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
usd-importer
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.

Related branches

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
>

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.

Nish Aravamudan (nacc) wrote :

Ah sorry, I misunderstood.

Changed in usd-importer:
status: New → Confirmed
Nish Aravamudan (nacc) on 2017-08-02
Changed in usd-importer:
milestone: none → future
Nish Aravamudan (nacc) on 2017-10-11
Changed in usd-importer:
status: Confirmed → In Progress
assignee: nobody → Nish Aravamudan (nacc)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers