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

fix(copr): do not error out for already created repo #1527

Merged
merged 2 commits into from Mar 28, 2022

Commits on Mar 28, 2022

  1. fix(copr): do not error out for already created repo

    When creating a Copr repository, if necessary, check for already created
    repository when creation fails. Should prevent premature failing due to
    a race condition.
    
    Fixes packit/packit-service#1403
    
    Signed-off-by: Matej Focko <mfocko@redhat.com>
    mfocko committed Mar 28, 2022
    Copy the full SHA
    fbcd80c View commit details
    Browse the repository at this point in the history
  2. tests: add test for already present copr repo

    Add test to make sure we carry on with the Copr build even when
    race condition occurs while creating new Copr repository.
    
    Related to packit/packit-service#1403
    
    Signed-off-by: Matej Focko <mfocko@redhat.com>
    mfocko committed Mar 28, 2022
    Copy the full SHA
    80a288b View commit details
    Browse the repository at this point in the history