Support installation of coopcloud.tech/... golang packages
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 the
go 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)?
This would also close #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
OK! This works*.
go get coopcloud.tech/abra and
tagcmp now work. You can see the way this works with my latest commits. Check the
content/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 var
coopcloud.tech. This will tell
go get not to try and check the checksum cause its broken right now. I will add docs for using
direnv and setup the files for that for people who are hacking on this.
With this, we can close:
And I can probably work on this but I don't have access to the org so it would have to be a PR:
Deleting a branch is permanent. It CANNOT be undone. Continue?