provide a subcommand to convert a git sha to ubuntu patch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Hi,
I know these are clearly feature requests, but I tried to outline my usual manual steps in bugs to provide us a chance to make usd even better.
Another thing I often to after adding an upstream repo (see bug 1673710) is converting a sha of the upstream git into a dquilt patch.
That is mostly useful for SRU work but can also be handy on merges if you want Debian plus a bit from upstream.
I happened to realize I do too often things like:
git show ABC > /tmp/foo.patch
dquilt push -a
dquilt import -P ubuntu/
dquilt push
# resolve issues if needed
dquilt pop -a
git add debian/
git commit -s -m "similar to patch subject plus LP ref (LP: #12345)"
Then I go for the changelog, but even that could partially be created by the patch content and knowing the patch filename - maybe one could specify a LP number as well.
Surely can be done in other ways (e.g. use format-patch for the names)
Everything that people type often might be worth to automate, and this is one.
If I missed a git tool that mostly does that for me please let me know.
Otherwise I'd think a "usd sha-to-dquilt hash LP12345" command might be handy for more than just me.
Changed in usd-importer: | |
status: | New → Incomplete |
Changed in usd-importer: | |
importance: | Undecided → Wishlist |
milestone: | none → future |
status: | New → Triaged |
status: | Triaged → Confirmed |
tags: | added: workflow |
What is 'dquilt'?