Skip to contentSkip to conversation

Simplify the RELEASING steps based on current release.sh.

PATCH In review Eric Anholt 2 participants 2 messages Jul 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Simplify the RELEASING steps based on current release.sh.

Since release.sh creates and pushes a libdrm-$VERSION tag for us, there's no need to also have the user manually generating a $VERSION tag as well.

I also dropped the "optional" part of distcheck. You shouldn't have pushed master with a version bump that hasn't passed distcheck.

---
 RELEASING | 26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)
RELEASING +6 -20
index 62c5be9fafe9..262ca08d26c4 100644
@@ -9,21 +9,14 @@ However, this is up to whoever is driving the feature in question.
 
 Follow these steps to release a new version of libdrm:
 
-  1) Ensure that there are no local, uncommitted/unpushed
-     modifications. You're probably in a good state if both "git diff
-     HEAD" and "git log master..origin/master" give no output.
-
-  2) Bump the version number in configure.ac. We seem to have settled
+  1) Bump the version number in configure.ac. We seem to have settled
      for 2.4.x as the versioning scheme for libdrm, so just bump the
      micro version.
 
-  3) Run autoconf and then re-run ./configure so the build system
+  2) Run autoconf and then re-run ./configure so the build system
      picks up the new version number.
 
-  4) (optional step, release.sh will make distcheck for you, but it can be
-      heart warming to verify that make distcheck passes)
-
-     Verify that the code passes "make distcheck".  Running "make
+  3) Verify that the code passes "make distcheck".  Running "make
      distcheck" should result in no warnings or errors and end with a
      message of the form:
 
@@ -36,20 +29,13 @@ Follow these steps to release a new version of libdrm:
      Make sure that the version number reported by distcheck and in
      the tarball names matches the number you bumped to in configure.ac.
 
-  5) Commit the configure.ac change and make an annotated tag for that
-     commit with the version number of the release as the name and a
-     message of "libdrm X.Y.Z".  For example, for the 2.4.16 release
-     the command is:
-
-	git tag -a 2.4.16 -m "libdrm 2.4.16"
-
-  6) Push the commit and tag by saying
+  4) Push the updated master branch with the bumped version number:
 
-	git push --tags origin master
+	git push origin master
 
      assuming the remote for the upstream libdrm repo is called origin.
 
-  7) Use the release.sh script from the xorg/util/modular repo to
+  5) Use the release.sh script from the xorg/util/modular repo to
      upload the tarballs to the freedesktop.org download area and
      create an announce email template.  The script takes one argument:
      the path to the libdrm checkout. So, if a checkout of modular is
Signature · 6 lines
2.8.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Eric Anholt

Since release.sh creates and pushes a libdrm-$VERSION tag for us, there's no need to also have the user manually generating a $VERSION tag as well.

I also dropped the "optional" part of distcheck. You shouldn't have pushed master with a version bump that hasn't passed distcheck.

---
 RELEASING | 26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)
RELEASING +0 -0
index 62c5be9fafe9..262ca08d26c4 100644

RELEASING However, this is up to whoever is driving the feature in question. · line 15

Quoted 7 lines
RELEASING +0 -4
@@ -9,21 +9,14 @@ However, this is up to whoever is driving the feature in question.
 
 Follow these steps to release a new version of libdrm:
 
-  1) Ensure that there are no local, uncommitted/unpushed
-     modifications. You're probably in a good state if both "git diff
-     HEAD" and "git log master..origin/master" give no output.
-

Nice. release.sh already checks this for us - no point in listing it here afaict.

RELEASING However, this is up to whoever is driving the feature in question. · line 18

Quoted 9 lines
RELEASING +2 -2
-  2) Bump the version number in configure.ac. We seem to have settled
+  1) Bump the version number in configure.ac. We seem to have settled
      for 2.4.x as the versioning scheme for libdrm, so just bump the
      micro version.
 
-  3) Run autoconf and then re-run ./configure so the build system
+  2) Run autoconf and then re-run ./configure so the build system
      picks up the new version number.
 

I have sent some patches [1] for release.sh that make this step obsolete. If you can weight-in on the topic that'll be appreciated.

[1] https://patchwork.freedesktop.org/series/9382/
Patch 9/10 in particular

RELEASING However, this is up to whoever is driving the feature in question. · line 22

Quoted 8 lines
RELEASING +1 -4
-  4) (optional step, release.sh will make distcheck for you, but it can be
-      heart warming to verify that make distcheck passes)
-
-     Verify that the code passes "make distcheck".  Running "make
+  3) Verify that the code passes "make distcheck".  Running "make
      distcheck" should result in no warnings or errors and end with a
      message of the form:
 

Note: There's still a few warnings which we should squash one of these days.

RELEASING Follow these steps to release a new version of libdrm: · line 45

Quoted 11 lines
RELEASING +0 -7
@@ -36,20 +29,13 @@ Follow these steps to release a new version of libdrm:
      Make sure that the version number reported by distcheck and in
      the tarball names matches the number you bumped to in configure.ac.
 
-  5) Commit the configure.ac change and make an annotated tag for that
-     commit with the version number of the release as the name and a
-     message of "libdrm X.Y.Z".  For example, for the 2.4.16 release
-     the command is:
-
-       git tag -a 2.4.16 -m "libdrm 2.4.16"
-

Yes please. The duplicate [but not quite] tag have always confused me.

Fwiw:

-Emil
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel