go-spacemesh: go get on spacemesh returns error

Overview / Motivation

We really want users and developers to easily setup and start go-spacemesh

The Task

Since we removed protobuf’s pb files from the repository go get fails to install go-spacemesh since its missing the generated files. we should find a way to let users download spacemesh using go get

err log:

package github.com/spacemeshos/go-spacemesh/api/pb: no Go files in /go/src/github.com/spacemeshos/go-spacemesh/api/pb
package github.com/spacemeshos/go-spacemesh/p2p/pb: no Go files in /go/src/github.com/spacemeshos/go-spacemesh/p2p/pb
package github.com/spacemeshos/go-spacemesh/p2p/dht/pb: no Go files in /go/src/github.com/spacemeshos/go-spacemesh/p2p/dht/pb
The command '/bin/sh -c go get -u github.com/spacemeshos/go-spacemesh' returned a non-zero code: 1

Implementation Notes

It might be a good option to look in to go:generate or anything that can help go get generate the pb files before trying to compile

Contribution Guidelines

Important: Issue assignment to developers will be by the order of their application and proficiency level according to the tasks complexity. We will not assign tasks to developers who have’nt introduced themselves on our Gitter dev channel

  1. Introduce yourself on go-spacemesh dev chat channel - ask our team any question you may have about this task
  2. Fork branch develop to your own repo and work in your repo
  3. You must document all methods, enums and types with godoc comments
  4. You must write go unit tests for all types and methods when submitting a component, and integration tests if you submit a feature
  5. When ready for code review, submit a PR from your repo back to branch develop
  6. Attach relevant issue to PR

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 23 (2 by maintainers)

Most upvoted comments

@elemino Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days