Summary: | savedconfig.eclass: only show elog messages on first install | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | Eclasses | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeroen Roovers (RETIRED)
2012-11-07 17:51:27 UTC
IIRC REPLACING_VERSIONS is an EAPI4 thing so we can't safely use it in the eclass (In reply to Jeroen Roovers from comment #0) > + if ! [[ "${REPLACING_VERSIONS}" ]]; then we don't like that form. use [[ -z ${REPLACING_VERSIONS} ]] instead. (In reply to Markos Chandras from comment #1) the var will also be empty on older EAPI's, so it won't induce any regressions, just make things better for newer EAPI's. i'm not 100% sure we even want to hide it though ... the path changes over time, although once a user reads it, i think it's reasonable to assume people can extrapolate the updates ... we could also add a `use savedconfig` check ... presumably if the user has enabled the USE flag, they know how it works and don't need to be informed. actually, how about a completely different idea. we delete the elog messages altogether and update the savedconfig USE flag description to tell people to read `man savedconfig.eclass` for details on how it works. |