release.py

Checkout Tools
  • last updated 38 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* 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.

  1. … 1 more file in changeset.
* tools/dist/release.py: Add a new subcommand 'write-release-notes'.

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

  1. … 1 more file in changeset.
* 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.

* tools/dist/release.py (tool_versions): Deduplicate the data.
Merge tools/dist/create-minor-release-branch.py into release.py.
  1. … 1 more file in changeset.
* tools/dist/release.py: Make repository URLs configurable externally,

useful for testing, removing the scalpel left in r1867572.

Preparation for merging create-minor-release-branch.py into release.py.
  1. … 1 more file in changeset.
* tools/dist/release.py: Revert accidental part of r1867134.
* tools/dist/release.py: Consistently handle running 'svn' and other

external commands, especially w.r.t. '--verbose' and '--username'.

* tools/dist/release.py: Move '--username' to be a global option.

This also fixes a case where a username could not be specified for one of

the commit operations.

* tools/dist/release.py (main): Move '--branch' to be a global option.
* tools/dist/release.py: Remove obsolete distinction between http and https access.
* tools/dist/release.py

(get_branch_path): New, factored out from several callers.

* tools/dist/release.py

Use a global constant for archive URL so all ASF URLs are thus defined near the top of file.

* tools/dist/release.py: Add tool versions for 1.13 (same as 1.10 ... 1.12).
Fix 'release.py sign-candidates' for future versions >= 2.0.

* tools/dist/release.py

(sign_candidates): Fix the version number comparison.

Fix release.py check-sigs/write-downloads: 1.9.1 matched also 1.9.10, etc.

* tools/dist/release.py

(get_fileinfo): Tighten the version-match glob expression.

(check_sigs): Use get_fileinfo() instead of its own glob expression.

* tools/dist/release.py: Update release numbers.
* tools/dist/release.py: Add tool versions for 1.12.
release.py: Avoid undefined behaviour.

In Python, «'\x'», where \x isn't a defined escape sequence, is an expression

whose meaning may change in the future as new sequences are added.

* tools/dist/release.py

(write_changelog): Use «r''» string literals to avoid undefined escape sequences

in «''» string literals.

[c:skip]

* tools/dist/release.py

(write_changelog): Fix typo in comment.

* tools/dist/release.py

(write_changelog): Delete an out-of-date comment. It was up-to-date only

while r1842930 was being written, but was out-of-date in the committed

form of r1842930.

Follow-up to r1842930:

* tools/dist/release.py

(write_changelog): Don't truncate the logsummary.

'release.py write-changelog': For merge commits such as svn-role's, use the

summary of the nomination, rather than the first line of the log message.

* tools/dist/release.py

(backport.status): Import

(write_changelog): Use release.py if the log message is unlabeled and looks

like an auto-merge.

* tools/dist/release.py: Document r1841085.