W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: [admin] DVCS platform at W3C

From: Robin Berjon <robin@berjon.com>
Date: Tue, 8 Jun 2010 11:38:47 +0200
Cc: public-webapps WG <public-webapps@w3.org>, Arthur Barstow <art.barstow@nokia.com>
Message-Id: <FCE255FC-3E5B-4BC6-8777-D9135D1A3E84@berjon.com>
To: Nikunj Mehta <nikunj@o-micron.com>
Hi Nikunj,

On Jun 7, 2010, at 23:00 , Nikunj Mehta wrote:
> We have started using Mercurial for IndexedDB. I would like to propose moving the IndexedDB spec's location to that repository in order to enable multiple editors to work on it. Does anyone see a problem with that?
> 
> Also, we will need help to host the editor's draft from mercurial instead of cvs. What is the best way to do that?

One thing that's not obvious from the hg interface is that the pointer to the latest version of the spec is at:

  http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html

(if you click through the HTML interface, you'll reach a URI that's a pointer to the latest commit, but if you distribute that link and make new commits, it'll point to the older revision).

I would like to suggest that we use an .htaccess in dev.w3 to proxy to the hg version. This has two advantages: 1) we can keep the current location, and 2) you can point to ReSpec on the same server which will keep you from cross-domain issues that you would otherwise have down the line. (Note that ReSpec v2 is also on the new system, so that won't be an issue going forward).

My mod_rewrite-fu is way rusty, but I'm guessing that a variation on the following ought to work:

RewriteEngine  on
RewriteRule    ^/2006/webapi/IndexedDB/(.*) http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/$1 [PL]

-- 
Robin Berjon - http://berjon.com/
Received on Tuesday, 8 June 2010 09:54:40 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:38 GMT