diff options
| author | Pierre-Yves Chibon <pingou@pingoured.fr> | 2017-02-13 12:04:01 +0100 |
|---|---|---|
| committer | Pierre-Yves Chibon <pingou@pingoured.fr> | 2017-02-13 12:04:01 +0100 |
| commit | 25e0669aed3844eb50b8169524fc500145e1a481 (patch) | |
| tree | 70223d21c87dd45750581990371bcbcda15b499b /roles/distgit/templates | |
| parent | 4bef4bb936777a220d571b6a3c431ee09ce15d6e (diff) | |
| download | ansible-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.stg | 2 |
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 |
