FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(cli): handle list response for json/yaml output by JohnVillalovos · Pull Request #2290 · python-gitlab/python-gitlab · GitHub

Repository navigation

fix(cli): handle list response for json/yaml output - #2290

Merged
nejch merged 1 commit into
mainfrom
jlvillal/fix_json_yaml_list
Oct 6, 2022
Merged

nejch merged 1 commit into
mainfrom
jlvillal/fix_json_yaml_list

Conversation

Copy link
Copy Markdown
Member

Handle the case with the CLI where a list response is returned from GitLab and json/yaml output is requested.

Closes: #2287

JohnVillalovos force-pushed the jlvillal/fix_json_yaml_list branch from 46b091f to e8b18a5 Compare September 30, 2022 21:08

codecov-commenter commented Sep 30, 2022 •
edited by codecov Bot
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.31%. Comparing base (3dde36e) to head (fbc0ecb).
⚠️ Report is 768 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2290      +/-   ##
==========================================
+ Coverage   95.29%   95.31%   +0.01%     
==========================================
  Files          79       79              
  Lines        5246     5246              
==========================================
+ Hits         4999     5000       +1     
+ Misses        247      246       -1     
Flag Coverage Δ
api_func_v4 82.57% <0.00%> (ø)
cli_func_v4 82.67% <100.00%> (+0.13%) ⬆️
unit 87.62% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
gitlab/v4/cli.py 90.87% <100.00%> (+0.35%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

JohnVillalovos force-pushed the jlvillal/fix_json_yaml_list branch 2 times, most recently from 6500602 to e4409ca Compare October 4, 2022 04:29

nejch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Nice fix @JohnVillalovos! Just a quick question on tests as I'm seeing some more repetition now the sidekiq handling.

JohnVillalovos force-pushed the jlvillal/fix_json_yaml_list branch from e4409ca to cd9695d Compare October 5, 2022 02:11
JohnVillalovos requested a review from nejch October 5, 2022 02:16
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 force-pushed the jlvillal/fix_json_yaml_list branch from cd9695d to fbc0ecb Compare October 5, 2022 14:43
nejch merged commit 9b88132 into main Oct 6, 2022
nejch deleted the jlvillal/fix_json_yaml_list branch October 6, 2022 07:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

project-commit merge-requests call doesn't work

3 participants


Back | FazBrowse Home | New Git URL