* Adding an athens Philosophy
* a few guiding principles
* better grammar
thanks @robjloranger!
* Adding @bketelsen's guide on contributing to a Go OSS project
* 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
* refactor app to make testin easier
* add test
* add comment
* extend cache miss handler test
* use env for mongo uri
* struct for app dependencies
* eanglish iz dificult ;-)
* address review feedback
* Adding the design doc for the proxy
Taken from the wiki page and modified slightly
* Moving the wiki page for registry to a doc
and modifying slightly to remove the "Olympus" nomenclature, since it's confusing
* always downloading a fixed buffalo CLI version
As of this writing, latest is v0.12.3
* moving the buffalo binary to a permitted place
also making the binary executable
* composing buffalo URL with tar_gz env var
* Add Dependencies for GCP
cloud.google.com/go/storage
google.golang.org/api/option // allows authetication options for storage
github.com/golang/protobuf // override to fix dependency issue
issue was with a protobuf library required by the storage library.
it was importing v1.0.0 but referencing code from v1.1.0
* WIP mostly roughed out
some small descisions to be made and testing is missing
* rename gcp.go to saver.go
* rename gcp.go to saver.go
* Requested Changes
+ closing the storage.Client is not required
+ move increment of count into 'for' line
+ add tracing span for save helper
+ removed projectID from New signiture, unused
* basic test, just testing generator so far
* Readability fixes
+ change calls to save so they send directly to the errs channel
+ return wc.Close instead of checking the error first
+ also remove failing part of tests for now, needs authentication
* Happy Path Tests
- removed use of buffalo.Context
- (storage).Save no longer accepts a context
+ includes basic happy path tests
+ private key for test project praxis-cab-207400.appspot.com
* messy gitwork
* remove keys
* ch-ch-changes🎶
+ defer close of storage.Writer, logging to be decided
+ correct check on length of errsOut
+ set inital length of errsOut to 0
* more stuff is in here
+ switch to context being passed again
+ use context with timeout instead of time.After
+ tests pull creds from env variable
missing skipping tests when no variable is set and teardown is no
implemented
* skip gcp storage tests when no key file present
* speed up tests a little
* need aetest pkg
* add aetest to Gopkg.toml explicitly
* tear down suite deletes storage artifacts
* should setup whole suite
* log error on wc.close and close errs chan
* cleaner check for env var
* use envy where appropriate and pull gcp bucket name from env var
* one more for consistency
I like the comma ok idiom better in this case but everything else is
using envy.
* don't panic in test set up and tear down
* use shared context with timeout and switch to seconds for duration
* no one needed the context.Cancel func. use `file` instead of `content` for consistency
* defer cancellation of context for uploads
* Update saver.go
+ rename `save` to `upload`
+ clarify comments
* 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
* Implementing the CDN getter and storage saver for Azure CDN
Fixes https://github.com/gomods/athens/issues/29
* Adding azure dependencies
* adding GoGet middleware into olympus
just using azure blob storage for now. will parameterize later
* cleaning up compile errs
* adding fmt.Sprintf param
* removing newline in imports
* following the rules for container names
* removing unused import