X Tutup
Skip to content

Fix JIRA service - add api_url to mandatory attributes#142

Closed
galet wants to merge 6 commits intopython-gitlab:masterfrom
galet:master
Closed

Fix JIRA service - add api_url to mandatory attributes#142
galet wants to merge 6 commits intopython-gitlab:masterfrom
galet:master

Conversation

@galet
Copy link
Copy Markdown
Contributor

@galet galet commented Sep 7, 2016

The api_url attribute is mandatory at least since GitLab 8.11. Otherwise server returns gitlab.exceptions.GitlabUpdateError: 400: 400 (Bad request) "api_url" not given.

The api_url attribute is mandatory at least since GitLab 8.11.
Otherwise server returns gitlab.exceptions.GitlabUpdateError: 400: 400 (Bad request) "api_url" not given.
@gpocentek
Copy link
Copy Markdown
Contributor

Thank you for the patch. I'd rather define this parameter as optional, to keep compatibility with older versions of Gitlab. I know it's not optimal but I don't have a solution to handle multiple APIs in multiple Gitlab versions at the moment.

@galet
Copy link
Copy Markdown
Contributor Author

galet commented Sep 12, 2016

@gpocentek sounds good to me. Closing this pull request. Thanks!

@galet galet closed this Sep 12, 2016
@gpocentek
Copy link
Copy Markdown
Contributor

@galet you can update this pull request if you still want to submit the change.

@galet galet reopened this Sep 13, 2016
@galet galet closed this Sep 13, 2016
@galet
Copy link
Copy Markdown
Contributor Author

galet commented Sep 13, 2016

Created a new clean pull request #146.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup