You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-dev@apache.org by Jukka Zitting <ju...@gmail.com> on 2009/03/06 17:28:14 UTC

Setting up git.zones.apache.org

Hi,

There is now a git.zones.apache.org zone (thanks, Norman!) to where we
can start migrating the Git mirrors.

I started setting things up, and I'm currently trying to get the
Subversion Perl bindings (required by git-svn) working. Norman already
promised to help with the problem, but I figured that more eyeballs
probably won't hurt so see below for the error message I'm getting.
The troublesome SVN:_Ra module is created dynamically with the
following piece of failing code in SVN::Base:

        @{"SVN::_${pkg}::ISA"} = qw(DynaLoader);
        eval qq'
package SVN::_$pkg;
require DynaLoader;
bootstrap SVN::_$pkg;
1;
    ' or die $@;

Could this be a Perl version problem? The zone has Perl 5.8.4.

I created the infrastructure/trunk/projects/git folder in svn to track
all the details related to the zone configuration. See the initial
README.txt file there for a summary of the basic software I already
installed.

BR,

Jukka Zitting

$ git svn
Can't locate loadable object for module SVN::_Ra in @INC (@INC
contains: /export/home/git/opt/git-1.6.2/lib/site_perl/5.8.4/i86pc-solaris-64int
/export/home/git/opt/git-1.6.2/lib/site_perl/5.8.4
/export/home/git/opt/git-1.6.2/lib/site_perl
/export/home/git/opt/subversion-1.5.6/lib/site_perl/5.8.4/i86pc-solaris-64int
/export/home/git/opt/subversion-1.5.6/lib/site_perl/5.8.4
/export/home/git/opt/subversion-1.5.6/lib/site_perl
/usr/perl5/5.8.4/lib/i86pc-solaris-64int /usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/i86pc-solaris-64int
/usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl
/usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int
/usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at
/export/home/git/opt/subversion-1.5.6/lib/site_perl/5.8.4/i86pc-solaris-64int/SVN/Base.pm
line 59
BEGIN failed--compilation aborted at
/export/home/git/opt/subversion-1.5.6/lib/site_perl/5.8.4/i86pc-solaris-64int/SVN/Ra.pm
line 5.
Compilation failed in require at
/export/home/git/opt/git-1.6.2/libexec/git-core/git-svn line 30.

$ git --version
git version 1.6.2

$ svn --version
svn, version 1.5.6 (r36142)
   compiled Mar  6 2009, 14:12:53

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

Re: Setting up git.zones.apache.org

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Mon, Mar 16, 2009 at 10:13 AM, Tony Stevenson <to...@pc-tony.com> wrote:
> On 15 Mar 2009, at 22:50, Jukka Zitting wrote:
>> Can we change the svn.eu configuration so
>> that an svn client from git.zones.apache.org can access
>> https://svn.eu.apache.org/repos/asf/ anonymously?
>
> We don't allow anonymous SVN access over SSL, anywhere.

A third alternative would be to use SVN access without SSL if the
mod_dontdothat restrictions could somehow be lifted for
git.zones.apache.org.

BR,

Jukka Zitting

Re: Setting up git.zones.apache.org

Posted by Tony Stevenson <to...@pc-tony.com>.
On 15 Mar 2009, at 22:50, Jukka Zitting wrote:

> Hi,
>
> On Fri, Mar 6, 2009 at 5:28 PM, Jukka Zitting  
> <ju...@gmail.com> wrote:
>> There is now a git.zones.apache.org zone (thanks, Norman!) to where  
>> we
>> can start migrating the Git mirrors.
>>
>> I started setting things up, and I'm currently trying to get the
>> Subversion Perl bindings (required by git-svn) working.
>
> git, svn, and git-svn are now all working fine on the zone.
>
> I'm currently copying all the existing git mirrors from my server to
> the git zone.
>
> So far I have used my personal svn account to update the mirrors over
> https://svn.eu.apache.org/, but I'd rather not continue doing that in
> a production environment. Can we change the svn.eu configuration so
> that an svn client from git.zones.apache.org can access
> https://svn.eu.apache.org/repos/asf/ anonymously?


We don't allow anonymous SVN access over SSL, anywhere.  svn.eu. is  
SSL only.

> Alternatively, can
> we create an artificial (public read only) svn account that we can use
> for updating the git mirrors?


That is I guess, the simpler of the options, however I am not sure  
what implications this will have.  I will wait for Joe to wake up and  
confirm he is happy for that to be done.



Cheers,
Tony


-----------------------------------------
Tony Stevenson
tony@pc-tony.com  //  pctony@apache.org  // pctony@freenode.net
http://blog.pc-tony.com/

1024D/51047D66 ECAF DC55 C608 5E82 0B5E  3359 C9C7 924E 5104 7D66
-----------------------------------------






Re: Setting up git.zones.apache.org

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Fri, Mar 6, 2009 at 5:28 PM, Jukka Zitting <ju...@gmail.com> wrote:
> There is now a git.zones.apache.org zone (thanks, Norman!) to where we
> can start migrating the Git mirrors.
>
> I started setting things up, and I'm currently trying to get the
> Subversion Perl bindings (required by git-svn) working.

git, svn, and git-svn are now all working fine on the zone.

I'm currently copying all the existing git mirrors from my server to
the git zone.

So far I have used my personal svn account to update the mirrors over
https://svn.eu.apache.org/, but I'd rather not continue doing that in
a production environment. Can we change the svn.eu configuration so
that an svn client from git.zones.apache.org can access
https://svn.eu.apache.org/repos/asf/ anonymously? Alternatively, can
we create an artificial (public read only) svn account that we can use
for updating the git mirrors?

BR,

Jukka Zitting