[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: alioth commit hooks fixed up



On Tue, Jun 11, 2013 at 11:01:23AM +0100, Colin Watson wrote:
> I made /srv/home/groups/pkg-haskell/darcs a symlink to /usr/bin/darcs,
> and extracted /usr/bin/darcs-monitor from version 0.4.2-1 of the
> darcs-monitor package (the newest one built against libraries that are
> present on vasks) to /srv/home/groups/pkg-haskell/darcs-monitor.  The
> previous versions are in .old for the time being.

That said, it is now *incredibly* slow.

24436 ?        S      0:00 sshd: cjwatson@notty
24443 ?        Ssl    0:00  \_ darcs apply --all --repodir /darcs/pkg-haskell/tools
24449 ?        S      0:00      \_ /bin/sh -c /srv/home/groups/pkg-haskell/darcs-monitor --darcs-path=/srv/home/groups/pkg-haskell/darcs --max-diff=20000 --charset=UTF-8 email pkg-haskell-commits@lists.alioth.debian.org
24450 ?        S      0:00          \_ /srv/home/groups/pkg-haskell/darcs-monitor --darcs-path=/srv/home/groups/pkg-haskell/darcs --max-diff=20000 --charset=UTF-8 email pkg-haskell-commits@lists.alioth.debian.org
25191 ?        Dl     0:00              \_ /srv/home/groups/pkg-haskell/darcs diff --match=hash 20090705164713-d38ca-3bb2dbfd17ef8e9d568c90fb4a24332c836ede13 --repo=/srv/darcs.debian.org/darcs/pkg-haskell/tools/ -u

"darcs diff" is called many times, on fairly old patches, and each one
takes on the order of minutes (though those darcs commits do still seem
to be slow with the old version of darcs).  Plus, from strace I have the
bad feeling that it may be going through resending mails for every old
commit ...

I've put the old and broken versions back for now; the ones I installed
are in /srv/home/groups/pkg-haskell/*.new.  Please could somebody with
more darcs experience take a look?

-- 
Colin Watson                                       [cjwatson@debian.org]


Reply to: