summaryrefslogtreecommitdiffstats
path: root/roles/distgit/templates
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2017-02-13 12:04:01 +0100
committerPierre-Yves Chibon <pingou@pingoured.fr>2017-02-13 12:04:01 +0100
commit25e0669aed3844eb50b8169524fc500145e1a481 (patch)
tree70223d21c87dd45750581990371bcbcda15b499b /roles/distgit/templates
parent4bef4bb936777a220d571b6a3c431ee09ce15d6e (diff)
downloadansible-25e0669aed3844eb50b8169524fc500145e1a481.tar.gz
ansible-25e0669aed3844eb50b8169524fc500145e1a481.tar.xz
ansible-25e0669aed3844eb50b8169524fc500145e1a481.zip
Ignore existing git repo on disk when creating projects in the DB
Diffstat (limited to 'roles/distgit/templates')
-rw-r--r--roles/distgit/templates/genacls.pkgdb.stg2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/distgit/templates/genacls.pkgdb.stg b/roles/distgit/templates/genacls.pkgdb.stg
index 55f7c119c..aaeb259eb 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