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

Point Copr repositories to Pulp #3383

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Commits on Sep 24, 2024

  1. frontend: point Copr repositories to Pulp

    Fix fedora-copr#3375
    
    Of course only for Copr projects that has configured to have their
    storage in Pulp, not all Copr projects.
    
    There are three possible options how to implement this.
    
    1. The Most straightforward is to not generate repofiles ourselves and let Pulp
       do it. The downside is that we would have to pass additional parameters (it
       is possible though) such as repo priority, module hotfixes attribute, etc,
       and figure out how to count repo downloads
    2. Generate repofiles ourselves, only point to `baseurl` in Pulp. This IMHO the
       best option for keeping compatibility between storage on the backend and in
       Pulp, so I implement this option in this PR.
    3. Adding a Lighttpd redirect for `baseurl` of the Pulp-stored projects to Pulp
       content URL. This will be needed in the future to ensure that users don't
       have to re-enable Copr repositories, once those projects are migrated to
       Pulp. But this will be hard to implement, so we decided to do it when the
       time comes.
    FrostyX committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    771696d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    35b1489 View commit details
    Browse the repository at this point in the history