# Version Control Folders - Alphabetical Groupings

**URL:** <https://forums.buildingsmart.org/t/version-control-folders-alphabetical-groupings/1662>\
**Category:** IfcDoc Tool\
**Created:** [August 6, 2019, 9:56am UTC](https://forums.buildingsmart.org/t/version-control-folders-alphabetical-groupings/1662 "2019-08-06T09:56:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonm](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/jonm/32/16_2.png) [@jonm](https://forums.buildingsmart.org/u/jonm)\
**Post date:** [August 6, 2019, 9:56am UTC](https://forums.buildingsmart.org/t/version-control-folders-alphabetical-groupings/1662/1 "2019-08-06T09:56:20Z")

</div>

In development of the version control folder listing of the definition of IFC from IfcDoc, I trialed grouping of entities into alphabetical folders. This resulted in something like this:

 ![190129%20ifcdoc%20git](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/1X/8bd6c6c216e07405afa807c9fdcbdf08db624716.png)

I’m worried about this approach though, as it requires either a predetermination of some number of entities at which to group into subfolders (and when a list is at a threshold an undesireable momental change), or a bespoke attribute decorator (at the moment the serializer has no dependency on the ifc definition data structure and vice versa). This isn’t ideal, as now on github you get the effect of listing truncation.

 ![190806%20properties](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/1X/ef149acc6354f3046a9aabfc1b9513c2ce2403be.png)

It might be a single letter might get 1000 files at some point in time, you can still access the entity by predetermined URL.

Any thoughts and opinions?

---

<div class="post-metadata">

**Author:** ![jwouellette](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/jwouellette/32/2140_2.png) [@jwouellette](https://forums.buildingsmart.org/u/jwouellette)\
**Post date:** [August 6, 2019, 3:16pm UTC](https://forums.buildingsmart.org/t/version-control-folders-alphabetical-groupings/1662/2 "2019-08-06T15:16:57Z")

</div>

@jonm Is it necessary to flatten the original IFC hierarchy for such development?

---

<div class="post-metadata">

**Author:** ![jonm](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/jonm/32/16_2.png) [@jonm](https://forums.buildingsmart.org/u/jonm)\
**Post date:** [August 6, 2019, 9:17pm UTC](https://forums.buildingsmart.org/t/version-control-folders-alphabetical-groupings/1662/3 "2019-08-06T21:17:14Z")

</div>

Note that not all concepts are globalized. Most remain structured into sections and schemas. The concepts that are globalized are constants, property constants, property enumerations, properties and quantities. This is to facilitate and encourage greater reuse, and maintain consistency for the repository when schema changes occur. Maintenance of duplicate concepts is a burden, in particular with respect to translations and the like.

In answer to my original questions, I’m implementing nesting control as the dotnet decorator [XmlArrayItem(NestingLevel = 2)] to control sub folder nesting. It’s not pure but it will function and we can swap it for a bespoke attribute if consensus prefers that.
