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

build: handle split gopath #4447

Closed
wants to merge 2 commits into from
Closed

Conversation

imsodin
Copy link
Member

@imsodin imsodin commented Oct 21, 2017

Follow up to #4425 to handle multiple gopaths.

build.go Outdated
break
}
}
if !inside {
fmt.Println("You are running this outside of GOPATH/src/github.com/syncthing/syncthing, this might cause failure!")
Copy link
Member

Choose a reason for hiding this comment

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

While you're at it, maybe tweak this to something softer and more grammatical? (Yes, me bikeshedding messages again)

You seem to have GOPATH set but the Syncthing source not placed correctly within it. Proceed with caution. or something?

Copy link
Member Author

@imsodin imsodin Oct 21, 2017

Choose a reason for hiding this comment

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

Sure thing. Please go ahead and bikeshed my language as much as you can. I am decent at correcting somebody else's messages but rubbish at producing good ones myself.

Plus I use "this" and "that" so much that it even confuses myself when I read it later.

@calmh
Copy link
Member

calmh commented Oct 21, 2017

I don't have things set up to trivially pull in pull requests to my local source to I'm taking this on faith

@calmh
Copy link
Member

calmh commented Oct 21, 2017

@st-review merge

build: Handle split GOPATH

@st-review
Copy link

@calmh: Build status is pending. I'll wait until it goes green and then merge!

@calmh
Copy link
Member

calmh commented Oct 21, 2017

oh and please do correct capitalization of the commit subjects and we won't have to tweak them 💃

}
}
if !inside {
fmt.Println("You seem to have GOPATH set but the Syncthing source not placed correctly within it, which may cause problems.")
Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't like your "proceed with caution" part that well, as the user can't really do anything anymore at that point, cautiously or not (except for hitting ctrl-c in a hurry). I hope I didn't just make it worse.

Copy link
Member

Choose a reason for hiding this comment

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

It looks perfectly fine to me :)

@imsodin
Copy link
Member Author

imsodin commented Oct 21, 2017

oh and please do correct capitalization of the commit subjects and we won't have to tweak them 💃

I was wondering why you always included my commit message in the st-review command - I don't seem to be at my most attentive at the moment. :D

@st-review
Copy link

👌 Merged as 46becc5. Thanks, @imsodin!

@st-review st-review closed this Oct 21, 2017
st-review pushed a commit that referenced this pull request Oct 21, 2017
GitHub-Pull-Request: #4447
@imsodin imsodin deleted the build.go2 branch November 10, 2017 10:09
@st-review st-review added the pr-merged Legacy label used in the past for pull requests merged to the main tree label Jan 15, 2018
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Oct 22, 2018
@syncthing syncthing locked and limited conversation to collaborators Oct 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion pr-merged Legacy label used in the past for pull requests merged to the main tree
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants