From 25e0669aed3844eb50b8169524fc500145e1a481 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 13 Feb 2017 12:04:01 +0100 Subject: [PATCH] Ignore existing git repo on disk when creating projects in the DB --- roles/distgit/templates/genacls.pkgdb.stg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/distgit/templates/genacls.pkgdb.stg b/roles/distgit/templates/genacls.pkgdb.stg index 55f7c119c1..aaeb259eb0 100644 --- a/roles/distgit/templates/genacls.pkgdb.stg +++ b/roles/distgit/templates/genacls.pkgdb.stg @@ -155,6 +155,7 @@ def update_owners_to_db(namespace, pkg, owners): docfolder=pagure.APP.config['DOCS_FOLDER'], ticketfolder=pagure.APP.config['TICKETS_FOLDER'], requestfolder=pagure.APP.config['REQUESTS_FOLDER'], + ignore_existing_repo=True, ) SESSION.commit() flag = False @@ -220,6 +221,7 @@ def update_groups_to_db(namespace, pkg, pkg_groups): docfolder=pagure.APP.config['DOCS_FOLDER'], ticketfolder=pagure.APP.config['TICKETS_FOLDER'], requestfolder=pagure.APP.config['REQUESTS_FOLDER'], + ignore_existing_repo=True, ) SESSION.commit() flag = False