From d25eb2961087641330fe896effced4170ba13725 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 19 Dec 2021 16:53:37 -0500 Subject: [PATCH] Update maintainer notes for doc changes --- README-maintainer | 34 ++++++++++++++++++++++++---------- TODO | 5 +++-- 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/README-maintainer b/README-maintainer index f161df46..dfa224ab 100644 --- a/README-maintainer +++ b/README-maintainer @@ -305,6 +305,15 @@ git rev-parse qpdf/main @ git tag -s release-qpdf-$version @ -m"qpdf $version" git push qpdf release-qpdf-$version +* Update documentation branches + +git push qpdf @:$(echo $version | sed -E 's/\.[^\.]+$//') +git push qpdf @:stable + +* If this is an x.y.0 release, visit + https://readthedocs.org/projects/qpdf/versions/ (log in with + github), and activate the latest major/minor version + * Create a github release after pushing the tag. `gcurl` is an alias that includes the auth token. @@ -332,7 +341,7 @@ Template for release notes: ``` This is qpdf version x.y.z. (Brief description) -For a full list of changes from previous releases, please see the [release notes](https://qpdf.sourceforge.io/doc/html/release-notes.html). See also [README-what-to-download](./README-what-to-download.md) for details about the available source and binary distributions. +For a full list of changes from previous releases, please see the [release notes](https://qpdf.readthedocs.io/en/stable/release-notes.html). See also [README-what-to-download](./README-what-to-download.md) for details about the available source and binary distributions. ``` # Publish release @@ -347,14 +356,6 @@ rsync -vrlcO ./ jay_berkenbilt,qpdf@frs.sourceforge.net:/home/frs/project/q/qp/q * Publish a news item manually on sourceforge. -* Update the web page to indicate the new version and to put the new - documentation in the `files` subdirectory of the website on - sourceforge.net. - -(cd /tmp; mkdir -p z; cd z; \ - tar xf ~/Q/storage/releases/qpdf/qpdf/$version/qpdf-$version.tar.gz qpdf-$version/doc; \ - rsync -avx --delete --force --exclude '*.1' qpdf-$version/doc/ jay_berkenbilt,qpdf@frs.sourceforge.net:htdocs/doc/) - * Upload the debian package and Ubuntu ppa backports. * Email the qpdf-announce list. @@ -419,9 +420,22 @@ DOCS ON readthedocs.org * Docs: https://qpdf.readthedocs.io/ * Admin -> Settings * Set project home page - * Advanced: Show version warning + * Advanced + * Show version warning + * Default version: stable * Email Notifications: set email address for build failures At this time, there is nothing in .github/workflows to support this. It's all set up as an integration directly between github and readthedocs. + +The way readthedocs.org does stable and versions doesn't exactly work +for qpdf. My tagging convention is different from what they expect, +and I don't need versions for every point release. I have the +following branching strategy to support docs: + +* x.y -- points to the latest x.y.z release +* stable -- points to the latest release + +The release process includes updating the approach branches and +activating versions. diff --git a/TODO b/TODO index d547e79e..644a33e6 100644 --- a/TODO +++ b/TODO @@ -1,8 +1,9 @@ Next ==== -* At the time of the release, update the webpage to point to - readthedocs if that's what we decide to do. +* At the time of the release, update the webpage and make sure it's + stable. Check the old release notes link: + http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes * High-level API/doc overhaul: #593