Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[service] Intermediate level of subdirectories in recipes directory #25549

Open
DenizThatMenace opened this issue Oct 7, 2024 · 1 comment
Open
Assignees
Labels
question Further information is requested

Comments

@DenizThatMenace
Copy link

What is your problem/feature request?

The recipes directory contains recipes for more than 1700 libraries. As a result it also directly contains this amount of directories; one directory per library.
Sadly, these directories are in a flat hierarchy so that Github hits an upper limit of directories it can display. It shows the following error-message when trying to show the recipes directory via Github's Web-UI:

Sorry, we had to truncate this directory to 1.000 files. 784 entries were omitted from the list. Latest commit info may be omitted.

As a consequence I need to git clone this repository in order to see the list of all libraries.


Would it be possible to instead create an intermediate level of directories with a directory per starting-letter?
For example:

recipes/
├── 7
│   ├── 7bitconf
│   ├── 7bitdi
│   ├── ...
│   └── 7zip
├── a
│   ├── aaf
│   ├── aaplus
│   ├── ...
│   └── azure-storage-cpp
...
└── z
    ├── ...
    ├── zlib
    └── zlib-ng
    └── ...

Further questions are:

  • Would this still work with the conan utility and other resources (e.g. https://conan.io/center)?
  • If not, what changes might be required for it to work again?
  • ...

I suggest, that now would be a good time to make such a change, because the backwards-compatibility of recipes will already start to decrease due to dropping support for Conan 1 (see #25461), so that this change could be adopted for a "Conan 2 only" recipe repository.

@uilianries
Copy link
Member

@DenizThatMenace Hello and thank you for communicating your scenario.

Unfortunately we can not change the directory structure as the CI service is very dependent of that folder tree, and adding one level will require several changes in the CI code.

Indeed I understand your case, as I use the Github web to see recipes too and we have this limit of 1000 files, but we are not alone, as it's affecting other projects too. Doing a quick search I found this discussion to Github Comunity: https://github.com/orgs/community/discussions/21480

As suggestion, I would recommend jumping to the recipe directly, e.g boost: https://github.com/conan-io/conan-center-index/tree/master/recipes/boost

@uilianries uilianries self-assigned this Oct 7, 2024
@uilianries uilianries added the question Further information is requested label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants