would it be helpful to have a "like pull-lp-source" mode?

Bug #2009117 reported by Christian Ehrhardt 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
New
Undecided
Unassigned

Bug Description

Hi,
this isn't a hard request, but I was thinking about the few cases left that I'm not yet using git-ubuntu for. One is if I want to locally recreate autopktest which makes me need the dsc file.

$ pull-lp-source edk2
$ sudo ~/work/autopkgtest/autopkgtest/runner/autopkgtest --no-built-binaries --apt-pocket=proposed=src:qemu --apt-upgrade --shell-fail edk2_2022.11-5.dsc -- qemu --ram-size=1536 --cpus 1 ~/work/autopkgtest-lunar-amd64.img

I know I could generate that from the git repo
But that would be more stages:

$ git ubuntu clone edk2
$ cd edk2
$ git ubuntu export-orig
$ dpkg-buildpackage -S -nc -I -i -d
$ sudo ~/work/autopkgtest/autopkgtest/runner/autopkgtest --no-built-binaries --apt-pocket=proposed=src:qemu --apt-upgrade --shell-fail edk2_2022.11-5.dsc -- qemu --ram-size=1536 --cpus 1 ~/work/autopkgtest-lunar-amd64.img

And not 100% the same (other signature for example)

So I wondered if you'd consider it easy to add a --like.. mode.
That could be combined with my request for shallow-clones of just one release for speed.
And directly deliver what people are used to - tarball + dsc + tree with applied patches.

If we have it, deliver the original dsc
If we do not have it, we could directly create an unsigned (no prompt) one.
Well, those are details to be discussed.

Having that might help with even better adoption by more devs as it would be a drop in replacement for their workflows.

Tags: workflow
Robie Basak (racb)
tags: added: workflow
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.