Releases: caltechlibrary/namaste
Minor project improvements
Stable Release
This Golang library implemented a "name as text" (NAMe AS TExt) scheme such as those used in prior initiatives by the California Digital Library.
go1.16 support
This change is a minor release to support compiling with go 1.16 or better. The depreciated caltechlibrary/storage package dependency has been fully removed.
Upgrade due to changes in storage.go package
This release is compiled using storage.go v0.1.0 which removes support for S3 and Google Cloud Storage. It has been tested with go1.13
Go module implementation
Added Go module support.
Minor release of package compatibility
This pre-release is for compatibility with cli version v0.0.13 package.
Command line improvements, filtered Get option
This release features two command line improvements, the "get" verb now will accept a field name (e.g. type, who, what, when, where) and I added a -values
option to return just the value without the namaste prefix, one value per line.
namaste get who
namaste -values get who
namaste -json get who
namaste -json -values get who
Yields:
# get who
namastes: 1=Doiel,R.S.
# -values get who
Doiel,R.S.
# -json get who
["1=Doiel,R.S."]
# -json -values get who
["Doiel,R.S."]
In the Go package the "Get" function now takes an array of strings which you can use to filter the Get results.
The strings can be in the form of "0", "1", "2", ... or "type", "who", "what", ...
Submission to CaltechDATA
This is a release to submit the software to CaltechDATA.
Initial proof of concept
This is an initial implementation of a "Name as text" package (aka. namaste) for Go and a related command line utility. It supports adding namaste on the local file system as well as in S3 and Google Cloud Storage. it was inspired by https://github.com/mjgiarlo/namaste and is largely command line compatible with the behavior this Python implementation.
This project was motivated by understanding implementation approaches influencing Oxford Common File Layout, BagIt and Datacrate implementations.