Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399437 - app-office/libreoffice-3.5.0.1 has wrong version number
Summary: app-office/libreoffice-3.5.0.1 has wrong version number
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-19 23:59 UTC by Marc Schiffbauer
Modified: 2012-02-26 22:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schiffbauer gentoo-dev 2012-01-19 23:59:02 UTC
Hi folks,

this ebuild installs in fact Version 3.5.0rc1 (according to the Help->About info)

Is there any reason this ebuild has that version number and not 3.5.0_rc1?

I am a little bit puzzled about the ebuild version numbers for libreoffice... 8)

TIA
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2012-01-20 11:36:52 UTC
because rcs are done this way, if there wont be any more fixes the 3.5.0.1 will be declared final. That is why you mostly get just 3.4.5.2 (which is 3.4.5rc2 declared as final).
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2012-01-20 11:59:39 UTC
For what it's worth: I fully agree with Marc on that. The current numbering scheme is plain wrong, it puts the build-number top-front instead of the actual real release name - and this is confusing to users. There was a good reason why I did it the other way around in earlier releases, sometimes it might be useful to not just throw away all the experience that was accumulated over the years ;)
Comment 3 Marc Schiffbauer gentoo-dev 2012-01-20 12:48:36 UTC
Tomáš,

I think your point is that this avoids the unnecessary rebuild of the last rc, right?
And I think this point is important because it really takes along time for this beast being built, so thanks.

But OTOH its really a bit confusing. Do we have some mechanism in portage to rename a version without rebuild? This would be a good usecase for such a feature.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-14 19:14:15 UTC
There is no mechanism for the rebuilds yet in portage.

It is being discussed upstream to use actual rc in the name and force the rebuild because current release propagates itself as RC3.

Anyway it is not a problem as usually all the rcs are hardmasked, it was not the case for 3.5.0 as I wanted it to get more testing. Probably won't do it next time.

If people can live that this package will have weird name like 3.5.1.4 or 3.7.2.3 instead of 3.5.1 or 3.7.2 i think this can even be closed.
Comment 5 David 2012-02-15 03:57:12 UTC
I could easily be ignorant on this topic, but it seems that the official Gentoo Development Guide discusses this issue...

http://devmanual.gentoo.org/ebuild-writing/file-format/index.html


Specifically, there is the "_rc" suffix, which can be appended to the version number.   And for multiple release candidates in a series, "any of these suffixes may be followed by a non-zero positive integer."


Which is how upstream does it, it appears.  For example:

http://download.documentfoundation.org/libreoffice/testing/3.5.0-rc3/rpm/x86/LibO_3.5.0rc3_Linux_x86_install-rpm_en-US.tar.gz



So, now I am thinking about "3.5.0 Final" and the use of "3.5.0" by upstream.  For example:

http://download.documentfoundation.org/libreoffice/stable/3.5.0/rpm/x86/LibO_3.5.0_Linux_x86_install-rpm_en-US.tar.gz



And so, is libreoffice-3.5.0.3.ebuild equivalent to "3.5.0 Final"?   Or, will "3.5.0 Final" be named libreoffice-3.5.0.4.ebuild?   Either way, how would a user know which one is "3.5.0 Final"?


And, what if upstream were to release a 3.5.0.1?   Wouldn't that mess up the current Gentoo LibreOffice version number scheme?   (or, perhaps upstream wouldn't add a 4th digit like that?)


(Please ignore this comment if it is completely unhelpful.  None of the above is to diminish my appreciation for the work Tomáš Chvátal has put into the package itself)
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-15 08:11:07 UTC
I am using upstream numbering, the 3.5.0.3 is upstream version of sources, they get renumbered wrt release of rpms to 3.5.0rc3 which indeed are final release for 3.5.0.

For more look here:
http://download.documentfoundation.org/libreoffice/src/3.5.0/

So we don't have to worry that we clash with upstream, I just didn't want to use different name for ebuild and for the final, because if i would rename 3.5.0.3 to 3.5.0_rc3 and upstream then decide it is final i would have to copy the ebuild to 3.5.0 and you would all needlessly rebuild the package.
Comment 7 David 2012-02-15 15:37:34 UTC
Cool, thanks.  Makes sense.

I'm still wondering, though, how would a regular user know which ebuild is "3.5.0 Final" when only RC versions are listed.

I see the benefit of avoiding a needless rebuild.  But that benefit, it seems, is limited to just those running "testing" and does not apply for the rest of the Gentoo world running "stable".

BTW, today I read http://blogs.gentoo.org/scarabeus/2012/02/14/the-new-disk/.   Thanks for the update and for staying in the game.    :-)
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2012-02-26 22:35:55 UTC
In the end this is at maintainer's discretion.