Pregenerated files: repo freeze and discourse

Gedare Bloom gedare at
Thu Aug 2 19:30:07 UTC 2012

I have brought some slightly bit-rotted work up-to-date so I can
better evaluate how generated files affect patches.

Here is a commit as it would exist without generated files:

Here is the commit that results from generating files:

Note that the commit of just auto-gen files is twice the size of the first.

In practice we should make the generated files commit together with
the changes to the sources so that we have atomic changesets and a
consistent build practice. So here is the commit that is the "right"
way to do it with autogenerated files as far as I can tell:

This changeset was bad enough to review and maintain before including
generated files, with lots of minor changes through the bsp build
tree, and now to get an atomic change we should also interleave
generated files with source modifications.

So, who is going to sift through the muck to review the modifications
made to .am and .ac files for modifying the build due to
adding/removing files? Especially when those modifications are mixed
with the new / removed files, and the code that uses those new/removed


On Wed, Aug 1, 2012 at 5:19 PM, Gedare Bloom <gedare at> wrote:
> And I did it again and now there is no difference. SO I am
> all-together confused.
> On Wed, Aug 1, 2012 at 4:11 PM, Gedare Bloom <gedare at> wrote:
>> On Wed, Aug 1, 2012 at 3:09 AM, Ralf Corsepius <ralf.corsepius at> wrote:
>>> It all condenses down into:
>>> - Make sure to have the nominal versions of the autotools in $PATH.
>>> - Make sure to have your Makefile.ins and configures in git.
>>> - After having run a toplevel ./bootstrap git diff must be empty.
>> From where I sit this is not the case. I have updated tools (I think!)
>> and the git head, bootstrap -c then bootstrap then git diff gives me a
>> diff file containing 1751 lines. I don't even know where to start.
>> What is the "authoritative" versions of tools? How do I know when to
>> update my automake/conf? Who decides when to push changes to generated
>> files?
>> -Gedare

More information about the devel mailing list