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:
- The dependencies are clearly documented, so an installer understands the expectations
- 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:
-
Documentation (of the process) - KernelBuildScript
-
Documentation (of the changed CPAN requirements)
-
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.
-
Automatic generation of CHANGELOG from svn log (SVN r4034, using http://tiefighter.et.tudelft.nl/~arthur/svn2cl/
)
-
Build a zip file (SVN r4032)
--
CrawfordCurrie - 15 Mar 2005, 7 Apr 2005, 26 May 2005