* Updated mongo init to use db name env variable.
* Updated mongo init to use coll name env var.
* Fixed merge conflict.
* Updated formatting in mongo_test.
* Changed mongo.go to use new driver
* Modified mongo cataloger
* More new driver related changes
* Change lister.go
* Change saver.go
* Change imports
* Remove unnecessary Count query
* Use IndexView for indexing
* Rename ModuleStore fields
* Use map of key:sorting-order for creating the index
* Minor changes
* Use client options to configure mongo client
* Use method chaining
* gofmt changes
* Change imports
* Fix some build errors
* Use new GridFS API
* Fix more build errors
* Add Go Mongo driver to dependency modules
* Use multierror
* Leave download stream open
* Remove mgo error handling
* Copy zip instead of loading all in memory
* Use context.WithTimeout() wherever possible
* Raise KindNotFound when mod@ver isn't found
* NopCloser not needed
* Fix IndexView error
* Fix build errors
* Remove another mgo error usage
* Fix build error
* Changes according to review
* Formatting changes as per gofmt
* Modify gofmt argument to show the expected formatting (diff)
* Handle ErrNoDocument error and error arising from query execution
* Fix kind of returned error
* Minor changes
* Bug fixes
* gofmt related changes
* Minor change
* Use Insecure from MongoConfig, remove Insecure from global Config
* Remove stray print statement
* Added new cataloger interface
* Implementing catalog protocol
* Propagated to protocol and over
* First round of fixes
* S3 almost ready, need to be tested
* Going on with testing s3
* Better testing with s3
* Simplified catalog tests
* Preparing gcp tests to access a gcp instance
* Fixing initialization errors
* Removed some prints
* Gcp ready, to be tested
* Gcp working
* Aligned bucket mock to catalog method
* Switched res payload to json
* Added catalog method to all storage instances
* Added catalog method to unsupported storages
* Fixed with pool test
* Restored tests
* Fixed gcp constructor
* Implemented catalog for fs
* Removed trace
* E2e tests, fixed fs
* Fixed module name return value
* Added cataloger method to azure storage
* Added docs
* Changed pagesize parameter name
* Fixed gofmt error
* Added json tags to result. Fixed lint warning
* Removed extra line
* Changed not implemented error to http.KindNotImplemented
* Checking for inequality on results
* Lower-cased json keys
* Added cleaning of path separator
* Fixed review comments
* Add catalog endpoint for mongo
* Add omitempty to ID
* Fix catalog tests
* update for next token
* fix e2e
* Make query readable
* Fix language and e2e script
* remove new line
* cleanup tests and change minio port
* fix cleanup
* cleanup
* fix config test
* add comment to travis
* revert to generic minio addr
* fix test
* switch to test config
* adapt timeouts
* use example config
* fix test... again
* add new lines
* 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
* Set a default value for ATHENS_MONGO_CONNECTION_STRING env var
- ATHENS_MONGO_CONNECTION_STRING will default to mongodb://127.0.0.1:27017 if not set
* Fix Get function call
* Update user of env.MongoConnectionString
* get rid of fake storage.Connector
* get rid of the storage.Connector for mango & rdbms
* Remove all the connector interfaces
* Updating all the test to get rid of the connect
* Updating connection to storage for proxy
* Updating connection to storage for olympus
* get rid of fake storage.Connector
* get rid of the storage.Connector for mango & rdbms
* Remove all the connector interfaces
* Updating all the test to get rid of the connect
* Updating connection to storage for proxy
* Updating connection to storage for olympus
* Fix reviews
* Fix reviews
* fixing op Name
* fix replace the check of an error insted of the object exists
* Fix error message in the test
* added test for notfound
* 🚨🔨
* hahaha
* test
* Olympus: default to PORT env var (#226)
* Olympus: default to PORT env var
* Athens: generalize env.Port function call
* Olympus: add PORT to .env
* test
* getset
'
* Docs
* separate package
* Adding context to storage.Saver parameters
* +`buffalo.Context` as first param in storage.Saver
Fixes#177
* Parallelizing Upload to Azure Blob Storage
Fixes#175
* Fixing import clausing
* go fmt ./...
* Populating default context
* CI: Echo files modified by gofmt check to stderr
Doing so allows users to see which files still need to be formatted.
* Upgrading Go, then go fmt ./...
* Addressing Feedback
* more responding to feedback
* Adding worker save Default Context
* Removing tracing, buffalo.Context usage in Storage interface
github.com/bketelsen/buffet relies on using a `buffalo.Context`
however, often a `storage.Saver` is invoked from a buffalo worker,
which has no buffalo.Context associated with it. Therefore, we had
two options: create a buffalo context for each worker's Job, or
remove the buffalo.Context dependency in the Saver interface.
* Fixing missed changes
* Review feedback
* Add .info to upload payload
everywhere else as well
+ Upload payload includes Info
+ CLI uploads `version.info` as blob to storage
+ Getter and Saver methods updated for all storages implemented
+ Migration updated to include Info column
+ Tests no longer check RevInfo, now checking for Info same as Zip
+ Updated docs
* newline in .fizz
* change RevInfo.Info to []byte
+ change to []byte instead of io.Reader
+ adjust tests to check for info byte contents directly
+ add error check for minio client GetObject `pkg/storage/minio/getter.go`