upcoming.py

Checkout Tools
  • last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 1864256 is being indexed.

site: upcoming.py: When cwd is not a stable branch working copy root, show

changes of the newest branch.

Fixes SVN-4823.

* site/tools/upcoming.py

(__doc__): Expand.

(get_reference_version__from_working_copy): Add TODO.

(get_reference_version__latest_stable_release): New.

(get_reference_version): New.

(main): Update caller.

site: upcoming.py: Continue removing uses of the cwd.

No functional change.

* site/tools/upcoming.py

(relative_url): Remove.

(get_merges_for_range): Change signature.

Stop calling relative_url(), which, incidentally, removes a fork() from

each iteration of the loop.

(main): Instead of calling relative_url(), just compute the URL directly.

* site/tools/upcoming.py

(get_reference_version__from_working_copy): New function, split from..

(copyfrom_revision_of_previous_tag_of_this_stable_branch): .. here.

(main): Update caller.

site: upcoming.py: Refactor the computation of an interim quantity (the tag

that defines the older end of the 'svn log' output to generate).

No functional change.

In preparation for SVN-4823.

* site/tools/upcoming.py

(collections): Import.

(Version, versions_on_dist_release): New.

(copyfrom_revision_of_previous_tag_of_this_stable_branch):

Refactor with the new helper.

* site/tools/upcoming.py: Fix syntax error.

Follow-up to r1864159.

Follow-up to r1864159:

* site/tools/upcoming.py

(relative_url): Add an optional parameter that will be needed when

this script learns to run without a working copy, as requested in SVN-4823.

* site/tools/upcoming.py

(get_merges_for_range): Add an optional parameter that will be needed when

this script learns to run without a working copy, as requested in SVN-4823.

(copyfrom_revision_of_previous_tag_of_this_stable_branch): Add escaping, though

it's unlikely to ever be needed here.

* site/tools/upcoming.py

(get_merges_for_range): Update docstring to match current implementation.

* site/tools/upcoming.py

(__doc__): Expand.

Make the 'upcoming changes' script tell which branch it's reporting, and remove that info from the prose.
  1. … 1 more file in changeset.
* tools/upcoming.py

(DIST_RELEASE_URL): New constant.

(copyfrom_revision_of_previous_tag_of_this_stable_branch):

Determine the latest release by checking dist/release/, not by checking

tags, in order to also show changes that have been merged into a patch

release that has not been announced yet.

This change will cause tonight's bot run to effectively revert r1850708 (and

add Monday's merge to the output as well), re-adding all the merges that

went into 1.11.1 to the Web site — which is correct, since 1.11.1 has not yet

been published.

* tools/upcoming.py (main): Don't omit an extraneous newline.
site tools: Teach upcoming.py to compute a previously-hardcoded value.

* tools/upcoming.py

(get_copyfrom_revision_of_tag, SINCE): Remove.

(copyfrom_revision_of_previous_tag_of_this_stable_branch): New.

(main): Update caller.

* tools/escape.py,

* tools/upcoming.py: New scripts, to be used in generating 'svn log' filtered

to show merges only. See dev@ thread:

.

https://svn.haxx.se/dev/archive-2019-01/0010.shtml

Subject: Display outstanding backported fixes for each release?

  1. … 1 more file in changeset.