Skip to content
Snippets Groups Projects
Commit ba6ef2c2 authored by Sam Gleske's avatar Sam Gleske
Browse files

Update for using recent version of pyapi-gitlab

Fixes issue #2
parent 15aaaa36
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ def createproject(pname):
description="Git mirror of %s." % project_name
else:
description=options.desc
new_project=git.createProject(pname,description=description,issues_enabled=str(int(options.issues)),wall_enabled=str(int(options.wall)),merge_requests_enabled=str(int(options.merge)),wiki_enabled=str(int(options.wiki)),snippets_enabled=str(int(options.snippets)),public=str(int(options.public)))
new_project=git.createProject(pname,description=description,issues_enabled=int(options.issues),wall_enabled=int(options.wall),merge_requests_enabled=int(options.merge),wiki_enabled=int(options.wiki),snippets_enabled=int(options.snippets),public=int(options.public))
if gitlab_user != gitlab_namespace:
new_project=findproject(gitlab_user,pname)
new_project=git.moveProject(found_group['id'],new_project['id'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment