-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Change imports path from weaveworks to fluxcd #2305
Conversation
Thanks @stefanprodan, this was the next step after #2304 to make it consumable from the outer world |
338ccdc
to
09869bd
Compare
We need to be careful about when to make this change, since it will break builds that haven't vendored or pinned |
Can you expand on this? I do not understand what you mean with "haven't vendored or pinned"? |
When the module is renamed, it won't be addressable as By "vendored" I mean added the files from github.com/weaveworks/flux into your own source tree. If you've done that, you don't care if it disappears from elsewhere. By "pinned" I mean specified a particular version in a lockfile or in So in those two circumstances, downstream builds might not break, at least not immediately. However: my idea of |
Are you sure? I've seen
That's true. But at the moment you can't vendor
Go modules automatically pin. So nobody's stuff should automatically break (I think). TL;DR; In the current state, nobody can vendor |
In any case: I don't believe there are many projects that depend on So long as we are convinced that there are no end-user-observable differences after the module name change*, let's at least wait for 1.14.0 to be released, then give people a bit of warning via Slack and the mailing list. *Are we convinced? My suspicions would lie with anywhere that drops type names into data, so:
|
3b54a32
to
0b704ce
Compare
0b704ce
to
4d8024f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, on the basis that:
- all changes are to do with the module name change (and the vast majority are changes to imports, as I'd expect)
- grepping for
weaveworks
did not reveal any imports that haven't been updated and should have been - it still builds
Setting the working dir outside GOPATH doesn't work for the embedded templates check
Change imports path from
weaveworks
tofluxcd
and rename go module tojackfan.us.kg/fluxcd/flux
.