[Bioperl-l] Nightly build archives now available
Sendu Bala
bix at sendu.me.uk
Fri Mar 7 14:54:41 UTC 2008
Chris Fields wrote:
> On Mar 7, 2008, at 8:10 AM, Sendu Bala wrote:
>> One time (and one time only):
>> perl Build.PL (it doesn't matter how you answer the questions)
>>
>> Then every night:
>> ./Build dist
>> ./Build ppmdist
>>
>> You then upload the resulting .tar.gz and .zip files.
>>
>>
>> Only if Build.PL or ModuleBuildBioperl are updated might you need to:
>> ./Build realclean
>> perl Build.PL
>> again. But this should be a rare event and even more rarely would it
>> be /required/ (probably never).
>
> I'm not making a distribution; the archives are merely cleaned up svn
> checkouts (no .svn directories). This is essentially what the
> net_install script would get when installing GBrowse using the 'dev'
> option, except you don't need to install Subversion to get updates.
> Also, at this point we don't have an analogous 'Download tarball'
> setting for browsable svn either, so this is a suitable alternative.
The dist action does what you want. I did a diff on the most recent
nightly build and the .tar.gz produced by the dist action of a checkout
of revision 14603:
$ diff -r bioperl-1.5.2_100 bioperl-live
diff -r bioperl-1.5.2_100/Bio/SeqIO/chaos.pm bioperl-live/Bio/SeqIO/chaos.pm
2c2
< # $Date: 2007-06-14 15:16:21 +0100 (Thu, 14 Jun 2007) $
---
> # $Date: 2007-06-14 10:16:21 -0400 (Thu, 14 Jun 2007) $
Only in bioperl-live/Bio/Tools: WebBlat.pm
Only in bioperl-live: CHANGELOG
Only in bioperl-1.5.2_100: MANIFEST
Only in bioperl-1.5.2_100: META.yml
diff -r bioperl-1.5.2_100/Makefile.PL bioperl-live/Makefile.PL
1,31c1,30
< # Note: this file was auto-generated by Module::Build::Compat version 0.03
[snip]
---
> #!/usr/bin/perl -w
>
> # This is a stub that simply tells you to use Build.PL instead
[snip]
Only in bioperl-live: bioperl.lisp
diff -r bioperl-1.5.2_100/maintenance/cvs2cl_by_file.pl
bioperl-live/maintenance/cvs2cl_by_file.pl
29c29
< ## $Date: 2006-11-30 15:57:16 +0000 (Thu, 30 Nov 2006) $
---
> ## $Date: 2006-11-30 10:57:16 -0500 (Thu, 30 Nov 2006) $
I don't know what's going on with the date differences, but for a file
found in a folder called '/DIST/nightly_builds/', you want the MANIFEST
and META.yml files. You also want the Compat version of Build.PL since
we haven't yet moved to forcing people to use Build.PL.
'./Build dist' does the right thing.
> Again, I don't want to deal with prompts while running a cron job (this
> is a bash script), particularly if I can't guarantee the number of
> prompts or the prompting order won't change down the line. If we can
> set up a way around that using passed args to Build.PL then it would
> make life much easier and we could automate 'Build dist', 'Build
> ppmdist', 'Build testcover', etc.
Again, you only need to run 'perl Build.PL' once and answer the
questions only once. Then you can svn update and run the actions with no
more questions to answer. This isn't a problem that needs to be solved.
It is /supposed/ to be this way. It's ready to use! Please make use of
it; it's one of the (many) reasons I moved Bioperl over to Build.PL in
the first place.
More information about the Bioperl-l
mailing list