Skip to content
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

Add skip_download parameter to get. #33

Merged
merged 3 commits into from
Sep 19, 2018
Merged

Conversation

itsdalmo
Copy link
Contributor

@itsdalmo itsdalmo commented Sep 13, 2018

Part of #32

@itsdalmo itsdalmo changed the title WIP: Add skip_download parameter to get. Add skip_download parameter to get. Sep 19, 2018
@@ -11,6 +11,16 @@ import (

// Get (business logic)
func Get(request GetRequest, github Github, git Git, outputDir string) (*GetResponse, error) {
if request.Params.SkipDownload != "" {

Choose a reason for hiding this comment

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

Shouldn't we check if this is true?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Afaik, Concourse passes booleans in as strings so it's up to us to parse it into a boolean, and few lines further down we check whether it parses to true. Or did I misunderstand you?

Choose a reason for hiding this comment

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

My bad, I misread.

Copy link

@mikael-lindstrom mikael-lindstrom left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@itsdalmo itsdalmo merged commit 8380b63 into master Sep 19, 2018
@itsdalmo itsdalmo deleted the add-skip-download-parameter branch September 19, 2018 15:16
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.

2 participants