W3C home > Mailing lists > Public > www-archive@w3.org > February 2013

[Fwd: Making preprocessor default to better URLs for MO/ED drafts?]

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 14 Feb 2013 14:00:46 -0800
To: www-archive@w3.org
Message-ID: <20130214220046.GA814@crum.dbaron.org>
I should have cc:ed this to www-archive to start with.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂

attached mail follows:


Bert,

Is it ok if I land this patch to the preprocessor to make the "This
version" generate dev.w3.org URLs for EDs and css3-src URLs for MO
drafts?

It should make it easier to switch between MO/WD or ED/WD status
(i.e., make it so there's less that requires manual editing).  (That
said, it's only useful if there's something left to indicate the
status; I prefer having that in the Makefile, though that could be
in the draft as well.)

(I did a quick test of the Makefile patch; I haven't actually tested
the process.cgi test, but I would do so immediately after landing.)

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂


attached mail follows:


On Saturday 2013-02-09 10:00 -0700, Tab Atkins Jr. wrote:
> On Fri, Feb 8, 2013 at 2:35 PM, L. David Baron <dbaron@dbaron.org> wrote:
> > Bert,
> >
> > Is it ok if I land this patch to the preprocessor to make the "This
> > version" generate dev.w3.org URLs for EDs and css3-src URLs for MO
> > drafts?
> >
> > It should make it easier to switch between MO/WD or ED/WD status
> > (i.e., make it so there's less that requires manual editing).  (That
> > said, it's only useful if there's something left to indicate the
> > status; I prefer having that in the Makefile, though that could be
> > in the draft as well.)
> >
> > (I did a quick test of the Makefile patch; I haven't actually tested
> > the process.cgi test, but I would do so immediately after landing.)
> 
> Most of us don't use Makefiles in spec editting.  For example, I just
> run a curl command.

The Makefiles currently on dev.w3.org currently just run curl
commands that invoke process.cgi, and thus would be affected by the
process.cgi patch but not the Makefile patch, which affects people
who run make inside Style/Group/css3-src/.

The process.cgi patch would allow you to switch your curl command
between "-F status=ED" (which is the default, so can be omitted) and
"-F status=WD" and get the same results (i.e., dev.w3.org "This
version" URLs for status=ED, and TR-style "This version" URLs for
status=WD).

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂


Received on Thursday, 14 February 2013 22:01:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 February 2013 22:01:09 GMT