Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Maintain pkg/install as a separate module with own deps #2777

Closed
wants to merge 1 commit into from

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Jan 21, 2020

No description provided.

@@ -19,6 +19,9 @@ replace (
k8s.io/client-go => k8s.io/client-go v0.0.0-20191016111102-bec269661e48 // kubernetes-1.16.2
)

// ugh
Copy link
Contributor

Choose a reason for hiding this comment

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

I actually think it's pretty nifty, it saves you from bumping the dependency on every release.

Copy link
Member Author

Choose a reason for hiding this comment

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

It is, this was my brain still being traumatized by the

github.com/fluxcd/flux/cmd/fluxctl imports
        github.com/fluxcd/flux/pkg/install: no matching versions for query "latest"

message that popped up.

I am wondering however what the impact is when someone (weirdly) decides they want to depend on different pkg/install and flux module versions, or are local path overwrites ignored while depending on something?

@hiddeco
Copy link
Member Author

hiddeco commented Jan 21, 2020

#2778 also removes the import in tools.go, and has a solid comment, so lets merge that.

@hiddeco hiddeco closed this Jan 21, 2020
@2opremio 2opremio modified the milestone: 1.18.0 Jan 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants