-
Notifications
You must be signed in to change notification settings - Fork 0
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
Files-to-artifacts database / API / mapping #54
Comments
We talked with Matt last week and we may be able to unblock this. The main issue is deployment and maintenance of infrastructure. We have several venues to explore:
|
@zklaus shared some progress about the git-db prototype in today's mgmt call. Can you add some summary here? 🙏 Also some numbers to give an idea of the scale we are dealing with:
|
The main idea is to store the mapping in a bare git repository. By using libgit2 via its Python binding pygit2 we avoid the need to create a huge tree on the filesystem. I have created a prototype at https://github.com/zklaus/cfgraphman which is able to add individual artifacts from their json info to the Git odb. It remains to be seen how this scales, which will be subject of further investigation over no more than this and the next week. |
https://github.com/jaimergp/conda-forge-paths is now ready as a self-updating sqlite releaser, which is then queried by a VM in the GPU CI server. This VM has a systemd config and a crontab downloads the latest sqlite dump every Tuesday, restarts the https://conda-metadata-app.streamlit.app/Search_by_file_path has the UI-friendly prototype :) |
Provide a way for users to find which package(s) provide a certain file (e.g. a header, or a library, or an executable), similar to what portals like pkgs.org do.
We do have the info in the database designed in https://github.com/Quansight-Labs/conda-forge-db, but we need to serve it somewhere, preferably serverless or close-to-zero maintenance (e.g. one-click deployment). This is tricky because populating the database from scratch has a non-negligible overhead.
Tasks
The text was updated successfully, but these errors were encountered: