skycoin / skycoin

Skycoin Core and Wallet

Home Page:https://www.skycoin.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependency import versioning issue - module skycoin@latest found (v0.27.1), but does not contain package bip44wallet, etc..

0pcom opened this issue · comments

To demonstrate this issue, create a new folder in your GOPATH and fetch cmd/skycoin-cli/skycoin-cli.go into it

mkdir -p ~/go/src/github.com/skycoin/skycli
cd ~/go/src/github.com/skycoin/skycli
wget https://github.com/skycoin/skycoin/raw/develop/cmd/skycoin-cli/skycoin-cli.go

initialize go.mod ; tidy & vendor

go mod init ; go mod tidy ; go mod vendor
go: creating new go.mod: module github.com/skycoin/skycli
go: to add module requirements and sums:
	go mod tidy
go: finding module for package github.com/skycoin/skycoin/src/wallet/xpubwallet
go: finding module for package github.com/skycoin/skycoin/src/util/logging
go: finding module for package github.com/sirupsen/logrus
go: finding module for package github.com/skycoin/skycoin/src/cli
go: finding module for package github.com/skycoin/skycoin/src/wallet/collection
go: finding module for package github.com/skycoin/skycoin/src/wallet/deterministic
go: finding module for package github.com/skycoin/skycoin/src/wallet/bip44wallet
go: found github.com/sirupsen/logrus in github.com/sirupsen/logrus v1.9.3
go: found github.com/skycoin/skycoin/src/cli in github.com/skycoin/skycoin v0.27.1
go: found github.com/skycoin/skycoin/src/util/logging in github.com/skycoin/skycoin v0.27.1
go: downloading github.com/stretchr/objx v0.1.0
go: finding module for package github.com/skycoin/skycoin/src/wallet/collection
go: finding module for package github.com/boltdb/bolt
go: finding module for package github.com/skycoin/skycoin/src/wallet/bip44wallet
go: finding module for package github.com/spf13/cobra
go: finding module for package github.com/mgutz/ansi
go: finding module for package github.com/NYTimes/gziphandler
go: finding module for package github.com/spf13/pflag
go: finding module for package golang.org/x/crypto/ssh/terminal
go: finding module for package github.com/skycoin/skycoin/src/wallet/xpubwallet
go: finding module for package github.com/skycoin/skycoin/src/wallet/deterministic
go: finding module for package github.com/prometheus/client_golang/prometheus
go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp
go: finding module for package github.com/rs/cors
go: finding module for package github.com/shopspring/decimal
go: finding module for package github.com/blang/semver
go: finding module for package github.com/google/go-cmp/cmp
go: finding module for package github.com/google/go-cmp/cmp/cmpopts
go: finding module for package github.com/skycoin/encodertest
go: finding module for package github.com/cenkalti/backoff
go: downloading golang.org/x/crypto v0.20.0
go: downloading github.com/rs/cors v1.10.1
go: downloading github.com/shopspring/decimal v1.3.1
go: found github.com/boltdb/bolt in github.com/boltdb/bolt v1.3.1
go: found github.com/spf13/cobra in github.com/spf13/cobra v1.8.0
go: found github.com/spf13/pflag in github.com/spf13/pflag v1.0.5
go: found golang.org/x/crypto/ssh/terminal in golang.org/x/crypto v0.20.0
go: found github.com/mgutz/ansi in github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
go: found github.com/NYTimes/gziphandler in github.com/NYTimes/gziphandler v1.1.1
go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.19.0
go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.19.0
go: found github.com/rs/cors in github.com/rs/cors v1.10.1
go: found github.com/shopspring/decimal in github.com/shopspring/decimal v1.3.1
go: found github.com/blang/semver in github.com/blang/semver v3.5.1+incompatible
go: found github.com/google/go-cmp/cmp in github.com/google/go-cmp v0.6.0
go: found github.com/google/go-cmp/cmp/cmpopts in github.com/google/go-cmp v0.6.0
go: found github.com/skycoin/encodertest in github.com/skycoin/encodertest v0.0.0-20190217072920-14c2e31898b9
go: found github.com/cenkalti/backoff in github.com/cenkalti/backoff v2.2.1+incompatible
go: finding module for package github.com/mattn/go-colorable
go: finding module for package github.com/skycoin/skycoin/src/wallet/xpubwallet
go: finding module for package github.com/skycoin/skycoin/src/wallet/bip44wallet
go: finding module for package github.com/skycoin/skycoin/src/wallet/collection
go: finding module for package github.com/skycoin/skycoin/src/wallet/deterministic
go: found github.com/mattn/go-colorable in github.com/mattn/go-colorable v0.1.13
go: finding module for package github.com/skycoin/skycoin/src/wallet/xpubwallet
go: finding module for package github.com/skycoin/skycoin/src/wallet/deterministic
go: finding module for package github.com/skycoin/skycoin/src/wallet/collection
go: finding module for package github.com/skycoin/skycoin/src/wallet/bip44wallet
go: github.com/skycoin/skycli imports
	github.com/skycoin/skycoin/src/wallet/bip44wallet: module github.com/skycoin/skycoin@latest found (v0.27.1), but does not contain package github.com/skycoin/skycoin/src/wallet/bip44wallet
go: github.com/skycoin/skycli imports
	github.com/skycoin/skycoin/src/wallet/collection: module github.com/skycoin/skycoin@latest found (v0.27.1), but does not contain package github.com/skycoin/skycoin/src/wallet/collection
go: github.com/skycoin/skycli imports
	github.com/skycoin/skycoin/src/wallet/deterministic: module github.com/skycoin/skycoin@latest found (v0.27.1), but does not contain package github.com/skycoin/skycoin/src/wallet/deterministic
go: github.com/skycoin/skycli imports
	github.com/skycoin/skycoin/src/wallet/xpubwallet: module github.com/skycoin/skycoin@latest found (v0.27.1), but does not contain package github.com/skycoin/skycoin/src/wallet/xpubwallet
go: github.com/skycoin/skycli imports
	github.com/sirupsen/logrus: no required module provides package github.com/sirupsen/logrus; to add it:
	go get github.com/sirupsen/logrus
go: github.com/skycoin/skycli imports
	github.com/skycoin/skycoin/src/cli: no required module provides package github.com/skycoin/skycoin/src/cli; to add it:
	go get github.com/skycoin/skycoin/src/cli
go: github.com/skycoin/skycli imports
	github.com/skycoin/skycoin/src/util/logging: no required module provides package github.com/skycoin/skycoin/src/util/logging; to add it:
	go get github.com/skycoin/skycoin/src/util/logging
go: github.com/skycoin/skycli imports
	github.com/skycoin/skycoin/src/wallet/bip44wallet: no required module provides package github.com/skycoin/skycoin/src/wallet/bip44wallet; to add it:
	go get github.com/skycoin/skycoin/src/wallet/bip44wallet
go: github.com/skycoin/skycli imports
	github.com/skycoin/skycoin/src/wallet/collection: no required module provides package github.com/skycoin/skycoin/src/wallet/collection; to add it:
	go get github.com/skycoin/skycoin/src/wallet/collection
go: github.com/skycoin/skycli imports
	github.com/skycoin/skycoin/src/wallet/deterministic: no required module provides package github.com/skycoin/skycoin/src/wallet/deterministic; to add it:
	go get github.com/skycoin/skycoin/src/wallet/deterministic
go: github.com/skycoin/skycli imports
	github.com/skycoin/skycoin/src/wallet/xpubwallet: no required module provides package github.com/skycoin/skycoin/src/wallet/xpubwallet; to add it:
	go get github.com/skycoin/skycoin/src/wallet/xpubwallet

I'm attempting to import the skycoin-cli command as a subcommand for another cobra application. It does not work with the latest version ; instead it works with the very old version v0.25.2-0.20230810090212-121f5ce0a5a7

That commit seems to be the one where my documentation PR was reverted.. oddly. Why it has an old version tag is a mystery to me and cannot be right.