2020-04-03 14:06:27 +02:00
|
|
|
# Release Series Lifecycle
|
|
|
|
|
|
|
|
|
|
|
|
## End Of Life On An Old Release Series
|
2018-11-15 03:06:29 +01:00
|
|
|
|
|
|
|
Here are the steps that the maintainer should take when an old Tor release
|
2020-04-03 14:06:27 +02:00
|
|
|
series reaches End of Life.
|
|
|
|
|
|
|
|
Note that they are _only_ for an entire series that has reached its planned
|
|
|
|
EOL: they do not apply to security-related deprecations of individual
|
|
|
|
patch versions.
|
2018-11-15 03:06:29 +01:00
|
|
|
|
2020-04-03 14:02:11 +02:00
|
|
|
|
2020-03-23 14:27:16 +01:00
|
|
|
### 1. Preliminaries
|
2018-11-15 03:06:29 +01:00
|
|
|
|
2020-03-23 14:27:16 +01:00
|
|
|
1. A few months before End of Life:
|
2018-11-15 03:06:29 +01:00
|
|
|
Write a deprecation announcement.
|
|
|
|
Send the announcement out with every new release announcement.
|
|
|
|
|
2020-03-23 14:27:16 +01:00
|
|
|
2. A month before End of Life:
|
2018-11-15 03:06:29 +01:00
|
|
|
Send the announcement to tor-announce, tor-talk, tor-relays, and the
|
|
|
|
packagers.
|
|
|
|
|
2020-04-03 14:02:11 +02:00
|
|
|
|
2020-04-03 14:06:27 +02:00
|
|
|
### 2. On The Day
|
2018-11-15 03:06:29 +01:00
|
|
|
|
|
|
|
1. Open tickets to remove the release from:
|
|
|
|
- the jenkins builds
|
|
|
|
- tor's Travis CI cron jobs
|
2020-03-23 14:27:16 +01:00
|
|
|
- chutney's Travis CI tests
|
|
|
|
- sbws' Travis CI tests
|
|
|
|
- stem's Travis CI tests (but see
|
|
|
|
https://github.com/torproject/stem/issues/51)
|
|
|
|
- tor's scripts/git/gist-list-tor-branches.sh script
|
2018-11-15 03:06:29 +01:00
|
|
|
|
|
|
|
2. Close the milestone in Trac. To do this, go to Trac, log in,
|
|
|
|
select "Admin" near the top of the screen, then select "Milestones" from
|
|
|
|
the menu on the left. Click on the milestone for this version, and
|
|
|
|
select the "Completed" checkbox. By convention, we select the date as
|
|
|
|
the End of Life date.
|
|
|
|
|
|
|
|
3. Replace NNN-backport with NNN-unreached-backport in all open trac tickets.
|
|
|
|
|
|
|
|
4. If there are any remaining tickets in the milestone:
|
|
|
|
- merge_ready tickets are for backports:
|
|
|
|
- if there are no supported releases for the backport, close the ticket
|
|
|
|
- if there is an earlier (LTS) release for the backport, move the ticket
|
|
|
|
to that release
|
|
|
|
- other tickets should be closed (if we won't fix them) or moved to a
|
|
|
|
supported release (if we will fix them)
|
|
|
|
|
2019-05-30 15:05:35 +02:00
|
|
|
5. Mail the end of life announcement to tor-announce, the packagers list,
|
2018-11-15 03:06:29 +01:00
|
|
|
and tor-relays. The current list of packagers is in ReleasingTor.md.
|
2019-05-30 15:05:35 +02:00
|
|
|
|
2019-05-30 15:07:45 +02:00
|
|
|
6. Ask at least two of weasel/arma/Sebastian to remove the old version
|
|
|
|
number from their approved versions list.
|
|
|
|
|
|
|
|
7. Update the CoreTorReleases wiki page.
|
2020-02-14 14:47:17 +01:00
|
|
|
|
2020-03-23 14:27:16 +01:00
|
|
|
8. Open a ticket (if there is not one already) for authorities to
|
2020-02-14 14:47:17 +01:00
|
|
|
start rejecting relays that are running that release series.
|
|
|
|
This ticket should be targeted for at least a month or two
|
|
|
|
after the series is officially EOL, unless there is an important
|
|
|
|
reason to un-list relays early.
|
|
|
|
|
2020-03-23 14:27:16 +01:00
|
|
|
9. (LTS end-of-life only) Open a ticket (if appropriate) for updates to the
|
|
|
|
set of required and recommended subprotocol versions. (For the process
|
|
|
|
here, see proposal 303.)
|
2020-02-14 14:47:17 +01:00
|
|
|
|
2020-03-23 14:27:16 +01:00
|
|
|
10. (LTS end-of-life only) Open a ticket to remove no-longer-needed
|
|
|
|
consensus methods. (For the process here, see proposal 290.)
|
|
|
|
|
|
|
|
11. (All EOL) Open a ticket to grep for obsolete series names (e.g., "0.2.9"
|
|
|
|
and "029") in tor, chutney, sbws, fallback-scripts, and so on. These
|
|
|
|
should be updated or removed.
|
|
|
|
|
|
|
|
12. Finally, make sure this document is up to date with our latest
|
|
|
|
process.
|
|
|
|
|
2020-04-03 14:06:27 +02:00
|
|
|
## Starting A New Release Series
|
|
|
|
|
|
|
|
Here are the steps that the maintainer should take to start new maint and
|
|
|
|
release branches for a stable release.
|
2020-03-23 14:27:16 +01:00
|
|
|
|
2020-04-03 14:06:27 +02:00
|
|
|
Note that they are _only_ for an entire series, when it first becomes stable:
|
|
|
|
they do not apply to security-related patch release versions.
|
2020-02-14 14:47:17 +01:00
|
|
|
|
|
|
|
(Ideally, do this immediately after a release.)
|
|
|
|
|
2021-05-25 13:33:58 +02:00
|
|
|
1. Start a new maint-x.y.z branch based on main, and a new
|
|
|
|
release-x.y.z branch based on main. They should have the same
|
2020-02-14 14:47:17 +01:00
|
|
|
starting point.
|
|
|
|
|
2021-05-25 13:33:58 +02:00
|
|
|
Push both of these branches to the canonical git repository.
|
2020-02-14 14:47:17 +01:00
|
|
|
|
2021-05-25 13:33:58 +02:00
|
|
|
2. In the main branch, change the version to "0.x.y.0-alpha-dev". Run the
|
2020-02-14 14:47:17 +01:00
|
|
|
update_versions.py script, and commit this version bump.
|
|
|
|
|
|
|
|
3. Tag the version bump with "tor-0.x.y.0-alpha-dev". Push the tag
|
2021-05-25 13:33:58 +02:00
|
|
|
and main branch.
|
2020-02-14 14:47:17 +01:00
|
|
|
|
|
|
|
4. Open tickets for connecting the new branches to various other
|
2020-03-23 14:27:16 +01:00
|
|
|
places. See section 2 above for a list of affected locations.
|
2020-02-14 14:47:17 +01:00
|
|
|
|
2020-11-11 12:38:19 +01:00
|
|
|
5. Stop running practracker on maintenance and release branches:
|
2020-04-03 14:10:01 +02:00
|
|
|
* Remove "check-best-practices" from the check-local Makefile
|
|
|
|
target in the maint-x.y.z branch only.
|
|
|
|
* Delete the file scripts/maint/practracker/.enable_practracker_in_hooks
|
|
|
|
in the maint-x.y.z branch only.
|
2021-05-25 13:33:58 +02:00
|
|
|
* Merge to release-x.y.z, but do not forward-port to the main branch.
|
2020-02-14 14:47:17 +01:00
|
|
|
|
|
|
|
6. Finally, make sure this document is up to date with our latest
|
|
|
|
process.
|