Alioth status update, take 3

Ansgar Burchardt ansgar at debian.org
Tue May 31 13:30:58 UTC 2011


Hi,

Joachim Breitner <nomeata at debian.org> writes:
> Am Sonntag, den 29.05.2011, 22:22 +0200 schrieb Ansgar Burchardt:
>> Joachim Breitner <nomeata at debian.org> writes:
>> > Does PET2 support debian-only VCS layouts? We have one Darcs repository
>> > per package, each containing only the contents of the debian/ directory.
>> > You can browse and access files directly via HTTP, below this path:
>> > http://anonscm.debian.org/darcs/pkg-haskell/
>> 
>> Not yet, but it's easy to add (stripping "debian/" when retrieving
>> files should be enough).
>
> So will this be part of the configuration or will PET figure it out
> automatically?

Right now it is part of the configuration.  Which of course just failed
for three packages (haskell-devscripts, haskell-dummy, haskell-platform).
I can add it to my list of things to look at during debcamp.

>> Is there some way to see that the current head changed? With Git I can
>> use the commit hash for this, is there something comparable for darcs?
>
> Hmm, as darcs tracks changes, and not states, there is no easy hash. But
> a good approximation would be the number of patches. It is part of the
> output of
> darcs show repo --repodir=/...
> and if you prefer to parse XML, you can also pass --xml-output.

What about the hash in darcs changes --xml-output?

Are tags just identified by "TAG .+" in the output of the previous
command?  Then I would just use this.

I implemented a first try at darcs support for PET2 and set up an
instance for pkg-haskell[1].  It was quite easy as PET2 does not display
the changelog for older versions yet and I can grab the current one via
HTTP, so I did not have to implement the more complicated part yet :)
It will update automatically if you enable a commit hook: just run

  /srv/home/groups/pet/PET2/pkg-haskell/pet-darcs-helper update haskell-hfuse

or

  /srv/home/groups/pet/PET2/pkg-haskell/pet-git-helper update hdbc-postgresql.git

Regards,
Ansgar

[1] <http://pet.43-1.org/pkg-haskell/pet.cgi>



More information about the PET-devel mailing list