-
Notifications
You must be signed in to change notification settings - Fork 23
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
Contents-amd64.gz #71
Comments
I moved this issue here from Bloom as the Contents index is generated by the repository tool not bloom. According to the reprepro man page "is quite slow, you have been warned". I'm not sure how slow is slow but I expect that it would be prohibitive for us to apply the config option to generate them globally as we'd have to rebuild it on every package import. It might be something that we could add to just the main repository depending on how it affects the running time of a sync-to-main job which would be enough to get it on the main ROS repositories. |
Even if the data was fairly stale I think it would be a huge help trying to figure out which package owns which file in |
I was about to post a new issue asking for this. It would indeed be very nice if
Additionally, it would make things like this possible/easier. @nuclearsandwich: you mention you're hesitant to enable generation of Would you see a chance to test exactly what sort of overhead it would add? |
Yeah, this is definitely a situation where pushing this onto the community support is a harder technical challenge. In all honesty, my maintenance backlog is pretty full up at present with other build farm efforts. I always try to use the time surrounding ROSCon to deep dive on community issues, maybe this year I'll spend that time getting Contents file generation working for the We sync those repositories infrequently enough that as long as the runtime impact is in the minutes to seconds range for each platform there should be no serious blockers to rolling it out there. Whether it can be enabled on the testing repo will depend on how it works on main and honestly even if the impact is extremely minor we've got a lot of work going into reducing the time it takes to import single packages into the building repo and re-generating a Contents file on each import is probably out of the question. But with very few exceptions the building repository is not meant to be used directly except by buildfarm processes. |
I would personally not be interested in |
I've been looking, but I can't really find whether |
I don't think reprepro itself distinguishes between individual package imports and our larger sync processes or has any batching capability at all. The ROS build farm operations are just wrappers around reprepro commands. I'm watching the architecture of createrepo-agent with a lot of excitement hoping that we can adapt the general framework for apt repositories either with reprepro or another low level repository tool which can really accelerate performance tailored to our workload. removefilter, deleteunreferenced, and update for syncs. removefilter and include for package imports. The contents file generation is apparently configurable per distribution so it's something that we could readily control for just |
I'm not sure if this issue belongs somewhere else, but I'm not sure where it goes.
I use
apt-file
regularly to figure out which package is responsible for a file, but it doesn't work with the ROS repository.Is it possible to generate this data?
The text was updated successfully, but these errors were encountered: