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

fix(cli): changed default `allow_abbrev` value to fix arguments collision problem by JohnVillalovos · Pull Request #2013 · python-gitlab/python-gitlab · GitHub

Repository navigation

fix(cli): changed default allow_abbrev value to fix arguments collision problem - #2013

Merged
nejch merged 1 commit into
mainfrom
jlvillal/fix-argparse-abbrev
May 9, 2022
Merged

nejch merged 1 commit into
mainfrom
jlvillal/fix-argparse-abbrev

Conversation

JohnVillalovos commented May 8, 2022 •
edited
Loading

Copy link
Copy Markdown
Member
The `--job` argument could be interpreted as `--job-token`

Example failure:

  $ gitlab \
    --private-token ${GITLAB_API_KEY} -o json \
    project-artifact download \
    --project-id mdm/entities \
    --job ${JOB} \
    --ref-name ${REF} \

  gitlab: error: argument --job-token: not allowed with argument
  --private-token

JohnVillalovos force-pushed the jlvillal/fix-argparse-abbrev branch 2 times, most recently from 89482eb to f907c15 Compare May 9, 2022 15:25

Copy link
Copy Markdown
Member Author

@nejch This is the same as: #1957 but ran black and updated the commit message.

JohnVillalovos requested a review from nejch May 9, 2022 15:27
…sion problem

The `--job` argument could be interpreted as `--job-token`

Example failure:

  $ gitlab \
    --private-token ${GITLAB_API_KEY} -o json \
    project-artifact download \
    --project-id mdm/entities \
    --job ${JOB} \
    --ref-name ${REF} \

  gitlab: error: argument --job-token: not allowed with argument
  --private-token
JohnVillalovos force-pushed the jlvillal/fix-argparse-abbrev branch from f907c15 to 25fc65a Compare May 9, 2022 15:31
JohnVillalovos changed the title fix(cli): changed default allow_abbrev value to fix arguments colli… fix(cli): changed default allow_abbrev value to fix arguments collision problem May 9, 2022

nejch commented May 9, 2022

Copy link
Copy Markdown
Member

Thanks again @meteozond for the fix and @JohnVillalovos for the green CI :)

nejch merged commit d68cacf into main May 9, 2022
nejch deleted the jlvillal/fix-argparse-abbrev branch May 9, 2022 21:53
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.

3 participants


Back | FazBrowse Home | New Git URL