* [gentoo-dev] Re: Avoiding rebuilds
@ 2014-08-01 20:49 99% ` Martin Vaeth
0 siblings, 0 replies; 1+ results
From: Martin Vaeth @ 2014-08-01 20:49 UTC (permalink / raw
To: gentoo-dev
Steven J. Long <slong@rathaus.eclipse.co.uk> wrote:
>>
>> > It will probably also cause confusion for comaintainers and
>> > collaborators, especially when INSTALL_VERSION points to a version
>> > that has already been removed.
>
> So use another name that can't be confused.
Perhaps there is a misunderstanding: I did not understand that the
confusion is caused by the name, but by the lack of information
about its entries:
For instance, if you bump a version, you must never forget to
check whether this variable needs to be updated.
Moreover, if you want to update that variable, you should
understand precisely why which version is listed here
in order to decide whether a recompile from that version
might be needed with the current bump or not.
This decision is not necessarily easy if the corresponding
referred ebuilds are already in the CVS attic.
Of course, if in doubt, it is a safe strategy to always
remove that variable (it can only cause redundant compilation,
while it can be fatal if you leave a version falsely).
Therefore, an automatism to "forget" this variable automatically
if not changed would be preferrable, but one would need a mechanism
for this (I have only some strange ideas for such a mechanisms:
One could encode the current ebuild version into the name of
that variable; or one could require that the current version
is the first entry in this variable [although, semanatically,
it is ignored and just serves as a "proof" that the ebuild
maintainer checked that variable]).
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-07-21 19:37 [gentoo-dev] don't rely on dynamic deps hasufell
2014-07-21 21:52 ` Alexander Berntsen
2014-07-22 7:25 ` "Paweł Hajdan, Jr."
2014-07-22 18:44 ` Kent Fredric
2014-07-26 14:12 ` [gentoo-dev] " Martin Vaeth
2014-07-26 22:43 ` Kent Fredric
2014-07-27 7:16 ` Martin Vaeth
2014-07-27 10:16 ` [gentoo-dev] Avoiding rebuilds (was: don't rely on dynamic deps) Ulrich Mueller
2014-07-27 13:45 ` [gentoo-dev] Avoiding rebuilds hasufell
2014-07-28 5:49 ` [gentoo-dev] " Martin Vaeth
2014-08-01 9:35 ` Steven J. Long
2014-08-01 20:49 99% ` Martin Vaeth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox