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 coop-cloud/coopcloud.tech#19. Also, the CI is broken on this instance, so we'd need to dig into that too.
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)?
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 https://git.coopcloud.tech/coop-cloud/coopcloud.tech/issues/19. Also, the CI is broken on this instance, so we'd need to dig into that too.
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 GOPRIVATE to 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.
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 `GOPRIVATE` to `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:
[coop-cloud/coopcloud.tech#20](https://git.coopcloud.tech/coop-cloud/coopcloud.tech/issues/20)
[coop-cloud/go-abra#45](https://git.coopcloud.tech/coop-cloud/go-abra/issues/45)
[coop-cloud/go-abra#20](https://git.coopcloud.tech/coop-cloud/go-abra/issues/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](https://git.coopcloud.tech/servers.coop/libcapsul/issues/1)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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=1so that we can fire back meta tags which point thego getinstaller to our git repositories.We could do that with a nginx proxied setup (using the
custom-htmlsetup 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/abraandtagcmpnow work. You can see the way this works with my latest commits. Check thecontent/codefolder 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 getwill 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 parametererrors. The former actually effects installing packages. To solve this, we will need to have everyone set the env varGOPRIVATEtocoopcloud.tech. This will tellgo getnot to try and check the checksum cause its broken right now. I will add docs for usingdirenvand 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 🚀