Beau E. Cox wrote: > Hi - > > Congrats on your 6.2.11 release! > > Did the development (svn) version really jump to 6.28.0?
Yes. Major pugs releases are numbered by adding the next digit of 2*pi, rather than the more conventional x.y+1 :-) > I am running some scripts to automate a refresh of parrot and > pugs weekly so I can stay in tune with the current effort. > To identify my svn downloads by version and revision I: > > 1) slurp ChangeLog and pull version from /(\d+.\d+\.\d+)/s. > 2) get revision from the svn output: > revision=$(tail -n1 svn.log|perl -e ';$_=<>;$r=/rev.*?(\d+)/i ? $1 : > "";print $r') \ clever, but ugh. > Two questions: > > 1) Are version and revision available in the source tree in a > format easier to use? yes: VERSION can be parsed from META.yml with any handy YAML parser e.g. `perl -MYAML -e 'print YAML::LoadFile("META.yml")->{version}'` REVISION can be gotten with `svnversion .` > 2) If not, would the group consider maintaining a VERSION or > VERSION and REVISION files in the root of the tree that > could simply be cat'ed? META.yml