sahib / brig

File synchronization on top of ipfs with git like interface & web based UI
https://brig.readthedocs.io
GNU Affero General Public License v3.0
568 stars 33 forks source link

Can't `go get` brig - unrecognized import paths #2

Closed natewalck closed 6 years ago

natewalck commented 7 years ago

When running go get github.com/disorganizer/brig/cmd/brig, the follow errors are thrown:

package gx/ipfs/QmNa31VPzC561NWwRsJLE7nGYZYuuD2QfpK2b1q9BK54J1/go-libp2p-net: unrecognized import path "gx/ipfs/QmNa31VPzC561NWwRsJLE7nGYZYuuD2QfpK2b1q9BK54J1/go-libp2p-net" (import path does not begin with hostname)
package gx/ipfs/QmNp85zy9RLrQ5oQD4hPyS39ezrrXpcaa7R4Y9kxdWQLLQ/go-cid: unrecognized import path "gx/ipfs/QmNp85zy9RLrQ5oQD4hPyS39ezrrXpcaa7R4Y9kxdWQLLQ/go-cid" (import path does not begin with hostname)
package gx/ipfs/QmPgDWmTmuzvP7QE5zwo1TmjbJme9pmZHNujB2453jkCTr/go-libp2p-peerstore: unrecognized import path "gx/ipfs/QmPgDWmTmuzvP7QE5zwo1TmjbJme9pmZHNujB2453jkCTr/go-libp2p-peerstore" (import path does not begin with hostname)
package gx/ipfs/QmSU6eubNdhXjFBJBSksTp8kv8YRub8mGAPv8tVJHmL2EU/go-ipfs-util: unrecognized import path "gx/ipfs/QmSU6eubNdhXjFBJBSksTp8kv8YRub8mGAPv8tVJHmL2EU/go-ipfs-util" (import path does not begin with hostname)
package gx/ipfs/QmSn9Td7xgxm9EV7iEjTckpUWmWApggzPxu7eFGWkkpwin/go-block-format: unrecognized import path "gx/ipfs/QmSn9Td7xgxm9EV7iEjTckpUWmWApggzPxu7eFGWkkpwin/go-block-format" (import path does not begin with hostname)
package gx/ipfs/QmU9a9NV9RdPNwZQDYd5uKsm6N6LJLSvLbywDDYFbaaC6P/go-multihash: unrecognized import path "gx/ipfs/QmU9a9NV9RdPNwZQDYd5uKsm6N6LJLSvLbywDDYFbaaC6P/go-multihash" (import path does not begin with hostname)
package gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer: unrecognized import path "gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer" (import path does not begin with hostname)
package gx/ipfs/QmZNkThpqfVXs9GNbexPrfBbXSLNYeKrE7jwFM2oqHbyqN/go-libp2p-protocol: unrecognized import path "gx/ipfs/QmZNkThpqfVXs9GNbexPrfBbXSLNYeKrE7jwFM2oqHbyqN/go-libp2p-protocol" (import path does not begin with hostname)
sahib commented 7 years ago

Hello @natewalck,

thanks for the interest, but this is currently somewhat expected. I still didn't update the brig-vendor repository, since I did not release brig anywhere.

I will provide a very basic working implementation over the course of the next weeks. Stay tuned! (And this will be also go get-able then :smirk:).

sahib commented 6 years ago

It is go get-able now. Syncing and many other things are currently not really working. But you can read the brig help at least and init a repository with:

$ export BRIG_PATH=/tmp/some-repo
$ export BRIG_PORT=6666
$ brig init natewalck --backend ipfs
$ brig cat README.md
martinetd commented 6 years ago

Ticket is open and "close enough" so being lazy and saying it here -- go get path given in README is no longer valid, need to go get github.com/sahib/brig since d3d1af64

sahib commented 6 years ago

Thanks @martinetd, fixed.