]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Update README.source with the gbp pq procedure
authorBenjamin Kaduk <kaduk@mit.edu>
Mon, 22 Sep 2014 17:08:31 +0000 (13:08 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Mon, 22 Sep 2014 17:15:16 +0000 (13:15 -0400)
debian/README.source
debian/changelog

index 179fe1b0a38e39b3261ab8fe8b2c3e5a99925755..f69554ffdec400390ff5cbff80788cdb4a5e67d6 100644 (file)
@@ -7,9 +7,8 @@ General Maintenance
     Since we often pull up many upstream fixes from the upstream stable
     branch due to slow upstream release frequencies, we use Git to handle
     merging and patch pullups and do not attempt to export the Git
-    repository state as a patch set.  This package uses 3.0 (quilt) but
-    configures it to use a single debian patch that includes all the
-    merged changes.
+    repository state as a patch set.  This package uses 3.0 (quilt) via
+    the gbp pq subcommands.
 
     Ideally, any changes that are not strictly Debian packaging changes
     should be submitted upstream first.  Upstream uses Gerrit for patch
@@ -35,8 +34,8 @@ Importing a New Upstream Release
     Follow the following procedure to import a new upstream release:
 
     1. Update the package version in debian/changelog to match the new
-       upstream version.  If the new upstream version is a release
-       candidate, don't forget to add "~" before "rc" so that the versions
+       upstream version.  If the new upstream version is a prerelease
+       version, don't forget to add "~" before "pre" so that the versions
        will sort property.
 
     2. Double-check the TAG setting in debian/rules to be sure it's going
@@ -88,6 +87,9 @@ Pulling Upstream Changes
 
     The procedure is therefore:
 
+    0. Regenerate and switch to the patch-queue branch with
+       git branch -d patch-queue/master && gbp pq import
+
     1. Identify the hash of the commit that you want to pull up using git
        log or other information.
 
@@ -103,8 +105,11 @@ Pulling Upstream Changes
        branch will generally already have a line like this from upstream's
        cherry-pick.  This will be a second line.
 
-    3. Add a changelog entry and commit it separately.  Use the following
-       convention for changelog entries for cherry-picks:
+    3. Switch to the master branch and (re)generate patch files:
+       git checkout master && gbp pq export
+
+    4. Add a changelog entry and commit it along with the added patch files.
+       Use the following convention for changelog entries for cherry-picks:
 
            * Apply upstream deltas:
              - [<hash>] <title>
@@ -116,3 +121,4 @@ Pulling Upstream Changes
        down.
 
  -- Russ Allbery <rra@debian.org>, Sun, 20 Oct 2013 08:59:17 -0700
+ -- Benjamin Kaduk <kaduk@mit.edu>, Mon 22 Sep 2014 13:05:40 -0400
index af4d1a15440724d196c677f184088c5b00ce28e3..ffedc6de22452da4c2938db4c6a8348cbf09e06a 100644 (file)
@@ -10,6 +10,7 @@ openafs (1.6.9-2) UNRELEASED; urgency=medium
     (Closes: #762248):
     - [ea0c9d8c] Linux 3.16: Switch to iter_file_splice_write
     - [02a07404] Linux 3.16: Convert to new write_iter/read_iter ops
+  * Update README.source for the gbp pq patch-management procedure.
 
  -- Russ Allbery <rra@debian.org>  Fri, 13 Jun 2014 16:02:57 -0700