Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440566 - app-vim/gentoo-syntax-20120109: some elog messages should only be shown when upgrading from an old enough package.
Summary: app-vim/gentoo-syntax-20120109: some elog messages should only be shown when ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben de Groot (RETIRED)
Depends on:
Blocks: first-time-messages
  Show dependency tree
Reported: 2012-10-31 11:29 UTC by poletti.marco
Modified: 2013-06-19 08:09 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description poletti.marco 2012-10-31 11:29:29 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package app-vim/gentoo-syntax-20120109, the following elog messages are displayed:

 * Note for developers and anyone else who edits ebuilds:
 *     This release of gentoo-syntax now contains filetype rules to set
 *     fileencoding for ebuilds and ChangeLogs to utf-8 as per GLEP 31.
 *     If you find this feature breaks things, please submit a bug and
 *     assign it to You can use the 'ignore-glep31' USE
 *     flag to remove these rules.

Such messages should only be displayed when the package is upgraded from an old enough package (and possibly for new installs).
These situations can be checked in the ebuild as follows:

if has_version '<app-vim/gentoo-syntax-1.0'; then

Or, if the message should also be displayed for new installs:

if !has_version 'app-vim/gentoo-syntax' || has_version '<app-vim/gentoo-syntax-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 Tim Harder gentoo-dev 2013-06-19 08:09:56 UTC
Fixed in >=gentoo-syntax-20130619.