• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

because tools/build.pl now prompts for a name, it breaks all of my scripts which would automatically build everything.

i tried echo -e "y\nTWikiReleaseName" | perl build.pl release (and various permutations), but that doesn't work (i'm not sure why it doesn't work; i see Build.pm just reads from STDIN, so it should work, but...)

anyway, please provide an example of the existing build process scripted, or modifying build.pl to accept command line parameters, or something...


Oh dear. It never occurred to me that anyone would be script-calling the top level build.

Wouldn't it be easier just to add a command-line option to the build.pl script? I have no objection to that, as long as you don't break anything else. e.g.

my $release;
if ($ARGV[0] =~ /^-name=(.*)$/) {
   $release = $1;
    shift @ARGV;
and then call with
perl build.pl -name=TWiki-4.0.1 release

This doesn't impact the release, so dropping the priority to Low.


SVN 8346; final param to build.pl is the release ID (iff there is more than 1 param)

Also added automatic derivation of topic name from release id.


Summary twiki release naming breaks automation
ReportedBy WillNorris

SVN Range Thu, 12 Jan 2006 build 8253
AppliesTo Engine
Component BuildScripts
Priority Urgent
CurrentState Closed

Checkins 8346 8347 8359
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2006-01-17 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback