Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* tools/dist/release-lines.yaml: Update supported release list for release.py.

1.14 is our new supported release, and 1.10 is also still supported.

The 1.13 and 1.9 release lines both drop out of support.

Fix an TypeError exception in 'release.py create-tag'.

Regular expression matching failed due to lack of an explicit encoding

for files modified during the post-release housekeeping step.

The exception was observed with Python 3.7.7 and looked as follows:

INFO:root:Bumping version numbers on the branch

Traceback (most recent call last):

File "/home/stsp/svn/svn-trunk/tools/dist/release.py", line 1916, in <module>

main()

File "/home/stsp/svn/svn-trunk/tools/dist/release.py", line 1912, in main

args.func(args)

File "/home/stsp/svn/svn-trunk/tools/dist/release.py", line 1134, in create_tag_and_bump_versions

bump_versions_on_branch(args)

File "/home/stsp/svn/svn-trunk/tools/dist/release.py", line 1108, in bump_versions_on_branch

str(args.version.patch), str(new_version.patch))

File "/home/stsp/svn/svn-trunk/tools/dist/release.py", line 1078, in replace_in_place

replacement = re.sub(pattern, repl, line)

File "/usr/local/lib/python3.7/re.py", line 192, in sub

return _compile(pattern, flags).sub(repl, string, count)

TypeError: cannot use a string pattern on a bytes-like object

* tools/dist/release.py

(bump_versions_on_branch): Create temporary file handles with an explicit

encoding argument (assume UTF-8).

Fix various typos detected by codespell.

* tools/buildbot/slaves/README, tools/buildbot/slaves/svn-x64-macosx/setenv.sh,

tools/dev/build-svn-deps-win.pl, tools/dev/find-control-statements.py,

tools/dev/mergegraph/mergegraph.py, tools/dev/stress.pl,

tools/dev/x509-parser.c, tools/dist/backport.pl, tools/dist/dist.sh,

tools/dist/release.py, tools/examples/get-location-segments.py:

(): Spelling fixes

  1. … 8 more files in changeset.
* tools/dist/release.py: Correct & clarify error message reference to --branch option.
* everywhere: Run tools/dev/remove-trailing-whitespace.sh to remove

trailing whitespace before we branch 1.14.

  1. … 99 more files in changeset.
* tools/dist/release-lines.yaml: Declare build deps for 1.14 (same as 1.13)

* tools/dist/backport.pl: Continue chasing the experimental nature of 'given'

and 'when', through perl5300delta.

* tools/dist/release.py: Use yaml.safe_load.

Suggested by: danielsh

Move release-lines metadata out of 'release.py' into a separate YAML file.

* tools/dist/release-lines.yaml

New.

* tools/dist/release.py

(tool_versions,

recommended_release,

supported_release_lines,

lts_release_lines): Read from 'release-lines.yaml'.

* tools/dist/release.py (recommended_release): Remove TODO: didn't make sense.
Release notes templates: Stop claiming the book will be updated.
* tools/dist/templates/release-notes.ezt

(#non-lts-release): Trim unnecessary old notes, as in r1869167. Link

to existing info.

Let 'release.py write-release-notes' update the release notes index and

distinguish between LTS and non-LTS release notes.

* tools/dist/release.py

(lts_release_lines, is_lts): New.

(write_release_notes): Choose LTS or non-LTS template. Add an index entry.

(main): Document it.

* tools/dist/templates/release-notes-lts.ezt

New file.

release.py: remove 1.12 from supported release lines.
release.py: revert changing interpreter to 'python3' from r1869158.
release.py: some Python 3 fixes.
* tools/dist/release.py

(write_news): Remove scalpel left behind in r1869134.

release.py: Automatically add to dist/ a current KEYS file with each release.

In particular, this means versioned KEYS files will be archived to

archive.a.o/dist/, and will continue to contain keys after those have

been removed from a committer's id.a.o profile.

* tools/dist/release.py

(download_file): Make checksum verification opt-outable.

(roll_tarballs): Download the KEYS file to the target directory.

Rely on TLS for authenticity and integrity of the downloaded

file (as we already do for authenticity and integrity of the subsequent

commit operation).

* tools/dist/templates/download.ezt,

* tools/dist/templates/rc-release-ann.ezt,

* tools/dist/templates/stable-release-ann.ezt:

Link to the per-release KEYS file.

* tools/dist/release.py

(write_news): Validate the argument to the --news-release-date option.

Follow-up to r1869118.

In 'release.py write-news': Add '--news-release-date' option.
* tools/dist/nominate.pl

(nominate_main, nominate_usage): Add syntactic sugar CLI for recent revisions.

* tools/dist/release.py

(update_backport_bot): Update instructions for this manual step.

* tools/dist/release.py

(create_status_file_on_branch): Move the template from here...

* tools/dist/templates/STATUS.ezt

... to this new file.

* tools/dist/templates/release-notes.ezt: Add 'work in progress' warning.
* tools/dist/templates/release-notes.ezt: Fix comment-in-comment syntax.
* tools/dist/release.py: Add a new subcommand 'write-release-notes'.

* tools/dist/templates/release-notes.ezt: New template.

* tools/dist/release.py: Make '--target' a global option.
* tools/dist/release.py

(is_recommended,

get_download_anchor): Move out of Version class.

* tools/dist/release.py: Fix broken 'roll' command, following r1867134.
* tools/dist/release.py (recommended_release): Update to 1.13

in preparation for rolling the 1.13 release.