-
Notifications
You must be signed in to change notification settings - Fork 27
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
Create .repo with dependent repositories #60
Comments
OK, but we need to specify it more precisely. Should such .repo be part of the RPM we already have or shell I add another RPM? If I add new repos, it may lead to collisions (if two or more collections depend on the same one). How about to sym-link the RPMs containing .repo files of dependencies to the current repository? |
I've actually had a similar idea about depended repositories on my mind already some time, but I'd rather build it in copr directly, because it is the place where we define repositories available for dependencies etc. In the end we could create one repository with all SCL collections, which would be more similar how RHSCL works. So, my idea was to be able to specify depended coprs and create a new bigger repo from all packages in all depended coprs + packages in this particular copr. Then we do not need to specify a repository for depended packages, it would be done automatically and correctly for all buildroots. |
As for the implementation, I guess hardlinks are what we would need here, since symlinks could break when package disappears from depended repo and the new repo is not re-generated yet. The re-generation itself might get tricky as well, since we might do it automatically or manually, both has advantages and disadvantages at the same time. |
Would not be better to have command which would care about it? Like"
which would comunicate via API to softwarecollection.org or even Copr? |
I don't think moving this functionality to |
We use an RPM package to enable the SCL repository, right? What if we put those RPMs into another repository ("of repositories") and make the RPMs dependent on each other? User would install the main "repository of repositories" in their system. Than they would install a repo of desired collection with yum/dnf - which would also installed all other repos needed. And they are ready to use! |
In case of dependencies between repositories, users have to find and enable each dependent repository. In case of passenger40 it means to enable 7 different repositories.
It would be great to generate .repo with all the dependent repositories, so user could download/enable just single .repo which would later enable all the dependencies.
The text was updated successfully, but these errors were encountered: