https://bugzilla.gnome.org/show_bug.cgi?id=782810
Bug ID: 782810
Summary: gitlab.gnome.org api is not avaliable
Classification: Infrastructure
Product: sysadmin
Version: unspecified
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: Other
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
GNOME version: ---
There is a tool to automate export from bugzilla/import to gitlab created by
Alberto Ruiz
https://gitlab.com/aruiz/gitlab-gnome-tools
It is based on a project that uses gitlab api to create issues. but using
against gitlab.gnome.org fails:
$ bztogl.py --target gitlab --token blablabla --product gnome-todo --bz-user
[email protected] --bz-password blablabla --target-product
albfan/gnome-todo
Connecting to https://gitlab.gnome.org/
Traceback (most recent call last):
File "/home/alberto/bin/bz2gl", line 181, in <module>
main()
File "/home/alberto/bin/bz2gl", line 163, in main
target.connect()
File "/home/alberto/bin/bz2gl", line 49, in connect
self.id = self.gl.projects.get(self.target_product).id
File "/usr/local/lib/python2.7/dist-packages/gitlab/objects.py", line 104, in
get
return self.obj_cls.get(self.gitlab, id, **args)
File "/usr/local/lib/python2.7/dist-packages/gitlab/objects.py", line 279, in
get
return cls(gl, id, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/gitlab/objects.py", line 388, in
__init__
data = self.gitlab.get(self.__class__, data, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/gitlab/__init__.py", line 437,
in get
raise_error_from_response(r, GitlabGetError)
File "/usr/local/lib/python2.7/dist-packages/gitlab/exceptions.py", line 188,
in raise_error_from_response
response_body=response.content)
gitlab.exceptions.GitlabGetError: 404: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/v3/projects/albfan/gnome-todo was not found on this
server.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at gitlab.gnome.org Port 443</address>
</body></html>
Same command against gitlab.com work correctly
--
You are receiving this mail because:
You are watching the QA Contact of the bug.
You are watching the assignee of the bug._______________________________________________
gnome-infrastructure mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-infrastructure