-
Notifications
You must be signed in to change notification settings - Fork 668
project-commit merge-requests call doesn't work #2287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
JohnVillalovos
added a commit
that referenced
this issue
Sep 30, 2022
Handle the case with the CLI where a list response is returned from GitLab and json/yaml output is requested. Closes: #2287
JohnVillalovos
added a commit
that referenced
this issue
Sep 30, 2022
Handle the case with the CLI where a list response is returned from GitLab and json/yaml output is requested. Closes: #2287
JohnVillalovos
added a commit
that referenced
this issue
Oct 1, 2022
Handle the case with the CLI where a list response is returned from GitLab and json/yaml output is requested. Add a functional CLI test to validate it works. Closes: #2287
JohnVillalovos
added a commit
that referenced
this issue
Oct 4, 2022
Handle the case with the CLI where a list response is returned from GitLab and json/yaml output is requested. Add a functional CLI test to validate it works. Closes: #2287
JohnVillalovos
added a commit
that referenced
this issue
Oct 5, 2022
Handle the case with the CLI where a list response is returned from GitLab and json/yaml output is requested. Add a functional CLI test to validate it works. Closes: #2287
JohnVillalovos
added a commit
that referenced
this issue
Oct 5, 2022
Handle the case with the CLI where a list response is returned from GitLab and json/yaml output is requested. Add a functional CLI test to validate it works. Closes: #2287
nejch
pushed a commit
that referenced
this issue
Oct 6, 2022
Handle the case with the CLI where a list response is returned from GitLab and json/yaml output is requested. Add a functional CLI test to validate it works. Closes: #2287
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
calling
MRID=$(gitlab -o json project-commit merge-requests --project-id ${id} --id ${COMMIT_ID})
with
COMMIT_ID 2fdd3e323446d24ca80e36e41aa710a853662fac
and id = 63
(valid and working via curl call)
give as output
Traceback (most recent call last):
File "/usr/local/bin/gitlab", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/gitlab/cli.py", line 377, in main
gitlab.v4.cli.run(
File "/usr/local/lib/python3.9/site-packages/gitlab/v4/cli.py", line 549, in run
printer.display_list(data, fields, verbose=verbose)
File "/usr/local/lib/python3.9/site-packages/gitlab/v4/cli.py", line 415, in display_list
print(json.dumps([get_dict(obj, fields) for obj in data]))
File "/usr/local/lib/python3.9/site-packages/gitlab/v4/cli.py", line 415, in
print(json.dumps([get_dict(obj, fields) for obj in data]))
File "/usr/local/lib/python3.9/site-packages/gitlab/v4/cli.py", line 397, in get_dict
return obj.attributes
AttributeError: 'dict' object has no attribute 'attributes'
The text was updated successfully, but these errors were encountered: