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

Upgrade dependency management system to use Go Modules #277

Closed
nikhilsaraf opened this issue Sep 11, 2019 · 2 comments
Closed

Upgrade dependency management system to use Go Modules #277

nikhilsaraf opened this issue Sep 11, 2019 · 2 comments
Labels
feature request New feature or request
Milestone

Comments

@nikhilsaraf
Copy link
Contributor

Desired Behavior

I want to use Go Modules for dependency management

Impact

The desired behavior will allow me to:

  • use the officially supported method of dependency management in Go
  • get rid of GOPATH requirement for the project
  • remove glide from the list of external tooling dependencies for kelp

Feature Suggestion

We can achieve the desired behavior by upgrading the project to Go Modules.

References

This feature exists in stellar/go

Additional context

Some alternatives to using Go Modules that would achieve the same result are:

  • glide (existing)
  • dep
  • gb (outdated?)

I have not completed a full evaluation of which approach is best, but there are enough requests from the community to move away from glide, Go Modules is officially supported as the dependency management system in Golang as off Go version 1.11 and stellar/go uses it as well.

See Specifications section below for details on our requirements

Specification

One requirement for the solution we converge on is the ability to lock hashes in addition to version tags for our dependencies. Glide allows this and our end solution must as well. This ensures 100% reproducibility in our builds on the same platform.

@nikhilsaraf nikhilsaraf added the feature request New feature or request label Sep 11, 2019
@nikhilsaraf nikhilsaraf added this to the v2.0.0 milestone Sep 11, 2019
@nikhilsaraf nikhilsaraf modified the milestones: v2.0.0, v1.11.1 Jul 17, 2021
@clD11
Copy link
Contributor

clD11 commented Jul 18, 2021

I can pick this one up

@nikhilsaraf
Copy link
Contributor Author

Closed by ba17509

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants