summaryrefslogtreecommitdiff
path: root/README-release
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-06-17 12:58:53 +0100
committerPádraig Brady <P@draigBrady.com>2015-06-17 14:50:27 +0100
commita262318f833c0d929da4bbd1c3002f891fa9bfa1 (patch)
tree2192115eec2085fcbae1fe90802ffdefbbeb7f1e /README-release
parentaee982627874e9719bc151007b7e0144edd3963e (diff)
downloadcoreutils-a262318f833c0d929da4bbd1c3002f891fa9bfa1.tar.xz
maint: remove stale online manual items at release
* gnulib: Update to get the new gnu-web-doc-update with --mirror option. * README-release: Use the --mirror option in the instructions. Also clarify and update various release steps.
Diffstat (limited to 'README-release')
-rw-r--r--README-release32
1 files changed, 24 insertions, 8 deletions
diff --git a/README-release b/README-release
index 20fcb9e52..5da96a7a9 100644
--- a/README-release
+++ b/README-release
@@ -25,12 +25,17 @@ Here are most of the steps we (maintainers) follow when making a release.
FIXME: enable excluded programs like arch? to get their manual pages?
* Check for new file system types by running the following command on
- a system with the most recent kernel possible, or with the latest
- upstream include/uapi/linux/magic.h made available at src/fs-latest-magic.h
+ a system with the most recent kernel possible (e.g., Fedora rawhide):
make src/fs-magic-compare
- If it reports new file system magic numbers, add them to src/stat.c.
+ Or download the latest header first like:
+
+ kgit='https://git.kernel.org/cgit/linux/kernel/git'
+ wget -q $kgit/torvalds/linux.git/plain/include/uapi/linux/magic.h \
+ -O src/fs-latest-magic.h
+
+ If it finds a new file system magic number, add it to src/stat.c.
If it is a remote file system, add the new S_MAGIC_* name you created
in stat.c to the list of remote file system types in src/tail.c's
fremote function.
@@ -41,7 +46,8 @@ FIXME: enable excluded programs like arch? to get their manual pages?
one non-SELinux system:
n=$(( ($(nproc) + 1) / 2 ))
- sudo env PATH="$PATH" NON_ROOT_USERNAME=$USER make -k -j$(nproc) check-root\
+ sudo env PATH="$PATH" NON_ROOT_USERNAME=$USER \
+ make -k -j$(nproc) check-root SUBDIRS=. \
&& make distcheck \
&& make -j$n check RUN_VERY_EXPENSIVE_TESTS=yes RUN_EXPENSIVE_TESTS=yes
@@ -59,8 +65,8 @@ FIXME: enable excluded programs like arch? to get their manual pages?
make syntax-check
-* Set the date, version number, and release type [stable/alpha/beta] on
- line 3 of NEWS, commit that, and tag the release by running e.g.,
+* To set the date, version number, and release type [stable/alpha/beta] on
+ line 3 of NEWS, commit that, and tag the release; run:
build-aux/do-release-commit-and-tag X.Y stable
@@ -79,6 +85,16 @@ FIXME: enable excluded programs like arch? to get their manual pages?
soon post. Start with the template, $HOME/announce-coreutils-X.Y
that was just created by that "make" command.
+ For generating counts use:
+ oldrel=$(cat .prev-version)
+ printf "There have been %d commits by %d people %s\n" \
+ $(($(git log --oneline v$oldrel.. | wc -l) - 3)) \
+ $(git shortlog v$oldrel.. | grep "^[^ ]" | wc -l) \
+ "in the [X] weeks since $oldrel"
+
+ git shortlog v$oldrel.. | sed -n 's/:$//p' |
+ sed 's/^/ /' | column -c 70 | expand
+
Once all the builds and tests have passed,
* Run the gnupload command that was suggested by your "make stable" run above.
@@ -110,7 +126,7 @@ Once all the builds and tests have passed,
Then go here to approve it:
https://savannah.gnu.org/news/approve.php?group=coreutils
-* Send the announcement email message.
+* Send the announcement email message (signed with the release key)
* Approve the announcement here:
http://lists.gnu.org/mailman/admindb/coreutils-announce
@@ -121,4 +137,4 @@ Once all the builds and tests have passed,
by running this:
- build-aux/gnu-web-doc-update
+ build-aux/gnu-web-doc-update --mirror