about summary refs log tree commit diff
path: root/tools/nixery/storage/storage.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-04-20 r/3982 chore(nixery): Housekeeping for depot compatibilityVincent Ambo1-13/+2
Cleans up a whole bunch of things I wanted to get out of the door right away: * depot internal references to //third_party/nixery have been replaced with //tools/nixery * cleaned up files from Github * fixed SPDX & Copyright headers * code formatting and inclusion in //tools/depotfmt checks Change-Id: Iea79f0fdf3aa04f71741d4f4032f88605ae415bb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5486 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2020-10-29 feat(storage): Add support for content-types (GCS only)Vincent Ambo1-1/+1
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 Ambo1-3/+3
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 Ambo1-0/+51
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.