[Pharo-project] new command line option: printVersion
There is now a command line option to print the image version. To test it: wget --quiet -qO - http://pharo.gforge.inria.fr/ci/ciPharo20NBCog.sh | bash make sure it's the latest: ./vm.sh Pharo.image update now print version: ./vm.sh Pharo.image printVersion ==> should print "[version] 2.0 #20402" This can be used in Jenkins with the "Description Setter" Plugin. Configure it like this: Regular expression: \[version\] (.*) Description: \1 Marcus -- Marcus Denker -- http://marcusdenker.de
Beautiful, cool stuff ! On 16 Nov 2012, at 19:12, Marcus Denker <marcus.denker@inria.fr> wrote:
There is now a command line option to print the image version.
To test it:
wget --quiet -qO - http://pharo.gforge.inria.fr/ci/ciPharo20NBCog.sh | bash
make sure it's the latest: ./vm.sh Pharo.image update
now print version: ./vm.sh Pharo.image printVersion
==> should print "[version] 2.0 #20402"
This can be used in Jenkins with the "Description Setter" Plugin. Configure it like this:
Regular expression: \[version\] (.*) Description: \1
Marcus
-- Marcus Denker -- http://marcusdenker.de
I was wondering how the addition of options is managed. I mean how we know that we got what we really should have as option on the command line? Stef On Nov 16, 2012, at 7:12 PM, Marcus Denker wrote:
There is now a command line option to print the image version.
To test it:
wget --quiet -qO - http://pharo.gforge.inria.fr/ci/ciPharo20NBCog.sh | bash
make sure it's the latest: ./vm.sh Pharo.image update
now print version: ./vm.sh Pharo.image printVersion
==> should print "[version] 2.0 #20402"
This can be used in Jenkins with the "Description Setter" Plugin. Configure it like this:
Regular expression: \[version\] (.*) Description: \1
Marcus
-- Marcus Denker -- http://marcusdenker.de
On Nov 16, 2012, at 7:14 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
I was wondering how the addition of options is managed. I mean how we know that we got what we really should have as option on the command line?
That is a good question. In the end I want the command line API mirror to some extend the API of Image objects (which we don't have yet but will have eventually). So what is the API of an image reified as an object? The main client is the build server... so the idea is to add just what we need to manipulate images "from the outside" which is in this case the command line. We should always ask if it is really needed. Marcus -- Marcus Denker -- http://marcusdenker.de
participants (3)
-
Marcus Denker -
Stéphane Ducasse -
Sven Van Caekenberghe