Hi Andreas, I found that we had a few perl modules sitting in the Thrift.pm file which ended up being placed into the top level list of packages and versioned, so for example there's a "TApplicationException" that isn't in the Thrift:: namespace and it shows up in the master list of packages as a standalone thing. You can see evidence of this here:
https://issues.apache.org/jira/browse/THRIFT-4069 I'll get this cleaned up. I didn't expect that every .pm file in a distribution needed to have a version tag inside it. - Jim -----Original Message----- From: Andreas Koenig [mailto:andreas.koenig.7os6v...@franz.ak.mind.de] Sent: Monday, February 6, 2017 5:20 AM To: Jim King <jim.k...@simplivity.com> Cc: modules@perl.org Subject: Re: Versioning issue - older says latest? >>>>> On Sun, 5 Feb 2017 15:55:00 +0000, Jim King <jim.k...@simplivity.com> >>>>> said: > Hi, > In CPAN for “Thrift” it says the latest version is 0.9.3, however > 0.10.0 is available: What do you mean with "it"? I just asked a cpan shell and got: cpan[1]> m Thrift Module id = Thrift CPAN_USERID JKING (James E. King, III <CENSORED>) CPAN_VERSION 0.010000 CPAN_FILE J/JK/JKING/thrift/Thrift-0.10.0.tar.gz UPLOAD_DATE 2017-01-27 INST_FILE (not installed) > http://search.cpan.org/~jking/Thrift-0.10.0/ > Is this because the Thrift.pm module declares $our VERSION = “0.10.0” > instead of ‘v0.10.0’ ? > Also, do I need to put versions on every package defined in every file > or is it sufficient to just have the verison in the top file like it > is? It's up to you and your users. I'd make it dependent on how much orientation people will need when things go wrong. And it should probably be consistent across releases. -- andreas --------------------------------------------------------------------------------------- PRIVACY STATEMENT: This message is a PRIVATE communication. This message and all attachments are a private communication sent by SimpliVity and are considered to be confidential or protected by privilege. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the information contained in or attached to this message is strictly prohibited. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. ---------------------------------------------------------------------------------------