Monorepo for Tangled β€” https://tangled.org

Can't import master branch code into my application #213

closed
opened by willdot.net

When doing go get tangled.sh/tangled.sh/core it will grab the latest tagged version (which at the moment is v1.0.9-alpha).

However I want to import the latest code on master, because I want the latest types from https://tangled.org/@tangled.org/core/tree/master/api/tangled

Normally I would do something like go get tangled.sh/tangled.sh/core@master but that seems to default to v1.0.9-alpha.

I also can't do go get tangled.sh/tangled.sh/core@ + the latest commit and returns the error go: tangled.sh/tangled.sh/core@ff1acfb4ca7bcdf12b392d54c8a4fa8a6ceff493: unrecognized import path "tangled.sh/tangled.sh/core": parse https://tangled.sh/tangled.sh/core?go-get=1: no go-import meta tags (meta tag tangled.sh/tangled.org/core did not match import path tangled.sh/tangled.sh/core, meta tag tangled.org/tangled.org/core did not match import path tangled.sh/tangled.sh/core)

Not sure if this is a user error or something strange with importing code.

Ah, I think we should wholesale rename the Go module. We'll do this shortly!

Some teething issues with the new domain…

Ahh of course. No worries, there’s only 1 field that I’m missing but I can ignore it for now πŸ™‚

This should be fixed now!

What should I be trying to import?

go: downloading tangled.org/core v1.9.0-alpha
go: tangled.org/core@upgrade (v1.9.0-alpha) requires tangled.org/core@v1.9.0-alpha: parsing go.mod:
	module declares its path as: tangled.sh/tangled.sh/core
	        but was required as: tangled.org/core

go get tangled.org/core@master is what needs to be imported :)

Thanks for sorting this!!

sign up or login to add to the discussion
Labels

None yet.

area
appview
assignee

None yet.

Participants 3
AT URI
at://did:plc:dadhhalkfcq3gucaq25hjqon/sh.tangled.repo.issue/3lzh6dg5ygx22