* Reverting PR 1650
https://github.com/gomods/athens/pull/1650 was a big change to the
authentication/authorization code, which we have decided to pull
out and potentially move into a separate process/project
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
* removing commented, unused code
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
* removing more commented, unused code
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
* removing more unused code
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
* initial github action to build github hosted binary artifact releases
* consistent with Makefile
* fix syntax error
* add GOPROXY env var
* reintroduce VERSION to env and go build.version
* barf, typo
* set build.version to the tag
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
* go.mod: update github.com/mattn/go-ieproxy to v0.0.1
This allows athens to build on OpenBSD.
* go.mod: update github.com/mattn/go-ieproxy to v0.0.1
This allows athens to build on OpenBSD.
* switch back to indirect dep
* bump github.com/Azure/azure-storage-blob-go to v0.10.0
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
* Switching to using the main default branch
* changing links to main branch, not master branch
* Changing a few links to relative
* Bumping chart version
Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
* Fix sumdb/* paths when config.PathPrefix is set
http.StripPrefix will look at the entire request path when called,
if we do not include config.PathPrefix then the StripPrefix call
will never receive a valid path from the application and the user
will always get a 404 error.
There were no test where I could easily check this regression so
I also added a few endpoint tests, the last test will fail with
a 404 instead of 403 if this change in not applied.
* Update cmd/proxy/actions/app_proxy.go
Co-authored-by: Marwan Sulaiman <marwan-at-work@github.com>
* Update cmd/proxy/actions/app_proxy_test.go
Co-authored-by: Marwan Sulaiman <marwan-at-work@github.com>
* Update cmd/proxy/actions/app_proxy_test.go
Co-authored-by: Marwan Sulaiman <marwan-at-work@github.com>
* Update cmd/proxy/actions/app_proxy_test.go
Co-authored-by: Marwan Sulaiman <marwan-at-work@github.com>
* Removed unneeded import of logrus
Co-authored-by: Marwan Sulaiman <marwan-at-work@github.com>
The ARG before the FROM call in multistage builds is dropped with the
previous container. We need to define it globally
Signed-off-by: Chris M <millscj01@gmail.com>
* Adding build arg for the alpine version the docker image is based on
* Actually using the arg
* Using Alpine 3.11.5
Co-authored-by: Ted Wexler <ted@stuckinacan.com>
* Adding notes for how to do a release
* Changes
thanks @marwan-at-work and @twexler
* bumping to get netlify to run (again)
Co-authored-by: Ted Wexler <ted@stuckinacan.com>
* Improving the project status section of our README
Athens is not really "beta" anymore because teams are using it and we are already taking backward compatibility into consideration actively.
I believe that the version number is a different but related discussion that we should have.
I've also updated the contributing documentation and removed the section about dev meetings
* Updating docs on contributing code
* Removing redundant "issues" words
* fixing issues URL
* bumping to get netlify to build again
* bumping to get netlify to run (again)
* bumping to get netlify to run (again)
* bumping to get netlify to run (again)