build: add --fetch-only option

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

Bug Description

It should be possible to do:

git ubuntu clone <srcpkg>
cd <srcpkg>
... make upstream change ...
dpkg-source --commit

But the last step fails because the orig tarball doesn't exist yet. While our internal changelogify logic in the newest branch can generate this for us, the above should also be nicely wrapped.

In that branch, we added a fetch_orig() standalone helper function for use by changelogify, let's just add a helper for that.

Perhaps it should be top-level? (e.g. git ubuntu export-orig) ?

Nish Aravamudan (nacc)
Changed in usd-importer:
importance: Undecided → Wishlist
Nish Aravamudan (nacc)
Changed in usd-importer:
status: New → In Progress
assignee: nobody → Nish Aravamudan (nacc)
milestone: none → 1.0
Nish Aravamudan (nacc)
Changed in usd-importer:
status: In Progress → 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.