Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-23 Thread Jeff Johnson
On Dec 22, 2008, at 11:58 AM, Per Øyvind Karlsen wrote: What is the DISTURL then ? Home page of "distro", or some ID-like thing ? No idea, ask Jeff. ;) RPMTAG_DISTURL is a never used implementation because the requestor (and the organizations the requestor particpated in, rpmfind.org and

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-22 Thread Anders F Björklund
Per Øyvind Karlsen wrote: Well, for Mandriva 'Distribution:' would still be 'Mandriva Linux' while 'DistTag': would be 'mdv'. And elsewhere, they have Distribution = Unknown and Vendor = Fedora Project Oh, really? I thought they had more similar to us, ie. we have 'Vendor: Mandriva' & 'Dis

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-22 Thread Per Øyvind Karlsen
2008/12/22 Anders F Björklund > Per Øyvind Karlsen wrote: > > So this "DISTEPOCH" would also work for "OSVERSION" on other systems ? >>> >>> Like "darwin8" or "10.5osx" or "freebsd-7.0" or whatever it might be ? >>> >> Yes, that's kinda the idea, except for DISTEPOCH would only contain the >> ve

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-22 Thread Anders F Björklund
Per Øyvind Karlsen wrote: So this "DISTEPOCH" would also work for "OSVERSION" on other systems ? Like "darwin8" or "10.5osx" or "freebsd-7.0" or whatever it might be ? Yes, that's kinda the idea, except for DISTEPOCH would only contain the version, where the DISTTAG would contain the shor

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-22 Thread Per Øyvind Karlsen
2008/12/22 Anders F Björklund > Per Øyvind Karlsen wrote: > > So this "DISTEPOCH" would also work for "OSVERSION" on other systems ? >> >> Like "darwin8" or "10.5osx" or "freebsd-7.0" or whatever it might be ? >> Yes, that's kinda the idea, except for DISTEPOCH would only contain the >> version,

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-22 Thread Per Øyvind Karlsen
2008/12/22 Jason Corley > On Fri, Dec 19, 2008 at 9:57 PM, Per Øyvind Karlsen > wrote: > > So WDYT? > > This seems like yet another magic bit in RPM comparisons with which to > confuse newbies and old hats alike... Think of how many times you've > explained epoch to someone on IRC, now add yet a

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-22 Thread Anders F Björklund
Per Øyvind Karlsen wrote: So this "DISTEPOCH" would also work for "OSVERSION" on other systems ? Like "darwin8" or "10.5osx" or "freebsd-7.0" or whatever it might be ? Yes, that's kinda the idea, except for DISTEPOCH would only contain the version, where the DISTTAG would contain the short os

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-22 Thread Jason Corley
On Fri, Dec 19, 2008 at 9:57 PM, Per Øyvind Karlsen wrote: > So WDYT? This seems like yet another magic bit in RPM comparisons with which to confuse newbies and old hats alike... Think of how many times you've explained epoch to someone on IRC, now add yet another factor to comparison operators.

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-22 Thread Per Øyvind Karlsen
2008/12/22 Anders F Björklund > Per Øyvind Karlsen wrote: > > I've modified DISTTAG tag to be specified in macros file just like >> DISTRIBUTION, VENDOR etc. >> and commited it to CVS already. >> Here's my next step, a DISTEPOCH tag where distribution version can be >> added. >> >> This will cha

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-22 Thread Per Øyvind Karlsen
2008/12/22 Per Øyvind Karlsen > 2008/12/21 Arkadiusz Miskiewicz > >> On Saturday 20 of December 2008, Per Øyvind Karlsen wrote: >> > I've modified DISTTAG tag to be specified in macros file just like >> > DISTRIBUTION, VENDOR etc. >> > and commited it to CVS already. >> > Here's my next step, a

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-22 Thread Anders F Björklund
Per Øyvind Karlsen wrote: I've modified DISTTAG tag to be specified in macros file just like DISTRIBUTION, VENDOR etc. and commited it to CVS already. Here's my next step, a DISTEPOCH tag where distribution version can be added. This will change EVR to EVRD which will be represented as %{E

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-22 Thread Per Øyvind Karlsen
2008/12/21 Arkadiusz Miskiewicz > On Saturday 20 of December 2008, Per Øyvind Karlsen wrote: > > I've modified DISTTAG tag to be specified in macros file just like > > DISTRIBUTION, VENDOR etc. > > and commited it to CVS already. > > Here's my next step, a DISTEPOCH tag where distribution version

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-22 Thread Per Øyvind Karlsen
2008/12/20 Jeff Johnson > Quoting > > "Br'er Fox, please don't throw me in the briar patch!", sez Br'er Rabbit. > [1] > Adding another structural field to package identifiers everywhere > just adds complexity for no important gain imho. > > The lossages with DISTTAG (and REPOTAG and no DISTEPOCH}

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-21 Thread Jeff Johnson
On Dec 21, 2008, at 8:45 AM, Ralf S. Engelschall wrote: Jeff, please feel free to adjust this stuff to better fit your needs. For OpenPKG I actually just need the special case where a whole "V" is matched by a single "*", i.e., "foo >= *-1.2.3". This currently is the only functionality I really

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-21 Thread Ralf S. Engelschall
On Sun, Dec 21, 2008, Jeff Johnson wrote: > [...] > The OpenPKG patch attempts to be more general than > the suffix wildcard example I gave, and so has > some peculierness associated if embedded, not > appended, within a V or R string. > > The following character, not the following character class

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-21 Thread Jeff Johnson
On Dec 21, 2008, at 3:54 AM, Jeff Johnson wrote: On Dec 21, 2008, at 3:28 AM, Jeff Johnson wrote: Time to get out of the briar patch methinks. Since we're on the topic of EVR diddle-up's anyways ... There's a (fairly sensible imho) OpenPKG patch to treat '*' as a wildcard suffix for V o

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-21 Thread Ralf S. Engelschall
On Sun, Dec 21, 2008, Jeff Johnson wrote: > On Dec 21, 2008, at 3:28 AM, Jeff Johnson wrote: > >> Time to get out of the briar patch methinks. > > Since we're on the topic of EVR diddle-up's anyways ... > > There's a (fairly sensible imho) OpenPKG patch to treat '*' > as a wildcard suffix for V or

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-21 Thread Jeff Johnson
On Dec 21, 2008, at 3:28 AM, Jeff Johnson wrote: Time to get out of the briar patch methinks. Since we're on the topic of EVR diddle-up's anyways ... There's a (fairly sensible imho) OpenPKG patch to treat '*' as a wildcard suffix for V or R comparisons. So Requires: rpm = 4.4.2* will

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-21 Thread Jeff Johnson
On Dec 21, 2008, at 2:24 AM, Arkadiusz Miskiewicz wrote: On Saturday 20 of December 2008, Per Øyvind Karlsen wrote: I've modified DISTTAG tag to be specified in macros file just like DISTRIBUTION, VENDOR etc. and commited it to CVS already. Here's my next step, a DISTEPOCH tag where distributi

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-20 Thread Arkadiusz Miskiewicz
On Saturday 20 of December 2008, Per Øyvind Karlsen wrote: > I've modified DISTTAG tag to be specified in macros file just like > DISTRIBUTION, VENDOR etc. > and commited it to CVS already. > Here's my next step, a DISTEPOCH tag where distribution version can be > added. > > This will change EVR to

Re: new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-19 Thread Jeff Johnson
Quoting "Br'er Fox, please don't throw me in the briar patch!", sez Br'er Rabbit. [1] Adding another structural field to package identifiers everywhere just adds complexity for no important gain imho. The lossages with DISTTAG (and REPOTAG and no DISTEPOCH} are perhaps easier (for

new DISTEPOCH tag and cleaning of RELEASE tag polution

2008-12-19 Thread Per Øyvind Karlsen
I've modified DISTTAG tag to be specified in macros file just like DISTRIBUTION, VENDOR etc. and commited it to CVS already. Here's my next step, a DISTEPOCH tag where distribution version can be added. This will change EVR to EVRD which will be represented as %{EPOCH}:%{VERSION}-%{RELEASE}:%{DIST