* switch proxy to config file
pull in single flight changes
* changes for single-flight
* intermediate stage. All tests passing. pkg still has env refs
* remove all env references
* delete config/env entirely
* fix failing tests
* create the config.toml file as part of dev setup
* create config file only if it doesn't exist
* update Dockerfiles to use config file
* move composing elements to the top
* verbose parameter naming
* newline
* add flag for config file path
* update docs with config file flag
* remove unnecessary nil check
* use filepath.join
* rename redis port to address
* fix path.join
* fix issues after merge
* add vendor dir
* Initial chanages for observability
* Fix some panics to start testing
* Export tracing properly
* First example of child spans using opencensus
* Add spans to download protocol
* Add url to traces
* Remove opentracing
* Remove gopkg.* files
* Start deprecating opentracing
* Resolve stupid build errors
* Use observability package
* Fix test errors
* Convert buffalo spans to observercontext
* change package name
* defer flush to the end of the app execution
* Change op names to the correct package
* Rename pkg/observability to pkg/observ
* Show traces for the package
* Keep tracing in the earlier way
* Add info from request headers
* Remove whitespace
* Move exporter url to env var
* Add to env file for documentation
* Remove opentracing stuff
* Use stdlib
* Shorten service name
* Add a service name to olympus as well
* Add test to test if there is a recursion or not
* Add Ops Suite
* Move around code
* Make sure the service is not instantiated if the exporter is not found
* pkg/module: Remove unused file parser.go
PR #618 removed the last remaining user of the functions/types defined
in parser.go
* go.mod: update
The last user of github.com/sabhiram/go-gitignore was removed. Run 'go
mod tidy' to remove the dependency.
* vendor: remove unused dependency
The last user of github.com/sabhiram/go-gitignore was removed. Remove
the vendored copy as well by running 'go mod vendor'.
* Added filter for private repos. Non private repos get redirected to
olympus
* Changed filter to allow private modules
* Changed config file name function
* Added filter tests
* The middleware returns 200 for privates, redirects public, 404 for
disabled repos
* Removed printf
* Removed forgotten printf
* Removed logger from the middleware func, not used anymore
* Removed unused (uncommented) function
* Replaced 404 with 403 in case of banned modules
* Fixed test path / cleaned olympus endpoint suffix
* Added error operation to GetVersion
* Moved filter test in custom file, reverted injection of the filter into
the app
* Removed white line
* Clarified comment for ignoring getversion error
* Added todo comment to fill the cache and serve the request with the
cache
* Added error handling to filter
* Removed commented early version of the test
* Goget fetcher should error out if gobinpath is not valid
* Propogating the error from goget initialisation to main, to stop application
* wrapping errors with op, using exec.command(gobin).Run to verify gobin, clean up
* Inlining afero fs to goget call, and new go getfetcher
* Revert "Inlining afero fs to goget call, and new go getfetcher"
This reverts commit ae31fe6a2b.
* Fixing example test
* Ensure diskRef cleans up everything in it's own GOPATH
* cleanup diskref opens. Fix err return in go_get_fetcher
* Remove Noop ref from go_get_fetcher.Fetch()
* handle temp dir cleanup and return nil diskref
* add middlewares to fill the cache and to populate contexts with module and versions
* Carolyn tries to fix Aaron's code
* #DOINSTUFF
* updated env var
* fix all the things
* magic patch for olympus
* Add latest handler
* Remove deprecated return param
* go fmt all the things
* download: add list from go cli
* download: include goget tests + hacky hack
* download: move dummyMod to pkg/module
* Olympus: pass dp and lggr to /list
* download: add Version to interface
* download: document Protocol
* add module fetch and fetchers
* Breaking module ref out of the fetcher
* disk ref in progress
* very broken go get fetcher
* refactoring ref and fixing up the disk ref
* adding a test for the disk ref
* doing test setup right
* passing version
* fixing syntax err
* removing raw format string
in favor of a function that does the same thing
* removing obsolete godoc
* removing the switch in favor of nested if statements
hopefully this is easier to read
* passing data into the format strings
* refactoring the closer
* creating and looking for files in the root
* genericFetcher => goGetFetcher
* remove the clear method on go get fetcher
the ref returned from fetch does it
* remove unnecessary call to isVgoInstalled
calls to fetch will fail if vgo is not installed
* remove unneeded dirName
* adding preliminary test for the go get fetcher
* adding a test for fetch
* executing fetch test
* adding docs and simplifying the fetcher
* declaring the storage version up front
* fixing the source path
* creating test files in a separate function
* closing files immediately
instead of aggregating them for later. whaaat was I thinking???
* passing context into storage driver
* not closing the source file
* not putting the module name in quotes anymore
* adding a warning about deleting the package
* adding go binary name
* embedding github API limit error
* check files in the success path
* passing errors up
not just messages
* doh
* using vgo for the go get fetcher tests
* not using multierror because it's unneeded
* less code 😄
* custom error
* removing unused import
* return noop refs
* adding link to issue for the TODO
* simplifying
* simplifying moar!
* using config.FmtModVer
* simplifying
* defer closing the zip
* closing the zip
* adding comment about closing the ver.Zip
* GO_BINARY_NAME => GO_BINARY_PATH
* using errors pkg
* fixing compile err
* removing redundant args
* removing requirement that caller calls Clear on fetch error
* fixing build
* fix
* adding masterminds semver
* returning better error
and checking version format
* removing unused error
* using proper semver function
* fixin compile err
* rm that shizz
* remove spf13/cobra and inconshreveable/mousetrap
* remove user package
* remove user package
* remove unused types, vars etc
found by using github.com/dominikh/go-tools/tree/master/cmd/unused.running unused $(go list github.com/gomods/athens/... | grep -v /vendor/)
* rm uneeded file
* add download function which downloads a ver from cdn
* use cdn download func
* save after rename
* review feedback
* just to trigger a build
* pass timeout and move to pkg/module
* use multierror
* rm empty line
* replace fs operations with afero
* fix goget test
* fix test
* fix test again...
* remove empty lines
* fix merge
setupTmp - return 3, not 2 values
* just to start new travis build
got The command "go get github.com/golang/lint/golint" failed and exited with 1 during . I hope it was a temp problem.