2019-08-26 12:43:52 +00:00
|
|
|
2019-08-24
|
2001-04-16 12:21:41 +00:00
|
|
|
|
2003-09-24 14:00:00 +00:00
|
|
|
This text summarizes some points to pay attention to when a new release
|
2008-01-17 01:03:43 +00:00
|
|
|
of sane-backends is planned.
|
2002-09-26 21:47:20 +00:00
|
|
|
|
|
|
|
Timetable (approximate periods):
|
|
|
|
|
2003-09-24 14:00:00 +00:00
|
|
|
Day 0: Announcement of upcoming release on sane-devel including timetable
|
2019-07-30 13:40:11 +00:00
|
|
|
and pointer to the GitLab milestone
|
2004-11-07 19:40:52 +00:00
|
|
|
Day 14: Feature freeze (only bugfixes + documentation updates)
|
2017-05-27 05:27:22 +00:00
|
|
|
Day 28: Code freeze (only fixes for bugs that can destroy hardware, can cause
|
2002-09-26 21:47:20 +00:00
|
|
|
compilation problems or render a backend completely unusable, and
|
|
|
|
documentation updates are allowed)
|
2004-11-07 19:40:52 +00:00
|
|
|
Day 35: Release
|
2001-04-16 12:21:41 +00:00
|
|
|
|
|
|
|
Before the release:
|
|
|
|
|
2017-05-22 15:16:40 +00:00
|
|
|
* set :new :yes on any new backend .desc files, by looking for added files:
|
|
|
|
|
2019-07-30 13:40:11 +00:00
|
|
|
version=1.0.27
|
|
|
|
git ls-files -- backend | while read f; do
|
|
|
|
git log --follow --diff-filter=A --find-renames=40% \
|
|
|
|
--format="%ai $f" $version..HEAD -- "$f"
|
|
|
|
done | cat
|
2017-05-22 15:16:40 +00:00
|
|
|
|
|
|
|
* NEWS: update and enter date of release, etc
|
2019-07-30 13:40:11 +00:00
|
|
|
Get list of heavily change backends via: git diff --stat $version..HEAD
|
|
|
|
Get list of details from: git log $version..HEAD
|
2010-04-26 03:28:52 +00:00
|
|
|
* git commit -a
|
2019-07-30 13:40:11 +00:00
|
|
|
* git push origin master
|
2001-04-16 12:21:41 +00:00
|
|
|
|
|
|
|
Making the release:
|
|
|
|
|
2019-07-30 13:40:11 +00:00
|
|
|
* temporarily set a PRIVATE_TOKEN variable in the GitLab CI/CD
|
2019-08-01 12:13:19 +00:00
|
|
|
variables. You have to create one in your own Settings > Access
|
|
|
|
Tokens. Set it to expire the next day to avoid abuse. Better yet,
|
|
|
|
remove it from the CI/CD variables when the job is finished.
|
2019-07-30 13:40:11 +00:00
|
|
|
* git tag -a -s 1.0.28 -m Release
|
|
|
|
* git push --tags origin master
|
|
|
|
* trigger the manual 'release' stage of the build via the web UI when
|
|
|
|
this becomes possible. This requires a valid PRIVATE_TOKEN.
|
2008-02-11 02:50:55 +00:00
|
|
|
|
2019-08-01 12:13:19 +00:00
|
|
|
Updating the website and announcing the release:
|
2008-02-11 02:50:55 +00:00
|
|
|
|
2019-08-01 12:13:19 +00:00
|
|
|
* checkout the sane/website.git module and:
|
|
|
|
* copy sane-backends.html to sane-backends-"old-version".html
|
|
|
|
* update sane-supported-devices.html with link to above "old" file
|
|
|
|
* rebuild sane-backends.html and sane-mfgs.html (make -C doc html-pages)
|
2019-07-30 13:40:11 +00:00
|
|
|
* [TBD] use man2html from http://hydra.nac.uci.edu/indiv/ehood/man2html.html
|
2011-02-14 02:40:17 +00:00
|
|
|
to rebuild html man pages (make -C doc html-man) (no other version works)
|
2019-08-01 12:13:19 +00:00
|
|
|
* update announcement to index.html
|
2010-02-10 19:27:27 +00:00
|
|
|
* git commit -a && git push
|
2019-08-01 12:13:19 +00:00
|
|
|
* check that website's pipeline succeeded
|
|
|
|
* announce release on sane-announce mailing list (and Cc: sane-devel).
|
|
|
|
Ping the sane-announce list's moderator (m. allan noah) to get your
|
|
|
|
post approved ASAP.
|
2001-04-16 12:21:41 +00:00
|
|
|
|
|
|
|
After the release:
|
|
|
|
|
2019-07-30 13:40:11 +00:00
|
|
|
* remove the ':new' tag from all doc/descriptions*/*.desc files
|
|
|
|
* git add new and changed files and commit
|
|
|
|
* git push
|