Releases: bio-guoda/preston
0.10.5
Features
n/a
Improvements
- implement workaround for un-escaped characters Zenodo file content url #317
instead of url offered by Zenodo API
https://zenodo.org/api/records/13505983/files/Thuiller%20et%20al.%20-%202006%20-%20INTERACTIONS%20BETWEEN%20ENVIRONMENT,%20SPECIES%20TRAITS,%20.]/content
the following url is constructed (note the escaped ,
and ]
https://zenodo.org/api/records/13505983/files/Thuiller%20et%20al.%20-%202006%20-%20INTERACTIONS%20BETWEEN%20ENVIRONMENT%2C%20SPECIES%20TRAITS%2C%20.%5D/content
Bugs
n/a
0.10.4
Features
n/a
Improvements
-
support verification of composite content IRIs (#316) such as
cut:hash://md5/23048141cf6ca7176c98772905d2f3c3!/b55987-58463
-
support tracking of additional GBIF api endpoint patterns
preston track https://gbif.org/api/dataset/d6097f75-f99e-4c2a-b8a5-b0fc213ecbd0\
| preston dwc-stream
is now supported in addition to
preston track https://api.gbif.org/v1/dataset/d6097f75-f99e-4c2a-b8a5-b0fc213ecbd0\
| preston dwc-stream
Bugs
n/a
0.10.3
Features
n/a
Improvements
- allow to retrieve restricted content from Zenodo if credential are available #314
- refactor streaming functionality into preston-stream module to facilitate reuse (aka by Elton, globalbioticinteractions/elton#52 globalbioticinteractions/globalbioticinteractions#1030)
Bugs
n/a
0.10.2
0.10.1
Features
n/a
Improvements
- make [ris-stream] visible in documentation in man pages / documentation
- in
xslx-stream
globalbioticinteractions/globalbioticinteractions#1023 make sure to include cells with empty values so that xlsx -> json -> tsv works nicely with mlr.
preston ls\
| grep hasVersion\
| grep xlsx\
| head -1\
| preston xlsx-stream\
| mlr --ijson --otsvlite cat
Bugs
0.10.0
Features
Now, specific pages in pdf resources can be addressed using a notation with syntax:
pdf:[some content id]!/p[some page number]
page (sub)ranges are supported similar to the line:
notation -
Examples of Content-based Page Addressing
page 20 of Anderson 1912 as identified by hash://md5/56384a6778e2c67bbd8ebe4d63f770cf
pdf:hash://md5/56384a6778e2c67bbd8ebe4d63f770cf!/p20
pages 20-24 of Anderson 1912:
pdf:hash://md5/56384a6778e2c67bbd8ebe4d63f770cf!/p20-p24
pages 2-4 and pages 20-24
pdf:hash://md5/56384a6778e2c67bbd8ebe4d63f770cf!/p2-p4,p20-p24
These page addresses can be combined with preston commands cat
:
preston cat\
'pdf:hash://md5/56384a6778e2c67bbd8ebe4d63f770cf!/p2-p4,p20-p24'\
> some.pdf
as well as preston in server mode, with example of https://linker.bio -
https://linker.bio/pdf:hash://md5/56384a6778e2c67bbd8ebe4d63f770cf!/p2-p4,p20-p24
Improvements
Bugs
0.9.9
Features
n/a
Improvements
- translate upload_type to resource type to make image-photo resource t… …ype query more specific
- remove dependency on javascript engine; related to #305
- add newline to head command to play nice with other programs
- use existing doi as alternate identifiers; related to zenodo/zenodo#2536
- prevent closing of main archive stream when handling individual entri…
- add preliminary support for metadata.yaml; related to globalbioticinteractions/globalbioticinteractions#1022
globalbioticinteractions/globalbioticinteractions#1022
…es (e.g., sources cited by the primary dataset); related to jhpoelen/cite-the-bunnies#3
Bugs
0.9.8
Features
n/a
Improvements
n/a
Bugs
- use appropriate Zenodo API syntax for selecting records of a specific type, avoiding false positive detection of records of a specific type, and instead match records with similar alternative identifiers. (related to zenodo/zenodo#2545 and darktaxon/mfn-malaisetrap#7). Big thanks to @asrivathsan for pointing out effects of this overly greedy query results.
0.9.7
Features
n/a
Improvements
- make Zenodo record alignment queries include expected resource type
- delete existing files on new zenodo deposit version; related to #304
- add navigation links to physicalobject, event and photo deposits as s… …uggested by @asrivathsan
- toward consistent attachment of key image to physical object / darkta… …xon; related to darktaxon/mfn-malaisetrap#2
Bugs
n/a
0.9.6
Features
n/a
Improvements
n/a
Bugs
- introduce key images for physical specimen in context of DarkTaxon project (see darktaxon/darktaxon#18)
- encode Zenodo search queries (with html landing pages/ json structured data) into Photo/Physical Object/Event deposits (see darktaxon/darktaxon#19)