aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/transform_elasticsearch.py
Commit message (Collapse)AuthorAgeFilesLines
* fmt (black): tests/Bryan Newbold2021-11-021-163/+178
|
* lint: simple, safe inline lint fixesBryan Newbold2021-11-021-60/+60
| | | | '==' vs 'is'; 'not a in b' vs 'a not in b'; etc
* hacks to work around new pylint false positivesBryan Newbold2021-11-021-9/+15
|
* cleanup imports after fatcat_tools.transforms changeBryan Newbold2021-11-021-9/+22
|
* container search schema: preservation stats, new fieldsBryan Newbold2021-04-061-5/+42
| | | | Includes transform code updates and partial test coverage.
* fix sloppy is_preserved ES transfom test failureBryan Newbold2020-12-171-1/+1
|
* improve release elasticsearch transform test coverageBryan Newbold2020-12-161-11/+84
|
* make in_kbart transform inclusive of last yearBryan Newbold2020-07-231-0/+46
| | | | | | | | | | | | | | | | | Frequently when looking at preservation coverage of journals, the current year shows as "un-preserved" when in fact there is robust KBART (keepers, eg CLOCKSS/Portico) coverage. This is partially because we don't update containers with KBART year spans very frequently (which is on us), and partially because KBART reports are often a bit out of day (eg, doesn't show coverage for the current year. For that matter, they probably take a few months to update the previous year as well, but that is a larger time span to fudge over. This patch means we will count Portico/LOCKSS/etc coverage for "last year" to count as coverage of publications dated "this year". Note that for this to be effective/correct, it is assumed that we will update containers with coverage year spans at least once a year, and that we will re-index all releases at least once a year.
* lint (flake8) python test filesBryan Newbold2020-07-011-3/+3
|
* ES updates: fix tests to accept archive.org in host/domainBryan Newbold2020-02-141-2/+3
|
* ES releases: host/domain fixesBryan Newbold2020-01-311-0/+3
|
* implement host+domain parsing for file ES transformBryan Newbold2020-01-301-4/+3
|
* fix ES file schema plural field namesBryan Newbold2020-01-291-1/+1
|
* actually implement changelog transformBryan Newbold2020-01-291-1/+23
|
* fix some transform bugs, add some testsBryan Newbold2020-01-291-0/+114