Op een zonnige zomerdag (Friday 27 June 2003 17:19), schreef John Peacock:
> Now that I have a subversion repository of the APC (All Perl Changes) on a
> machine that is largely unloaded, I can set up a smoke process nightly. In
> order to do that, I have a couple of questions:
>
> 1) When running `perl Makefile.pl` it asks me where to install the code;
> I'm guessing that this is so it doesn't live in the ordinary Perl lib tree.
Yup.
> As long as that directory is in the path for the user running the smokes,
> that is fine, right?
There is a "use lib catdir( $FindBin::Bin, 'lib' );" for all the scripts
and the startup script (smokecurrent.sh) adds the directory to the path.
> 2) Since I already will have a fully synced subversion repository, I don't
> need most of the functionality of Test::Smoke::Syncer. Has anyone already
> started work on Test::Smoke::Syncer::Subversion yet, or am I free to play
> with it?
Sounds like a good idea, if I find some spare time I'll give that a shot, but
patches are also welcome :)
> I am guessing that I will use T::S::S::Hardlink with a source of
> a Subversion working copy.
T::S::S::Hardlink uses *all* of the source directory, so if you are using a
working copy (under version control) the MANIFEST check will report all .svn
stuff in the report. I'd use rsync on local directories (resulting in
something like):
rsync -a --delete --exclude '.svn' working_dir/. .
This can be configured from 'configsmoke.pl' (Just make sure that the rsync
source ends with a slash [or slash-dot].)
> 3) Once I am smoking bleadperl, I'll add the 5.8.x smoke as well (using
> `svn switch` on my hdir and T::S::S::Hardlink again. Comments???
you can always edit the resulting smoke58x.sh shellscript after
'configsmoke.pl' to add the 'svn switch' before 'smokeperl.pl' is started.
The problem with a single source-dir could be if your 5.9.0 smoke overlaps
your 5.8.x smoke.
Good luck,
Abe
--
"Crashes Perl (or Used To)" is not a really useful classifying
criterion, it's about as useful as "the number of characters in
the test is divisible by 73".
-- Jarkko Hietaniemi on p5p @ 2001-10-30