-
Notifications
You must be signed in to change notification settings - Fork 29
Conversation
Is this backward compatible with 1.4/1.5? (Can you build on those versions?) |
@simon3z This is not backward compatible but eventually we will have to do the change according to those warnings that I get while compiling using godep:
To compile this way we just need to use:
|
@enoodle we can't break builds on 1.4 and 1.5 just to suppress warnings in 1.6. |
11109ae
to
610f854
Compare
@simon3z Can you please take another look at this? I think as we prepare for a new version of this tool we might be willing to let go of go1.4 to adopt the new "vendor/" directory and use better package management tools than Godep (which I personally really don't like, trying to add the github.com/containers/image repo as a dependency was a nightmare) The interesting files will be |
610f854
to
1c890b6
Compare
@enoodle have you refreshed all the dependencies with newer versions? |
@simon3z No, I left them on the exact same version. You can see it in those files: |
@enoodle as far as I understood by the conversation we just had you're still polishing this. Let me know when it's really settled. |
I see that kubernetes has started to move towards this, but I guess moving such a big project is harder. It is present in contianers/image [2] (They upgraded to a similar tool which is better because it does caching [3], I will try it out too). Openshift is also using the vendor directory but I couldn't find where it was introduced. [1]kubernetes/kubernetes#24242 |
77d70c6
to
f3b9c86
Compare
5361b5d
to
bae7de7
Compare
@ilackarms can you test / review this? |
edit: ignore above comment. I'm unfamiliar with
to the Dockerfile as well |
removing Godeps/ GO15VENDOREXPERIMENT set to 1
bae7de7
to
a552eca
Compare
@ilackarms Trash is similar to glide, it can also use the glide configuration file. I added a |
ping @ilackarms @pweil- @simon3z Do you want to take another look? This make it much easier to manage dependencies. |
Moved to #57 |
This is a suggestion to move to the way Go 1.6 is handling vendoring. I just did:
I have seen this done in kubernetes too. I think we can keep the Godeps directory for a while and then remove it if we see that it works well for us.
@simon3z @pweil-