Pregenerated files: repo freeze and discourse

Ralf Corsepius ralf.corsepius at rtems.org
Wed Aug 1 03:44:51 UTC 2012


On 07/31/2012 07:41 PM, Gedare Bloom wrote:
> Hello,
>
> I would like to request that we freeze all commits to RTEMS and
> consider what to do about including generated files in the repository.
> Agreement (much less consensus) was not reached and now we have a
> large number of automatically generated files in rtems.git that
> substantially bloats the size of the repository.

The sizes of the repos hardly has any impact on using the repos.


> So far I have not seen very clear explanation why adding these
> generated files to the git repository is the best solution long-term
> for RTEMS.
I already tried to explain this before.

The advantages are:
- No need for "bootstrap".
- Makes bugs in configuration files more visible.
- Makes user mistakes in configuration files more visible.
...


> The main problem we face is that switching branches with
> generated files is troublesome,
This is simply not true.

  Switching branches is supposed to wipe all such files away to replace 
them with the versions on the "switched-to branch".

I.e. try working on local branches with all changes kept in git.
When changing configure.acs/Makefiles.am, manually regenerate the files 
using autoreconf and commit the resulting changes.

> All developers should feel free to contribute to this discussion and
> weigh-in with suggestions about what should be done.
With all due respect, I do not see much sense in this. To me this 
discussion already has become a shit storm, because some 
semi-knowledgiable folks are spreading FUD.

People need to go through a learning curve and adopt their habits. 
that's all.

Ralf




More information about the devel mailing list