Skip to content

Problems with Success: 1000 Packages! #2094

@citibeth

Description

@citibeth

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:

https://github.com/LLNL/spack/tree/develop/var/spack/repos/builtin/packages

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:

  1. Arrange by first letter (aka EasyBuild). We'd have packages/a, packages/b, ..., packages/z and then put each package in the appropriate directory.
  2. Leave everything in the main directory, except for certain subsystems. We'd have subdirectories for py/, r/, x/, lua/, etc.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions