FAQ
The easiest way for me to set up Test::Smoke would be if it could pull
whatever it needed from a NFS-mounted CPAN mirror, but I can't find any way
of configuring it to do this - is this possible?

--
Alan Burlison
--

Search Discussions

  • Abe Timmerman at Aug 1, 2003 at 6:03 pm

    Op een zonnige zomerdag (Friday 01 August 2003 18:57), schreef Alan Burlison:

    The easiest way for me to set up Test::Smoke would be if it could pull
    whatever it needed from a NFS-mounted CPAN mirror, but I can't find any way
    of configuring it to do this - is this possible?
    Looking at ftp://ftp.cpan.org/pub/CPAN (which I suppose is the source for your
    mirror) I cannot find any bleeding-edge sources there.

    Is there no way you can make the CPAN-mirror machine also rsync or mirror
    (part of) APC? I assume that the mirror machine has internet-access.

    You could set up the mirror machine to only "synctree.pl" (from cron) and have
    your smoke boxen use sync_type => 'copy' (or even rsync with two local paths
    if that 'll work over NFS).

    If you want more info on this, just let me know.

    good luck,

    Abe
    --
    Amsterdam Perl Mongers http://amsterdam.pm.org
    perl -we '$_="rekcah lreP rehtona tsuJ";print$2while s/(.*)(.)/$1/g'
  • Alan Burlison at Aug 1, 2003 at 8:58 pm

    Abe Timmerman wrote:

    Looking at ftp://ftp.cpan.org/pub/CPAN (which I suppose is the source for your
    mirror) I cannot find any bleeding-edge sources there.

    Is there no way you can make the CPAN-mirror machine also rsync or mirror
    (part of) APC? I assume that the mirror machine has internet-access.
    Which bits? The machines are behind a firewall and I have had to go to
    enormous lengths to get the CPAN rsync to work even semi-reliably through it.
    You could set up the mirror machine to only "synctree.pl" (from cron) and have
    your smoke boxen use sync_type => 'copy' (or even rsync with two local paths
    if that 'll work over NFS).

    If you want more info on this, just let me know.
    Yes, info on exactly what I need to pull would be great. Another
    alternative is to 'p4 sync' as I have perforce access.

    --
    Alan Burlison
    --
  • Abe Timmerman at Aug 1, 2003 at 9:59 pm

    Op een zonnige zomerdag (Friday 01 August 2003 22:57), schreef Alan Burlison:

    Abe Timmerman wrote:
    Looking at ftp://ftp.cpan.org/pub/CPAN (which I suppose is the source for
    your mirror) I cannot find any bleeding-edge sources there.

    Is there no way you can make the CPAN-mirror machine also rsync or mirror
    (part of) APC? I assume that the mirror machine has internet-access.
    Which bits? The machines are behind a firewall and I have had to go to
    enormous lengths to get the CPAN rsync to work even semi-reliably through
    it.
    Okay, that seems like more trouble than needed since you have p4 access.
    FYI: the perl-current branch can be rsynced like:

    rsync -az --delete ftp.linux.activestate.com::perl-current /your/mirror/dir/

    or ftp-mirror from (there is mirror.pl on CPAN):

    ftp.linux.activestate.com/pub/staff/gsar/APC/perl-current

    for maint-5.8/perl these are:
    rsync://ftp.linux.activestate.com::perl-5.8.x
    ftp://ftp.linux.activestate.com/pub/staff/gsar/APC/perl-5.8.x

    for maint-5.6/perl-5.6.2 these are:
    rsync://ftp.linux.activestate.com::perl-5.6.2
    ftp://ftp.linux.activestate.com/pub/staff/gsar/APC/perl-5.6.2


    I have been working on a ftp-based syncer, but that was so slow and
    unreliable, that I put it on ice.
    You could set up the mirror machine to only "synctree.pl" (from cron) and
    have your smoke boxen use sync_type => 'copy' (or even rsync with two
    local paths if that 'll work over NFS).

    If you want more info on this, just let me know.
    Yes, info on exactly what I need to pull would be great. Another
    alternative is to 'p4 sync' as I have perforce access.
    I don't know about p4, but if you can use that to get the branches you want to
    smoke, that sounds like the easy way.

    Once you have a synced source-tree on one machine that is NFS-accessable, you
    can use that as your source for the smoke boxen.

    OTOH, if the 'p4 sync' works from all boxen, it depends on the way the command
    is called whether you can 'tric' Test::Smoke into thinking you do rsync. That
    might involve a small shell script that does the p4 command and you specify
    that as your rsync binary.


    good luck,

    Abe
    --
    Amsterdam Perl Mongers http://amsterdam.pm.org
    #! /usr/bin/perl
    tie *STDIN, JAPH => qw(Just another Perl hacker);print while <STDIN>;
    sub JAPH::TIEHANDLE {$~=shift;bless \($^=join$/,@_),$~}
    sub JAPH::READLINE {$/=$^=~s/^(.+)\n?//?$1:undef;$\=$^eq""?"\n":" ";$/}
  • Alan Burlison at Aug 4, 2003 at 11:11 pm

    Abe Timmerman wrote:

    Okay, that seems like more trouble than needed since you have p4 access.
    FYI: the perl-current branch can be rsynced like:

    rsync -az --delete ftp.linux.activestate.com::perl-current /your/mirror/dir/

    or ftp-mirror from (there is mirror.pl on CPAN):

    ftp.linux.activestate.com/pub/staff/gsar/APC/perl-current

    for maint-5.8/perl these are:
    rsync://ftp.linux.activestate.com::perl-5.8.x
    ftp://ftp.linux.activestate.com/pub/staff/gsar/APC/perl-5.8.x

    for maint-5.6/perl-5.6.2 these are:
    rsync://ftp.linux.activestate.com::perl-5.6.2
    ftp://ftp.linux.activestate.com/pub/staff/gsar/APC/perl-5.6.2
    rsync has problems through our firewall - I suspect 'p4 sync' is the way to
    go. Anyone know the settings should have in my perforce clients file?

    --
    Alan Burlison
    --
  • Rafael Garcia-Suarez at Aug 5, 2003 at 8:10 pm

    Alan Burlison wrote in perl.daily-build :
    for maint-5.6/perl-5.6.2 these are:
    rsync://ftp.linux.activestate.com::perl-5.6.2
    ftp://ftp.linux.activestate.com/pub/staff/gsar/APC/perl-5.6.2
    rsync has problems through our firewall - I suspect 'p4 sync' is the way to
    go. Anyone know the settings should have in my perforce clients file?

    For 5.6.2 ? :- that's //depot/maint-5.6/perl-5.6.2/... (assuming you
    already know how to fetch the other branches)

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdaily-build @
categoriesperl
postedAug 1, '03 at 4:57p
activeAug 5, '03 at 8:10p
posts6
users3
websiteperl.org

People

Translate

site design / logo © 2019 Grokbase