diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2018-12-24 05:09:30 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2018-12-24 05:09:30 +0100 |
commit | e0798c2f1b288eebfb40e80484bfcff80457ab7a (patch) | |
tree | d9e4c09e5a01babc48d71d23b61483d0c2d0d6f0 | |
parent | 44b0a9736f79ce2f7861f1c5d613797d9e3c8561 (diff) | |
download | zsh-e0798c2f1b288eebfb40e80484bfcff80457ab7a.tar.gz zsh-e0798c2f1b288eebfb40e80484bfcff80457ab7a.zip |
Declare debian/pkg-zsh-workflow.md as outdated.
Add debian/pkg-zsh-workflow-new-upstream-release.md as massively reduced replacement.
Gbp-Dch: Full
-rw-r--r-- | debian/pkg-zsh-workflow-new-upstream-release.md | 67 | ||||
-rw-r--r-- | debian/pkg-zsh-workflow_outdated.md (renamed from debian/pkg-zsh-workflow.md) | 0 |
2 files changed, 67 insertions, 0 deletions
diff --git a/debian/pkg-zsh-workflow-new-upstream-release.md b/debian/pkg-zsh-workflow-new-upstream-release.md new file mode 100644 index 000000000..995b6dc03 --- /dev/null +++ b/debian/pkg-zsh-workflow-new-upstream-release.md @@ -0,0 +1,67 @@ +Transitioning to a New Upstream Version in a Nutshell +===================================================== + +When upstream releases a new version, we should follow these steps: + +### Merging new upstream tag (`zsh-$version`) into our upstream branch + + % git checkout upstream + % git pull origin + % git fetch zsh + % git merge --ff-only zsh-$version + +### Merging the branch upstream into the branch debian + +Merge `upstream` into `debian`: git merge upstream. + +Make the commit message something like: + + New upstream release candidate 5.6.2-test-2 + + Merge branch 'upstream' at 'zsh-5.6.2-test-2' into branch debian + +### Create a debian/changelog entry for the new upstream release + +Use `gbp dch` as a base and then remove all lines which are not +debian-specific and which do not relate to a Debian bug report. Add +Debian bug report references (`Closes: #nnnnnn`) as necessary. + +Use the tagged upstream commit and the merge commit where the upstream +release was merged into the debian branch as referred commit ids. + +Example: + + * [9dbde9e,bf8b7f7] New upstream release candidate + + [dc2bfeee] Have V07pcre fail if PCRE was enabled by configure + (config.modules) but failed to load for any reason. (Closes: #909114) + + [ Axel Beckert ] + * [abcd1234] Some debian-specific change generated by gbp dch from + the git commit message. + +Commit it as follows: + + % git add debian/changelog + % git commit -m "Update debian/changelog for new upstream release" -m "Gbp-Dch: Ignore" + +### Remove all quilt patches which are applied upstream + +All patches applied (or fixed otherwise) upstream should be removed +from `debian/patches` directory and the `debian/patches/series` file. + +Example: + + % quilt push -a + % quilt pop -a + % git rm debian/patchees/cherry* + % $EDITOR debian/patches/series + % git add debian/patches + % quilt push -a + % quilt pop -a + % git commit -m "Remove all patches applied upstream" + +### Create the fake orig tar ball (until we can work with upstream's tarball) + +This requires the upstream release to be properly tagged. + + % make -f debian/rules get-orig-source diff --git a/debian/pkg-zsh-workflow.md b/debian/pkg-zsh-workflow_outdated.md index 00b33559e..00b33559e 100644 --- a/debian/pkg-zsh-workflow.md +++ b/debian/pkg-zsh-workflow_outdated.md |