about summary refs log tree commit diff
path: root/tools/nixery/storage
AgeCommit message (Collapse)AuthorFilesLines
2021-04-29 docs: document unset GOOGLE_APPLICATION_CREDENTIALSFlorian Klink1-0/+4
In case the `GOOGLE_APPLICATION_CREDENTIALS` environment variable is not set, a redirect to storage.googleapis.com is issued, which means the underlying bucket objects need to be publicly accessible. This wasn't really obvious until now, so further clarify it.
2020-10-29 feat(storage): Add support for content-types (GCS only)Vincent Ambo3-5/+25
Extends storage.Persist to accept a Content-Type argument, which in the GCS backend is persisted with the object to ensure that the object is served back with this content-type. This is not yet implemented for the filesystem backend, where the parameter is simply ignored. This should help in the case of clients which expect the returned objects to have content-types set when, for example, fetching layers by digest.
2020-10-27 refactor(storage): Rename ServeLayer -> ServeVincent Ambo3-10/+10
This is going to be used for general content-addressed objects, and is not layer specific anymore.
2019-11-27 refactor: Reshuffle file structure for better code layoutVincent Ambo3-0/+366
This gets rid of the package called "server" and instead moves everything into the project root, such that Go actually builds us a binary called `nixery`. This is the first step towards factoring out CLI-based functionality for Nixery.