﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
1017	allmydata.org source repository is broken	davidsarah	somebody	"Changes to the main trunk repository, on ""hanford"" (a.k.a. dev.allmydata.org), are normally mirrored to another repository on allmydata.org that is used by the darcs trac plugin to implement [source: ""Browse Source""]. However the script that does this is not working, possibly due to disk problems on allmydata.org.

Apparently for the same or a related reason (?), none of the [http://allmydata.org/buildbot/waterfall?show_events=false&builder=Eugen+lenny-amd64&builder=Soultcer+lenny-amd64&builder=Arthur+lenny+c7+32bit&builder=hardy-amd64&builder=Zooko+karmic+amd64+yukyuk&builder=MM+netbsd4+i386+warp&builder=windows&builder=zooko+ootles+Mac-amd64+10.4&builder=David+A.+OpenSolaris+i386&builder=Kyle+OpenBSD-4.6+amd64&builder=deb-lenny-soultcer&builder=deb-jaunty&builder=deb-lenny-amd64-eugen&builder=tarballs&builder=clean&builder=memcheck-32&builder=memcheck-64 buildbots] are able to check out the source from allmydata.org -- for example see [http://allmydata.org/buildbot/builders/hardy-amd64/builds/425/steps/darcs/logs/stdio this log] and also [http://allmydata.org/buildbot/builders/hardy-amd64/builds/426/steps/darcs/logs/stdio this one] (two different errors).

The script on hanford that is failing when trying to push changes to allmydata.org is {{{/home/source/bin/mirror-to-org.sh}}}, which is invoked by the post-commit hook, {{{/home/darcs/tahoe/trunk-posthook.sh}}} with argument {{{tahoe/trunk}}}. It fails with the message
{{{
darcs failed:  Not a repository:
source@allmydata.org:darcs/tahoe/trunk ((scp) failed to fetch:
source@allmydata.org:darcs/tahoe/trunk/_darcs/inventory)
}}}

The error on checking out the source from allmydata.org is currently:
{{{
darcs: failed to read patch in get_extra:
Sun Feb 21 12:36:26 PST 2010  freestorm77@gmail.com
  * munin-tahoe_storagespace
  Ignore-this: 14d6d6a587afe1f8883152bf2e46b4aa
  
  Plugin configuration rename
  
Perhaps this is a 'partial' repository?
}}}

Note that [http://allmydata.org/buildbot/builders/hardy-amd64/builds/425/steps/darcs/logs/stdio in a previous build] there was a different error:
{{{
Invalid repository:  http://allmydata.org/source/tahoe/distribute

darcs failed:  Failed to download URL http://allmydata.org/source/tahoe/distribute/_darcs/inventory : HTTP error (404?)
}}}

The patch mentioned in the first checkout error above, which is also the only current difference in the hanford repository relative to allmydata.org, is [http://allmydata.org/trac/tahoe-lafs/attachment/ticket/968/munin-tahoe_storagespace.darcspatch.txt the one] attached to #968. I think this was pushed at approx. 23:30 UTC on April 3. It is a very minimal patch: it only changes a typo in a comment [http://allmydata.org/trac/tahoe-lafs/browser/misc/munin/tahoe_storagespace#L13 here]. But we should avoid pushing other patches until this issue has been fixed.
"	defect	closed	supercritical	soon (release n/a)	dev-infrastructure	n/a	fixed	trac darcs		
