softwarefactory-project / rdopkg

power to the packagers
Apache License 2.0
28 stars 21 forks source link

RFE: rdopkg recreate-patches-branch #117

Open yazug opened 7 years ago

yazug commented 7 years ago

as a package wrangler for a good number of packages it would be nice to have a feature in rdopkg to take the .spec/upstream repo/ dist-git patches and create a local -patches branch to reflect it if possible

manual workflow I've used in past git add remote upstream grep Version .spec ==> find tag/branch/commit in upstream repo git branch <-patches> <tag/sha1/branch> mkdir patch-set cp .patch patch-set grep "^Patch" .spec > patch-set/patch_order git checkout -patches git am patch-set/.patches