subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: svn commit: r1848393 - in /subversion/site: publish/.message-ids.tsv tools/haxx-url-to-message-id.sh
Date Fri, 07 Dec 2018 14:56:40 GMT
julianfoad@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

Mime
View raw message