HEADSUP: regsub() changes in -trunk

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Jun 20 17:29:20 CEST 2008


In message <20080620142911.GA25912 at wiggy.net>, Wichert Akkerman writes:
>Previously Poul-Henning Kamp wrote:
>> Those of you running -trunk should take note of this commit if
>> you use regsub() in your VCL.
>> 
>> I apologize for this kind of disruptive change, but the replacement
>> syntax was badly chosen and I needed to fix it before 2.0
>
>This and the changes from
>http://varnish.projects.linpro.no/changeset/2739 are not reflected in
>vcl(7) yet.
>
>Do you expect the VCL to stablize with the 2.0 release? It is a bit
>painful that you need a different VCL file for 1.0, 1.2, 2.0-tp1 and
>2.0-after-tp1. There are tools (such as plone.recipe.varnish) that try
>to gnerate a VCL and that is becoming quite painful by now.

My intent is that VCL generally should be stable inside major branches
so the VCL in 2.0 should work on all 2.x versions.

Right now -trunk is edging really close to what 2.0 should be, and
that means a number of minor and major tweaks, such as these happen
now.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list