
On 08.02.2012 11:29, Marcus Meissner wrote:
On Wed, Feb 08, 2012 at 11:09:13AM +0100, Stephan Kulow wrote:
On 08.02.2012 11:07, Vitezslav Cizek wrote:
Hi, * V Středa 8. únor 2012, 09:41:19 [CET] Johannes Meixner napsal:
Hello Stephan,
On Feb 3 10:55 Stephan Kulow wrote (excerpt):
During the last week I worked on a project that I have on my TODO list for just too long: sending out mails about the state of factory packages.
Today I got the first of those mails and I like it very much!
I like it too.
However, the script has problems with identifying versions numbers. From the script's output:
Packages with new upstream versions: perl-Authen-SASL - packaged: 2.15, upstream: 2.1401 perl-Convert-UUlib - packaged: 1.4, upstream: 1.34
These versions aren't newer.
Hmm, that's not my script. I just report what the "cpan digger" puts in the attribute. We might improve *that* script though.
It is really hard to differentiate that these versions are not numbers though. Or are there specific rules?
The rule is simple - if this outputs 1 the version is higher perl -e 'use version; print version->parse("2.15") <=> version->parse("2.1401"); But for cpan, all versions not in the modules file should not be packaged and that is 2.15, so I would just scratch that attribute. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org