Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upConsider using "go generate" to make Prometheus go-gettable #548
Comments
This comment has been minimized.
This comment has been minimized.
|
But take into account that |
This comment has been minimized.
This comment has been minimized.
|
Oh. Right, we could check in So the only things really standing in the way of
I think the latter is probably fine to ignore, because we already use the new range syntax which will at least fail for people still on Go <1.4. But what about build.go? Weighing the useful information it provides against go-gettability. Hmm... |
This comment has been minimized.
This comment has been minimized.
|
Maybe include a generated |
This comment has been minimized.
This comment has been minimized.
vtolstov
commented
Feb 23, 2015
|
usually software have step make dist, that pregenerates all needed files, so i think in release build.go can have released version... |
This comment has been minimized.
This comment has been minimized.
|
So, reading the
|
This comment has been minimized.
This comment has been minimized.
|
On Fri, Feb 27, 2015 at 5:48 AM, Tobias Schmidt
Yes, that's called the 'toilet paper principle'. :) Björn Rabenstein, Engineer SoundCloud Ltd. | Rheinsberger Str. 76/77, 10115 Berlin, Germany |
This was referenced May 5, 2015
This comment has been minimized.
This comment has been minimized.
|
It would be great to consent around how we do this, so we can make sure other prometheus projects do the same? The only concern with commiting the files.go is that it blows up the git history. Since we commit the protobuf generated code and Godeps anyways, I think it's fine to commit the files.go as well. |
This comment has been minimized.
This comment has been minimized.
|
Our binary data is checked in now, so this is resolved. |
brian-brazil
closed this
Dec 16, 2015
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
juliusv commentedFeb 22, 2015
See http://blog.golang.org/generate and #547 (comment).
This could obviate the need for Makefiles and make Prometheus go-gettable.