Ignore existing git repo on disk when creating projects in the DB
This commit is contained in:
parent
4bef4bb936
commit
25e0669aed
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue