-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Problems with Success: 1000 Packages! #2094
Description
We recently passed the 1000-package mark. Yoohoo! Of course, growth always comes with problems. In this case, the problem is GitHub doesn't like directories with >1000 files. See, for example:
My suggestion is we allow for packages to exist in sub-directories of packages as well as at the top level; Spack should basically merge all the directories together when looking for packages. This gives us the most flexibility in how we choose to arrange packages in directories. For example, we could:
- Arrange by first letter (aka EasyBuild). We'd have packages/a, packages/b, ..., packages/z and then put each package in the appropriate directory.
- Leave everything in the main directory, except for certain subsystems. We'd have subdirectories for
py/,r/,x/,lua/, etc. - Arrange by "topic": utilities, astronomy, etc.
I like (2) first and (1) and (3) next, in that order. I dislike (3) because it's no longer obvious where to find a particular package (requires too many brain cells). (1) is at least systematic. But I think (2) will be not so hard, and will give us significant room to grow before any resulting directories reach 1000 files.