[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Display outstanding backported fixes for each release?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 3 Jan 2019 18:50:50 +0000

Daniel Shahaf wrote on Thu, Jan 03, 2019 at 17:38:04 +0000:
> % ./upcoming.py | tail -46
> ------------------------------------------------------------------------
> r1847610 | svn-role | 2018-11-28 04:00:29 +0000 (Wed, 28 Nov 2018)
>
> Merge the r1847181 group from trunk:
>
> * r1847181, r1847182, r1847188, r1847264
> Fix issue SVN-4792: Foreign repo copy of file adding mergeinfo.
> Justification:
> We don't want bogus mergeinfo.
> Votes:
> +1: julianfoad, brane, rhuijben
> ------------------------------------------------------------------------
> r1849266 | svn-role | 2018-12-19 04:00:55 +0000 (Wed, 19 Dec 2018)
>
> Merge the r1847572 group from trunk:
>
> * r1847572, r1847596
> fsfs: Fix SVN-4791, an issue with the DAG open_path() that was causing
> unexpected SVN_ERR_FS_NOT_DIRECTORY errors when attempting to open a path
> with `open_path_node_only | open_path_allow_null` flags.
> Justification:
> Some valid FSFS read operations errored out. This could break some
> end-user operations like 'update'.
> Votes:
> +1: julianfoad, brane, stefan2
> ------------------------------------------------------------------------

And to go along with that:

[[[
% cat escape.py
#!/usr/bin/env python3

"""HTML-escape and linkify"""

import fileinput
import html
import re

revision_numbers = re.compile(r'\br(\d+)')
issue_references = re.compile(r'((?:SVN-|[Ii]ssue [#]?)(\d+))')

for line in fileinput.input():
    line = html.escape(line)
    line = revision_numbers.sub(r'r\1', line)
    line = issue_references.sub(r'\1', line)
    print(line, end='')
]]]

That's a stdin-to-stdout filter that converts the text output to HTML, suitable
for inclusion in the Web site.

Cheers,

Daniel
Received on 2019-01-03 19:51:04 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.