X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=README.txt;h=f6a30a84c018efa957d0327f7c552b2c1555354b;hb=8aaed3cbab7b287effd697f2cca96d6d2816445a;hp=55e9b230efeb9cff97dee295ecae18cdcb22c505;hpb=39ed1f3cb13e4cd39baaf9241060d40f49c2f717;p=debian%2Fdebian-policy.git diff --git a/README.txt b/README.txt index 55e9b23..f6a30a8 100644 --- a/README.txt +++ b/README.txt @@ -1,8 +1,8 @@ Debian Policy ============= -Author: Manoj Srivastava And Russ Allbery -Date: 2009-09-15 15:48:35 CDT +Author: Manoj Srivastava And Russ Allbery +Date: 2010-06-04 09:42:57 PDT Infrastructure @@ -32,6 +32,7 @@ Once the wording for a change has been finalized, please send a patch against the current Git master branch to the bug report, if you're not familiar with Git, the following commands are the basic process: + git clone git://git.debian.org/git/dbnpolicy/policy.git git checkout -b @@ -44,14 +45,18 @@ familiar with Git, the following commands are the basic process: git checkout master git pull - # If there are changes in master that make the branch not apply cleanly: - git checkout -b temp master; git merge - # If error, reset temp, merge master into local; else skip these three lines - git reset --hard HEAD; - git checkout ; + git checkout master + git merge --no-commit + git reset --hard HEAD; + git checkout ; + + # If there are changes in master that make the branch not apply cleanly, there + # should have been en error during the merge step above. If there was an + # error, merge the master branch into the local branch, fix the conflicts, and + # commit the new version of the local branch. git merge master - # get rid of the temp branch: - git branch -D temp + # Edit files to remove conflict + git commit -s # Checkout the local branch, to create the patch to send to the policy git checkout @@ -62,7 +67,6 @@ familiar with Git, the following commands are the basic process: --to debian-policy@lists.debian.org \ $dir/ - is some convenient name designating your local changes. You may want to use some common prefix like local-. You can use git format-patch and git send-email if you want, but usually it's @@ -223,6 +227,7 @@ proposed wording, is: + Delete the now-merged branch. The Git commands used for this workflow are: + git checkout -b bug12345-rra master # edit files # git add files @@ -232,12 +237,20 @@ The Git commands used for this workflow are: # update your local master branch git checkout master git pull - # If there are changes in master that make the branch not apply cleanly: - git checkout -b temp master; git merge bug12345-rra - # If error; + + git checkout master + git merge --no-commit bug12345-rra git reset --hard HEAD; - git checkout bug12345-rra; git branch -D temp - git merge master + + # If there are changes in master that make the branch not apply cleanly, there + # should have been en error during the merge step above. If there was an + # error, merge the master branch into the local branch, fix the conflicts, and + # commit the new version of the local branch. + git checkout bug12345-rra + git merge master + # Edit files to remove conflict + git commit -s + git checkout master git merge bug12345-rra # edit debian/changelog and upgrading-checklist.html @@ -247,16 +260,16 @@ The Git commands used for this workflow are: git branch -d bug12345-rra git push origin :bug12345-rra - For the debian/changelog entry, use the following format: + * : Wording: Seconded: Seconded: Closes: - For example: + * Policy: better document version ranking and empty Debian revisions Wording: Russ Allbery Seconded: Raphaël Hertzog @@ -264,7 +277,6 @@ For example: Seconded: Guillem Jover Closes: #186700, #458910 - Updating branches ================== @@ -272,6 +284,7 @@ After commits to master have been pushed, either by you or by another Policy team member, you will generally want to update your working bug branches. The equivalent of the following commands should do that: + for i in `git show-ref --heads | awk '{print $2}'`; do j=$(basename $i) if [ "$j" != "master" ]; then @@ -280,7 +293,6 @@ branches. The equivalent of the following commands should do that: done git push --all origin - assuming that you haven't packed the refs in your repository. Making a release @@ -295,11 +307,11 @@ that it builds and installs. Then, tag the repository and push the final changes to Alioth: + git tag -s v3.8.0.0 git push origin git push --tags origin - replacing the version number with the version of the release, of course. Finally, announce the new Policy release on debian-devel-announce,