Re: [wpkg-users] revision number problem

2009-10-05 Thread Marco Gaiarin
Mandi! Rainer Meier
  In chel di` si favelave...

 This is true as well and has been introduced quite recently by a heavy
 improvement of the version comparison algorithm.

A little, probably unrelated question. There's a separator defined for
'internal subrevision'?
EG, for now i use, for firefox:

30141

for 3.0.14 internal revision 1; i use internal revision because i'm
human and male, so i make mistakes ;), and when i do that, i can fix
the packege augmenting only the internal revision.

Can i write now as:

3.0.14:1

or whatever separator i like, : , ; , -, |, ... different from dot to
mark them explicitly as 'internal revision'?


Thanks.

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] revision number problem

2009-10-05 Thread Rainer Meier
Hi Marco,

Marco Gaiarin wrote:
 A little, probably unrelated question. There's a separator defined for
 'internal subrevision'?
 EG, for now i use, for firefox:
 
   30141
 
 for 3.0.14 internal revision 1; i use internal revision because i'm
 human and male, so i make mistakes ;), and when i do that, i can fix
 the packege augmenting only the internal revision.
 
 Can i write now as:
 
   3.0.14:1
 
 or whatever separator i like, : , ; , -, |, ... different from dot to
 mark them explicitly as 'internal revision'?

Well as far as I remember the algorithm everything which is not a number can be
used as a separator (words, characters, punctuation marks)
So yes, a version number of 3.0.14:1 would be allowed
I think the evaluation would be as follows:
3.0.14 - 3.0.14:1 is newer
3.0.14:1 - 3.0.14:2 is newer
3.0.14:1 - 3.0.15 is newer
3.0.14:1 - 3.0.15:1 is newer

However this punctuation is very uncommon (I've never seen that before). I
suggest you to just add another period mark:

3.0.14.1

What I've seen some times is a release marker:

3.0.14r1

which shouold be supported by the algorithm:
3.0.14r1 is newer than 3.0.14
3.0.14r2 is newer than 3.0.14r1
3.0.15 is newer than 3.0.14r50

But I would prefer the simple punctuated notation above:
3.0.14.#


If in doubt which result the version comparison evaluation yields just open the
debug log file and look for Comparing version: 'x' = 'y'. entries.

br,
Rainer
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] revision number problem

2009-10-05 Thread Marco Gaiarin
Mandi! Rainer Meier
  In chel di` si favelave...

 However this punctuation is very uncommon (I've never seen that before). I

I will use ':' just for it's 'strangness': well suited to mark and
'internal' subrevision number...


Many thanks.

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] revision number problem

2009-10-02 Thread Malte Starostik
Hi Paul,

Am Freitag, 2. Oktober 2009 16:42:03 schrieb Paul McGrath:
 I have discovered a revision number issue with my packages.  It happened
  with Firfox.
 
 There was a security fix to Firefox 3.5.1 which I made as revision 3511 in
  my package.  When 3.5.3 came out I changed my revision to 353 but it has
  not updated a single PC.
 
 I thought that the revision setting was supposed to be based on 'different'
  and not on 'greater'.  I have revised a few packages were I have used
  smaller numbers for the revision but I haven't checked whether they have
  updated.  Do I presume now that they haven't?
 
 Please advise.
 Thanks
 Paul

When the revision number decreases, WPKG performs a downgrade.  For that to 
work, you need to add downgrade cmd=.../ actions to your package.  But as 
this isn't really a downgrade, I'd recommend to use the real version numbers 
as revisions.  Sth. like 3.5.1.1 = 3.5.3 will be correctly interpreted as 
an upgrade while 3511 = 353 will not.

Cheers,
Malte
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] revision number problem

2009-10-02 Thread Paul McGrath
Arrrghh... okay.  I will bear that in mind in the future
Thanks
Paul




-Original Message-
From: Malte Starostik [mailto:ma...@malte.homeip.net] 
Sent: 02 October 2009 15:56
To: wpkg-users@lists.wpkg.org
Cc: Paul McGrath
Subject: Re: [wpkg-users] revision number problem

Hi Paul,

Am Freitag, 2. Oktober 2009 16:42:03 schrieb Paul McGrath:
 I have discovered a revision number issue with my packages.  It happened
  with Firfox.
 
 There was a security fix to Firefox 3.5.1 which I made as revision 3511 in
  my package.  When 3.5.3 came out I changed my revision to 353 but it has
  not updated a single PC.
 
 I thought that the revision setting was supposed to be based on 'different'
  and not on 'greater'.  I have revised a few packages were I have used
  smaller numbers for the revision but I haven't checked whether they have
  updated.  Do I presume now that they haven't?
 
 Please advise.
 Thanks
 Paul

When the revision number decreases, WPKG performs a downgrade.  For that to 
work, you need to add downgrade cmd=.../ actions to your package.  But as 
this isn't really a downgrade, I'd recommend to use the real version numbers 
as revisions.  Sth. like 3.5.1.1 = 3.5.3 will be correctly interpreted as 
an upgrade while 3511 = 353 will not.

Cheers,
Malte
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users