Skip to content

add --passwordsource global option - #442

Open
chuckliu1979 wants to merge 4 commits into
go-jira:masterfrom
chuckliu1979:master
Open

add --passwordsource global option#442
chuckliu1979 wants to merge 4 commits into
go-jira:masterfrom
chuckliu1979:master

Conversation

@chuckliu1979

Copy link
Copy Markdown

for automation testing and/or CI/CD, it's good to have pipe login from stdin. at present we need add "password-source: stdin" in .jira.d/config.yml, it's not convenient. this pull request would better :

echo "password" | jira login --passwordsource stdin

Comment thread go.mod
gopkg.in/yaml.v2 v2.2.2 // indirect
)

replace github.com/go-jira/jira => github.com/chuckliu1979/jira v1.0.30 //indirect

@catskul catskul Nov 21, 2021

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

oops, this probably shouldn't stay in.

Suggested change
replace github.com/go-jira/jira => github.com/chuckliu1979/jira v1.0.30 //indirect

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

+1 we can't merge with this in

@catskul catskul left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Need to fix the replace line in go.mod at least. Did not review the rest.

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