Skip to content

Create label with 6-digit hex color without extra escaping#414

Merged
NARKOZ merged 1 commit into
NARKOZ:masterfrom
szemek:create-label-hex-color
Oct 9, 2018
Merged

Create label with 6-digit hex color without extra escaping#414
NARKOZ merged 1 commit into
NARKOZ:masterfrom
szemek:create-label-hex-color

Conversation

@szemek
Copy link
Copy Markdown

@szemek szemek commented Oct 6, 2018

Fixes #376

If arg is a color in 6-digit hex notation with leading '#' sign then YAML.safe_load is not applied on it.

Without fix, it is possible to create label with hex color, but it needs extra escaping

gitlab create_label mygroup/scb abc '"#001100"'

@NARKOZ NARKOZ requested a review from asedge October 6, 2018 11:30
@NARKOZ NARKOZ merged commit 4f0e930 into NARKOZ:master Oct 9, 2018
@NARKOZ
Copy link
Copy Markdown
Owner

NARKOZ commented Oct 9, 2018

Thank you.

@szemek szemek deleted the create-label-hex-color branch October 12, 2018 20:38
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.

can't create labels from commandline with color code

2 participants