Return-Path: X-Original-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29D12DFDD for ; Thu, 9 Aug 2012 15:33:32 +0000 (UTC) Received: (qmail 13031 invoked by uid 500); 9 Aug 2012 15:33:32 -0000 Delivered-To: apmail-incubator-allura-dev-archive@incubator.apache.org Received: (qmail 13005 invoked by uid 500); 9 Aug 2012 15:33:31 -0000 Mailing-List: contact allura-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-dev@incubator.apache.org Received: (qmail 12994 invoked by uid 99); 9 Aug 2012 15:33:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 15:33:31 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 76.96.62.48 is neither permitted nor denied by domain of dave@brondsema.net) Received: from [76.96.62.48] (HELO qmta05.westchester.pa.mail.comcast.net) (76.96.62.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 15:33:23 +0000 Received: from omta05.westchester.pa.mail.comcast.net ([76.96.62.43]) by qmta05.westchester.pa.mail.comcast.net with comcast id kbfn1j0020vyq2s55fZ58u; Thu, 09 Aug 2012 15:33:05 +0000 Received: from b.local ([199.116.53.69]) by omta05.westchester.pa.mail.comcast.net with comcast id kfZ31j00T1VbcSn3RfZ6WD; Thu, 09 Aug 2012 15:33:12 +0000 Message-ID: <5023D824.7000808@brondsema.net> Date: Thu, 09 Aug 2012 11:32:52 -0400 From: Dave Brondsema User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: allura-dev@incubator.apache.org CC: bloodhound-dev@incubator.apache.org Subject: Re: [Apache Bloodhound] #156: Local copy of bloodhound part of Apache repo for browse functionality References: <052.a76dbce2fd5b36ba0b55ec49ab072067@incubator.apache.org> <067.9f1edfc161cac25f48e9a23ee7166717@incubator.apache.org> <50215E93.8090602@wandisco.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org That sounds great. AFAIK an NFS mount will be fine for Allura to read from. By the way, I've subscribed to the bloodhound-dev list also. It seems that allura and bloodhound have a lot in common: python code/project management tools both going through incubation :) -Dave On 8/8/12 5:26 PM, Greg Stein wrote: > Very cool! > > But with that said... I was on IRC, and the Infra guys might actually > create a full repository mirror for us. The thing is that Apache > Allura (also incubating) will want a copy of their project(s), too. > Tho... I think they're going with Git, but the concept is the same. > Bloodhound and Allura both need local read-access to repositories. > > Infra was thinking about sync'ing repository copies over to a box (I > forget the name). The BH and Allura VMs would be migrated over to that > same box. The repositories would then be exposed via NFS, and the two > VMs would (locally) mount that NFS share. > > I believe the Right Answer here is for both projects to confirm that > this option is workable, and for us to ask Infra to start setting it > up. > > Thoughts? > > Cheers, > -g > > On Tue, Aug 7, 2012 at 2:29 PM, Gary Martin wrote: >> Not sure if this could be of interest beyond Bloodhound. It is a very simple >> script (and quite possibly over-complicated in reality). >> >> The attachment referred to is here: >> https://issues.apache.org/bloodhound/attachment/ticket/156/emptyrevs.py >> >> Just tested it on 1229640 empty commits: >> >> python3 emptyrevs.py 1229640 | eatmydata svnadmin >> --bypass-prop-validation load repos/ >> >> which took about 2 hours - I suspect that the svnadmin load was the real >> bottleneck.. it is just a few seconds to create about 92M of data if you >> direct to a file instead. >> >> Cheers, >> Gary >> >> >> >> On 08/07/2012 06:47 PM, Apache Bloodhound wrote: >>> >>> #156: Local copy of bloodhound part of Apache repo for browse >>> functionality >>> ------------------------+----------------------- >>> Reporter: gjm | Owner: nobody >>> Type: task | Status: new >>> Priority: critical | Milestone: Release 2 >>> Component: siteadmin | Version: >>> Resolution: | Keywords: >>> ------------------------+----------------------- >>> >>> Comment (by gjm): >>> >>> As part of my investigation around creating a mirror of the bloodhound >>> portion, I have written a very simple script (only complicated when I >>> decided to have a quick look at the argparse module and python2/3 >>> issues), >>> inspired by a suggestion from Philip Martin. >>> >>> I have attached that script [attachment:emptyrevs.py here]. It may be >>> worth putting in the bloodhound repository in case we need it again of >>> course. >>> >> > -- Dave Brondsema : dave@brondsema.net http://www.brondsema.net : personal http://www.splike.com : programming <><