Releases: caltechlibrary/datatools
Bug fix, issue #14
Fixed bug in configuration handling for setting the delimiter used by sql2csv.
Added missing csv2tab
Add missing csv2tab to convert a file from comma separated values to tab separated values
SQL Query to CSV tool addition
This minor release adds sql2csv
command line tool let you easily run a SQL query and render the results CSV encoded. Support SQLite3 and MySQL 8 databases. May support Postgres (as yet untested). The cli can be configured to use another character as column delimited (e.g. tab) via command line options.
codemeta support improvements
Added missing codemeta maintainer support to codemeta2cff as well as the example Pandoc templates codemeta-md.tmpl
and codemeta-cff.tmpl
. The maintainer attribute of the codemeta object is a list of people or organizations similar to author
and contributor
.
Fixed typo in generated CITATION.cff
"keywords" was missing the "s" in generation of CITATION.cff by codemeta2cff. See Issue #10.
Updated support for CITATION.cff 1.2
This release is for updates to citation2ff tool bring the GitHub CITATION.cff file generation up to the 1.2 standard described at --
https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md
Updated codemeta support
This release features a change in the codemeta package. The change can be breaking, i.e. the affiliation value now expects a PersonOrOrganization struct rather than a string. Fixed a bug in the Makefile for installing from source on macOS. Now using a "mv" instead of "cp" to install to solve a security issue when copying the binary.
Released as a snap
This release incorporates the snap/snapcraft.yaml file for releasing these tools as a snap. This release has been compiled with Go 1.18.1.
Full Changelog: v1.0.4...1.0.5
Experiment with snaps
This release is just an experiment with generating amd64 snaps for use with Linux. Snap support may or not make it to a stable release.
Full Changelog: v1.0.4...1.0.5-dev-2
Added sample feature in jsonrange
This pre-release adds an experimental feature to jsonrange that allows you to take a "sample" of a list of objects you are iterating through with JSON range. The sample option works like limit but does a shuffle of the full array before applying limit. e.g. if I have an array of [1,3,4,5,6,7,8,9,10,11]
and use the command echo '[1,2,3,4,5,6,7,8,9,10,11]' | jsonrange -sample=3
I will get a random sample of three elements from the array.