create new tag
, view all tags
here's a script i'm working on for an automated kernel build, for use in the AutomatedBuild, DailyBuildAndSmokeTest, TWikiWebBasedInstaller, and other TWikiDistributions.

-- WillNorris - 02,10,12,19,20,30 Nov 2004

The script uses CPAN:File::Slurp::Tree to copy trees from a Subversion working copy to the staging tree for making the distribution tarball, because it needs to avoid copying editor backups (*~) and Subversion bookkeeping directories (.svn). (that's not why i use CPAN:File::Slurp::Tree --WN) Take a look at svn export and see if that doesn't make your life easier. You can export the tree to a temporary directory and then use your favorite tree-copying idiom to move the relevant parts to the staging area.

-- KennethPorter - 24 Nov 2004

all files are assembled from SVN. currently, the script also (incorrectly) includes skins (pattern and classic). i am deferring the removal of these skins until more work has progressed on PackagingSkins.

here's the programming TODO list:

  • use svn export (?) really want anonymous checkout (for easy update)
  • readme.txt - needs editting, customising per build (type, etc.)

-- WillNorris - 02 Dec 2004

I note that the script chops the CPAN modules (Error, Algorithm, Text). I don't have a problem with this as long as the following two conditions are fulfilled:

  1. The dependencies are clearly documented, so an installer understands the expectations
  2. The installation methodology for people who do not have write access to their perl installations is fully explained.
Until this documentation is in place, I am putting the CPAN modules back in the kernel. r3720.

-- CrawfordCurrie - 03 Mar 2005

I chopped out the file tree comparison; you can see it from the history and bring it back if needs must.

Additional requirements for the kernel build:

  1. Documentation (of the process) - KernelBuildScript
  2. Documentation (of the changed CPAN requirements)
  3. Automatic check/update the version # (SVN r4052)
    • There is a version number in TWikiDotPm that is currently updated whenever TWikiDotPm is checked in. This is not good enough - it needs to track the SVN version number that the build was started on, not the most recent TWikiDotPm version.
  4. Automatic generation of CHANGELOG from svn log (SVN r4034, using http://tiefighter.et.tudelft.nl/~arthur/svn2cl/)
  5. Build a zip file (SVN r4032)
-- CrawfordCurrie - 15 Mar 2005, 7 Apr 2005, 26 May 2005

Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r16 - 2006-10-08 - SvenDowideit
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.