Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676862 - www-apps/mediawiki: post-upgrade instructions display wrong version
Summary: www-apps/mediawiki: post-upgrade instructions display wrong version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-29 18:11 UTC by Steve Kalemkiewicz
Modified: 2019-06-12 09:02 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 Steve Kalemkiewicz 2019-01-29 18:11:40 UTC
The post-upgrade instructions displayed after using `webapp-config -U` contains text that is probably intended to display the current MediaWiki version number but is actually displaying a hard-coded version number.

This can be observed performing an upgrade to mediawiki-1.27.3 and mediawiki-1.31.1.

Both ebuilds use "files/postupgrade-1.16-en.txt" for the text.

The text is:

Upgrade extensions
==================

Certain extensions have been updated in order to work with MediaWiki 1.13. Be
sure to upgrade to the latest versions of such extensions. You might need to
perform manual updates to custom extensions.

Not sure if there is a field/macro available that would contain the current version *when the upgrade operation is executed*. ${PV} possibly?
Comment 1 Larry the Git Cow gentoo-dev 2019-06-12 09:02:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48090e9d185a974d8454605290c83866711ef4fe

commit 48090e9d185a974d8454605290c83866711ef4fe
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2019-06-12 09:01:18 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2019-06-12 09:01:18 +0000

    www-apps/mediawiki: fixed test in postupgrade file
    
    version variable is not available in webapp-config
    
    Closes: https://bugs.gentoo.org/676862
    Package-Manager: Portage-2.3.67, Repoman-2.3.14
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 www-apps/mediawiki/files/postupgrade-1.16-en.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)