[pca] pca --update downgrades dev version
Martin Paul
martin at par.univie.ac.at
Thu Jan 7 10:17:17 CET 2010
Alexander Skwar wrote:
> This behaviour kinda surprised me - I would've expected,
> that it would either fetch the most recent version (in case
> stable is newer then dev) or it would always stay in the same
> "channel" (ie. dev always and ever upgrades to latest dev
> and stable to stable).
It's the "pcaurl" setting which should be used to decide on whether to
follow the stable or development track. By default, it's set to
http://www.par.univie.ac.at/solaris/pca/stable/ (the stable release). To
use the development track, set it to
http://www.par.univie.ac.at/solaris/pca/develop/.
So the behaviour in your example is kind of expected - the update
mechanism will look for the most recent stable version due to the
"pcaurl" setting, and as it's different (there's no "<" or ">" check,
just "!=") than what you're running, it updates it. The pca script
itself doesn't even know whether it's a development or stable release,
it only has its version number.
So the conclusion would be: If using pca's internal update mechanism,
decide on whether you want to use stable or development versions and set
"pcaurl" accordingly.
Martin.
More information about the pca
mailing list