dalehenrich / filetree

Monticello repository for directory-based Monticello packages enabling the use of git, svn, etc. for managing Smalltalk source code.
https://github.com/CampSmalltalk/Cypress
MIT License
133 stars 26 forks source link

Misaligned JSON metadata files #232

Open LinqLover opened 3 years ago

LinqLover commented 3 years ago

I originally reported this issue here: https://github.com/hpi-swa/Squot/issues/316 (The .ston file is not relevant in this context, of course). It would be great if the JSON files could be formatted a bit more consistently, i.e. closing brace with the same indentation a spacing as the relevant opening brace etc.

image image image

dalehenrich commented 3 years ago

I've got mixed emotions about changing file formats in "midstream". I tend to agree that the format can be improved, but when a release is made with a change in format, all projects end up with massive format only changes intermixed with semantic changes ... and even worse if multiple developers are contributing to the same project and one of them has not updated to the new format, you not only end up with massive changes, but then you have to deal with massive commit conflicts the majority of which are cosmetic ...

tonel has exactly the same problem ...

My plans for Rowan involves including a format type in one of the properties files that will make it possible for Rowan (at least) to adapt to a variety of tonel (and filetree) "canonical" file formats on a project by project basis and minimize the format churn introduced by by the different filetree and tonel formats that exist in the wild ...