- add support for
TRACEPARENT
environment variable; format matches the w3 format.
- flag environment variable overriding wasn't handling boolean values correctly; any value was considered
true
.
hash
command writes its output tostdout
, as that is likely to be what people want when running it
- support setting
--debug
onfetch
command with theCAS_DEBUG
environment variable.
fetch
could give aninvalid argument
if the local file didn't exist, but the interface returned byreadFile
wasn'tnil
.
- Implement generic environment variable fallback mechanism for flags.
- add
CAS_VERBOSE
flag forfetch
- add
--debug
tofetch
, writes a metadata file to the backend with intermediate hashes, useful for debugging why a hash has changed fetch
will only download an artifact if the local version doesn't exist, or doesn't match the stored version
cas artifact
will create the.archive
file locally when storing a**/.archive
file, so that subsequentmake
invocations will find the file
hash
command which prints the hash thatfetch
uses for restoringexample/store-directory
to show how to restore a directory with the.archive
suffix
fetch
restores the marker file for.archive
usage
artifact
command, replaces thestore
command
fetch
command now does hashing and is designed to work within amakefile
. See the addedexample/basic-usage
for details.- Refactored localstorage to also modify file timestamps
store
commandread
commandwrite
command
- add
--debug
flag tohash
command, so that intermediate hashes can be viewed, helping debug when the hash changes and you think it should not have
- Handle that
dirFS
doesn't cope with file paths starting with./
- Update dependencies
fetch
andstore
support archiving an entire directory by naming it.archive
e.g.cas store .dist/bin/.archive
- update direct dependencies to resolve minor security warning in
github.com/Masterminds/goutils
- make the build process publish release binaries and notes correctly
- New command
hash
to generate hashes of files and their content
- Support S3 backend
- Read and Write metadata
- Fetch and Store artifacts
- Initial Version