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

scripts do not make update override easy #21

Open
ignatenkobrain opened this issue Aug 4, 2017 · 1 comment
Open

scripts do not make update override easy #21

ignatenkobrain opened this issue Aug 4, 2017 · 1 comment

Comments

@ignatenkobrain
Copy link
Member

Imagine, you have ceph in overrides and now you decide to override another version, only way you can do it either start from scratch (for whole override) which is time-consuming or find all old subpackages and manually wipe them.

@contyk
Copy link
Member

contyk commented Aug 17, 2017

I was removing some overrides just recently and I simply chose the second option. The thing I did was find repo/devel -name 'dbus*1.11.16*rpm' -delete and then regenerated the repodata (for which there's a separate script now -- repo/generate-repo-data.sh).

I know this might become a little more complex if the package has subpackages with very different names or even versions. I faintly remember you planned to enhance depchase so you could query it for a list of subpackages for a given SRPM NVR. We could then utilize that to, among other things, find all the binary NVRs in the repodata and find -delete them, plus update the Makefile to make it even more trivial, e.g. "put your SRPM NVRs to be deleted in this file and run make delete" or something like that. And then create an analogous make update that would implement that "automated bootstrap updates" idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants