[darcs-users] Trac backend for darcs
Lele Gaifax
lele at nautilus.homeip.net
Thu Jun 19 10:07:13 UTC 2008
Hi all,
a few days ago I implemented a much requested functionality that
allows referencing a particular changeset either with its cardinal
number (with the usual "[123]" syntax) or by its exact hash: you can
now use the syntax "[20010203122311-abcde-zcx...ura.gz]" that is
bracketing the patch hash name. This has the obvious advantange of
being unrelated to the actual order of patches in the trac-ed
repository.
As a side benefit, you can also point to a particular changeset by
adding the hash to the ".../changeset/" URL, but this has a drawback,
due to the hashname ending with ".gz": by default apache will add a
"Content-encoding: gzip" to the response headers, and this confuses
most browsers (FF will show either a blank page or an encoding
error).
I tried playing with the ForceType_ directive to force everything
below ".../changeset/" to "text/html", but it didn't succeed.
I like to hear some suggestion on how to circumnvent the problem: I
could try harder with the apache setup, or the backend could
understand also an hashname missing the ending ".gz"...
Any hint will be very appreciated,
thanks,
ciao, lele.
.. _ForceType: http://httpd.apache.org/docs/2.2/mod/core.html#forcetype
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele at nautilus.homeip.net | -- Fortunato Depero, 1929.
More information about the darcs-users
mailing list