Support installation of coopcloud.tech/... golang packages #20
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm not quite sure but I think we need to be able to intercept requests that look like this
https://coopcloud.tech/coop-cloud/<pkg>?go-get=1
so that we can fire back meta tags which point thego get
installer to our git repositories.We could do that with a nginx proxied setup (using the
custom-html
setup might be a good shout)?OTOH, it seems possible maybe to do this just inside Hugo: https://npf.io/2016/10/vanity-imports-with-hugo? @roxxers you probably know what would be the best step forward.
This would also close coop-cloud/coopcloud.tech#19. Also, the CI is broken on this instance, so we'd need to dig into that too.
Will do this! I think the doing it in Hugo thing is great and I will edit the site to do this for both abra and tagcmp
I will try and document it in the coopcloud site repo
OK! This works*.
go get coopcloud.tech/abra
andtagcmp
now work. You can see the way this works with my latest commits. Check thecontent/code
folder for how you can add new packages to this. Basically, the pages made from these pages are mapped to the root of the site. Going to https://coopcloud.tech/abra will give you a page with just metadata. This then will redirect your browser to the git page you define in the file.go get
will use this to install the packages.* The issue we have is the Go servers that provide nice features like checksum checking and auto-generating a site with documentation on the package are getting
gnutls_handshake() failed: Illegal parameter
errors. The former actually effects installing packages. To solve this, we will need to have everyone set the env varGOPRIVATE
tocoopcloud.tech
. This will tellgo get
not to try and check the checksum cause its broken right now. I will add docs for usingdirenv
and setup the files for that for people who are hacking on this.With this, we can close:
coop-cloud/coopcloud.tech#20
coop-cloud/go-abra#45
coop-cloud/go-abra#20
And I can probably work on this but I don't have access to the org so it would have to be a PR:
servers.coop/libcapsul#1
Excellent work @roxxers! Added you to the servers.coop org owners 🚀