Skip to content

remove ineffectual replaces from go.mod files#24

Merged
jmank88 merged 1 commit into
mainfrom
rm-replaces
Oct 2, 2024
Merged

remove ineffectual replaces from go.mod files#24
jmank88 merged 1 commit into
mainfrom
rm-replaces

Conversation

@jmank88

@jmank88 jmank88 commented Oct 2, 2024

Copy link
Copy Markdown
Contributor

With these fixes in place, gomods can be used again, e.g. gomods tidy from the root.

Comment thread cron/go.mod
sigs.k8s.io/yaml v1.4.0 // indirect
)

replace github.com/smartcontractkit/capabilities => ..

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is not currently a module.

Comment thread cron/go.mod
Comment on lines -16 to -23
// until merged upstream: https://github.com/hashicorp/go-plugin/pull/257
github.com/hashicorp/go-plugin => github.com/smartcontractkit/go-plugin v0.0.0-20240208201424-b3b91517de16

// until merged upstream: https://github.com/mitchellh/mapstructure/pull/343
github.com/mitchellh/mapstructure v1.5.0 => github.com/nolag/mapstructure v1.5.2-0.20240625151721-90ea83a3f479

// until merged upstream: https://github.com/mwitkow/grpc-proxy/pull/69
github.com/mwitkow/grpc-proxy => github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These are no longer necessary with recent versions of common.

@nolag Do we need to bump common for the mapstructure changes?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I always bump common when I remove replace. I think it's already on a new enough one, but better safe than sorry :).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved, I remember that I updated common recently so mapstructure is good to go away as an override

Comment thread kvstore/go.mod
// until merged upstream: https://github.com/mwitkow/grpc-proxy/pull/69
github.com/mwitkow/grpc-proxy => github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f

github.com/smartcontractkit/capabilities/libs/types => ../../libs/types

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This path had an extra .., but the module is unused anyways.

@jmank88 jmank88 added this pull request to the merge queue Oct 2, 2024
Merged via the queue into main with commit e6ca654 Oct 2, 2024
@jmank88 jmank88 deleted the rm-replaces branch October 2, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants