Robin Berjon | 24 May 2012 15:26
Gravatar

ReSpec: Evolution

Hi all,

if you use ReSpec, or participate in a group that uses ReSpec and think that your editors might not be on this
list, please take the time to read this email as it contains important information on the topic.

Before I delve in: if there is any part of this email that makes you worried, panicked, angry, fills you with
angst, or generally spoils your mood then please jump straight to the "WHAT THIS MEANS FOR YOU" section.
All is fine and dandy.

There has recently been a flurry of questions in various parts about ReSpec, mostly to do with what the
status of v2 is, how to load it, what to patch.

I started work on v2 not because it was fun to make a new version but because the v1 code was grown all the way up
from a 50 lines script into a tentacular monster. I recently had to fix a bug in the v1 WebIDL code and some
parts of my brain fried. Some of the configuration options interact in ways that I don't understand and
dare not touch. It is also constrained to a single type of document (W3C specifications) when many people
are asking for the same stuff for different documents; and even within the restricted scope of W3C
documents there are variants that were hard to accommodate without (even more of) a combinatorial
explosion in configuration options.

I didn't feel like I could fix any of that without taking all the pieces apart on the floor and finding a new,
better way of putting them all together.

That's what happened with v2. I figured out how to make this maintainable and flexible. But the problem was
that this was a rather large undertaking to carry out within bits and pieces of spare time. The v2 that's
available today is very roughly usable (some people do) but there are still a thousand paper cuts that need
fixing before it can replace v1. This would all be fine were it not that in the meantime, people still need
fixes and new features in what they use. So over time, v1 has kept moving and all of those changes need to be
integrated into v2, which takes time since it's a different code base. This has made it impossible for me to
reach the point where v2 could take over.
(Continue reading)

Dominique Hazael-Massieux | 25 May 2012 10:22
Picon
Favicon
Gravatar

Re: ReSpec: Evolution

Le jeudi 24 mai 2012 à 15:26 +0200, Robin Berjon a écrit :
> With the first release of v3 you get a bundle weighing in at 497K over
> one single request (which includes all dependencies, including CSS).
> Yes, that's way too much. But with v1 you were loading 469K over
> eleven requests so all things considered I believe that overall the
> new version is already a little bit faster. As I progressively
> transition the v2 code over, I believe that I can shave off ~300K from
> that. If you have suggestions on how to served gzipped content from
> GitHub I'll take them (v3 is 123K gzipped so it's worth it). Or if
> there's a simple release script I can use to push the releases to
> another site where this would be served gzipped, I'm certainly open to
> it

I think it would make sense to serve ReSpec v3 from somewhere in w3.org
(where we could also easily get it sent gzipped). This would also
alleviate some of my concerns  with sharing all our traffic to our
editors draft with github :)

I think it would be fairly simple to do: if you set up a post-commit
hook in github.com that sends an email to sysbot+github <at> w3.org, I'll
make the right thing happens.

Dom

Robin Berjon | 25 May 2012 13:53
Gravatar

Re: ReSpec: Evolution

On May 25, 2012, at 10:22 , Dominique Hazael-Massieux wrote:
> I think it would make sense to serve ReSpec v3 from somewhere in w3.org
> (where we could also easily get it sent gzipped). This would also
> alleviate some of my concerns  with sharing all our traffic to our
> editors draft with github :)

That would be wicked cool. Please tell me the URI for the result when it's up!

> I think it would be fairly simple to do: if you set up a post-commit
> hook in github.com that sends an email to sysbot+github <at> w3.org, I'll
> make the right thing happens.

Done, you should start getting email with the next push. Thanks a lot!

--

-- 
Robin Berjon - http://berjon.com/ -  <at> robinberjon

Dominique Hazael-Massieux | 25 May 2012 15:48
Picon
Favicon
Gravatar

Re: ReSpec: Evolution

Le vendredi 25 mai 2012 à 13:53 +0200, Robin Berjon a écrit :
> On May 25, 2012, at 10:22 , Dominique Hazael-Massieux wrote:
> > I think it would make sense to serve ReSpec v3 from somewhere in w3.org
> > (where we could also easily get it sent gzipped). This would also
> > alleviate some of my concerns  with sharing all our traffic to our
> > editors draft with github :)
> 
> That would be wicked cool. Please tell me the URI for the result when it's up!

I've set up http://www.w3.org/Tools/respec/respec-w3c-common that is
served gzipped, and should be updated when github gh-pages is (to be
confirmed, though :).

I haven't set up a copy of the specific versions as well; does anyone
actually want this?

Dom


Gmane