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

Re: svn commit: r1848393 - in /subversion/site: publish/.message-ids.tsv tools/haxx-url-to-message-id.sh

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 7 Dec 2018 14:56:40 +0000

julianfoad_at_apache.org wrote on Fri, Dec 07, 2018 at 12:29:56 -0000:
> Add a tool for generating a svn.haxx.se archive URL to message-id mapping.

Yay!

> +++ subversion/site/publish/.message-ids.tsv Fri Dec 7 12:29:56 2018
> @@ -1,3 +1,5 @@
> +# Message-ids of archived emails that are referenced by a svn.haxx.se URL.
> +# Generated by tools/haxx-url-to-message-id.sh on 2018-12-07

Could we run this periodically unattended? We could teach the svn-role
bot to checkout the site source, run this script and commit the results.

The cron job would be —

fn=publish/.message-ids.tsv
cd ~/src/svn/site
svn up -q
tools/haxx-url-to-message-id.sh > $fn
svn ci -m "* $fn: Automatically regenerated" $fn

That's it, I think. (There's no 'svn st' call because, when there are
no changes to commit, 'svn ci' does nothing and exits 0.)

Cheers,

Daniel
Received on 2018-12-07 15:56:54 CET

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