[csw-maintainers] cannot set overrides for Emacs: please review

Dagobert Michelsen dam at opencsw.org
Sat May 26 21:22:48 CEST 2012


Hi,

Am 25.05.2012 um 17:03 schrieb Maciej (Matchek) Bliziński:
> 2012/5/25 Ben Walton <bwalton at opencsw.org>:
>> Excerpts from Maciej (Matchek) Bliziński's message of Fri May 25 10:43:17 -0400 2012:
>>>> After modifying overrides, you need to run: mgar remerge
>>>> 
>>>> The merge step generates the overrides file and it needs to be rebuilt
>>>> after any change.
>>> 
>>> Dago, even when GAR doesn't regenerate the overrides during repackage
>>> stage, could it at least detect that there's a problem?
>> 
>> This is likely a bit unorthodox, but if the target that generates the
>> overrides file had a dependency on trunk/Makefile, we could
>> automatically trigger a rebuild when the Makefile changes...
>> 
>> (There is probably a good reason not to do this though.)
> 
> It could be much simpler. Read the overrides from disk, generate
> overrides from the recipe. If there's a mismatch, fail early with a
> helpful error message. It's already an improvement and doesn't include
> much complexity in the code or the execution path.

This check is probably not more difficult than moving the overrides
to the packaging phase. I have opened a bug for now so it is not forgotten:
  https://sourceforge.net/apps/trac/gar/ticket/71


Best regards

  -- Dago



More information about the maintainers mailing list