hi everyone!

i think a darcs.debian.org service would be very useful as a canonical
location for debian related darcs repositories. thanks for your efforts.

as the darcsweb maintainer i will limit my comments to the darcsweb
part below:

Luca Capello wrote:

> - darcsweb
>
>   it has two working approaches: a general one (similar to
>   darcs-server and doesn't work recursively) and a customizable one,
>   which needs to modify /etc/darcsweb/config.py.  However, the
>   included script to automate the configuration seems to be broken
>   (#438945 [1]).  Obviously, we can create a script of our own, but
>   using the upstream one seems to be better to me.  With darcsweb, we
>   could better manage the form
>
>     /srv/darcs.debian.org/http/repos/$GROUP/$REPO

i think that the script actually works fine. the mistake causing the
problem described in the bug is invoking the script using "sh" as the
interpreter when "python" should be used.

is this approximately what you are looking for?

$ cd /tmp/
$ mkdir -p foogroup/barrepo
$ cd foogroup/barrepo
$ darcs init
$ cd /tmp/
$ export GROUP=foogroup REPO=barrepo
$ python /usr/share/doc/darcsweb/examples/mkconfig.py "http://darcs.debian.org/http/repos/${GROUP}/${REPO}/"; "${GROUP}s - darcs repository for ${REPO}" latin1 /tmp/${GROUP}/ >>config.py
$ cat config.py

class barrepo:
        reponame = 'barrepo'
        repodesc = 'foogroups - darcs repository for barrepo'
        repodir = '/tmp/foogroup/barrepo'
        repourl = 'http://darcs.debian.org/http/repos/foogroup/barrepo/'
        repoencoding = 'latin1'


> I can start implementing /srv/darcs.debian.org/bin/{newrepo,geindex},
> as soon as we decide on which web interface we want to use.

it would have been strange to package darcsweb when darcs-server was
already available if i didn't like it and think it was better. i hope
my example above will be useful in implementing darcs.debian.org ;)



cheers,
  fabian

--
fabian linzberger -- http://lefant.net/ -- http://debienna.at/
       - do yourself a favour: use and support free software!


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to