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

Maciej (Matchek) Bliziński maciej at opencsw.org
Fri May 25 17:03:32 CEST 2012


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.


More information about the maintainers mailing list