Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from dep to go mod #1228

Closed
anupdhiran opened this issue Feb 15, 2022 · 0 comments
Closed

Migrate from dep to go mod #1228

anupdhiran opened this issue Feb 15, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@anupdhiran
Copy link
Contributor

anupdhiran commented Feb 15, 2022

Summary

dep has been deprecated. Need to migrate to go mod.

Motivation

Need to have go mod in all repos for consistency and at the same time take advantage of latest offerings from gomod rather than being stuck with making dep work with latest go versions

Proposal

There are simple steps suggested by google in their blog : https://go.dev/blog/migrating-to-go-modules for migrating from dep to gomod. Following repos are using dep :

  1. devtron-labs/lens
  2. devtron-labs/external-app-crawler
  3. devtron-labs/git-sensor
  4. devtron-labs/telemetry-user-analytics
  5. devtron-labs/ci-runner
  6. devtron-labs/kubewatch
    Will migrate all these repos to go mod. Will also update libraries as needed.

#Testing plan
Make sure that we are able to build the repo using go build properly after migration. Also take a look manually between go.mod and gopkg.lock and make sure that all dependencies listed in .lock file are present in go.mod. Make sure go.sum is also generated.

@anupdhiran anupdhiran added the enhancement New feature or request label Feb 15, 2022
@anupdhiran anupdhiran self-assigned this Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant