-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Externalize bindata.go to an auto-generated file #77
Comments
I generally agree on never keeping anything that's not source code into the repository. In all cases, I think it is acceptable to |
I don't agree on that. There are no other ways to stay go gettable than adding bindata to the repo. If there are other ways around we can talk about that. |
BTW, go get will fail without the bindata because the imports can't be accomplished |
@tboerger it will fail but will have downloaded all the sources, right ? |
But if I go get something I expect to have it working without reading the readme to find out what else needs to be done |
I'm not a long Go user enough to know what one would have to expect by "go get". I've read it's not a package manager, but I do see it being used as such |
For the PR mess (conflicts and changelogs size), I shall note that @unkwon used to only update bindata.go before releases, and not accepting those updates in the PRs themselves. |
I would suggest an additional commit made by the CI system that updates the bindata. |
If bindata.go has to stay, +1 for the CI system automation (only if it would change). |
@tboerger is the optional bindata.go what you'd get with build tags ? (#74 (comment)) |
So, should this be closed as a duplicate of #30 ? |
Duplicate of #30 |
I think
bindata.go
dont have to be committed on repository and must be auto-generated during the make process.It become a mess when two (or more) Pull Requests update different files (eg : app.ini for the first commit and add new files for the second) because the
bindata.go
file cause merge error each time.The text was updated successfully, but these errors were encountered: