#3856 Implement repository adoption
Merged by pingou. Opened by puiterwijk.
puiterwijk/pagure ignore_existing_repo  into  master

Download 3856.patch
no initial comment

3 new commits added

  • Add a test case for adopting existing repos
  • If a repo existed, clean up the project instance
  • Allow admins to select to ignore existing repositories

Where is this being defined in this file?

In the definition of the function: def _create_project_repo(project, region, templ, ignore_existing, repotype):

no longer needed?

3 new commits added

  • Add a test case for adopting existing repos
  • If a repo existed, clean up the project instance
  • Allow admins to select to ignore existing repositories

I'm seeing failing tests on this PR (other than the style one), do you see them as well?

/me stashes changes before re-running

@pingou if you had a previous copy of the code: yes. I fixed a race condition in , test_pagure_lib, which was previously won because of the session.rollback but is not anymore.
Do a fresh clone, and the tests should pass.

Pull-Request has been merged by pingou

Metadata