Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | have release elasticsearch transform count webcaptures and filesets towards ↵ | Bryan Newbold | 2020-12-16 | 1 | -26/+57 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | preservation These are simple/partial changes to have webcaptures and filesets show up in 'preservation', 'in_ia', and 'in_web' ES schema flags. A longer-term TODO is to update the ES schema to have more granular analytic flags. Also includes a small generalization refactor for URL object parsing into preservation status, shared across file+fileset+webcapture entity types (all have similar URL objects with url+rel fields). | |||||
| * | | improve release elasticsearch transform test coverage | Bryan Newbold | 2020-12-16 | 3 | -11/+86 | |
| | | | ||||||
| * | | small release_to_elasticsearch refactors | Bryan Newbold | 2020-12-16 | 1 | -7/+12 | |
| | | | | | | | | | | | | | | | | | | | | | These should have almost no change in behavior, but improve code quality. The one behavior change is counting ftp URLs as "in_web" | |||||
| * | | refactor release_to_elasticsearch transform | Bryan Newbold | 2020-12-16 | 1 | -131/+148 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | This method was huge an monolithic. This commit splits out the content and container specific sections into helper functions to make it more managable. This involved refactoring to make many flags ("is_*" and "in_*") part of the output dict through the entire code path, allowing simple update() calls on the dict. Noting that in the future should refactor to use a type-annotated class for the elasticsearch output object. Perhaps something auto-generated from the ES schema itself (JSON files). | |||||
* | | html ingest: small fixes to try_update() code path | Bryan Newbold | 2020-12-15 | 1 | -5/+5 | |
| | | | | | | | | | | Don't currently have test coverage for most try_update() code; run the inserts manually in testing. | |||||
* | | notes on partial-progress DOAJ release metadata import | Bryan Newbold | 2020-12-14 | 1 | -0/+105 | |
| | | ||||||
* | | bulk import notes on ORCID | Bryan Newbold | 2020-12-14 | 1 | -0/+55 | |
| | | ||||||
* | | Revert "gitlab CI: explicitly use xenial tag of image" | Bryan Newbold | 2020-12-11 | 1 | -1/+1 | |
| | | | | | | | | This reverts commit dbfc6e9bacaab4960e814192d66eefea87ef8930. | |||||
* | | Revert "docker xenial base image: include python3.8" | Bryan Newbold | 2020-12-11 | 1 | -6/+1 | |
| | | | | | | | | This reverts commit 91628426678a635f26cf992dbd5caedb4a3ae24b. | |||||
* | | gitlab CI: explicitly use xenial tag of image | Bryan Newbold | 2020-12-11 | 1 | -1/+1 | |
| | | ||||||
* | | docker xenial base image: include python3.8 | Bryan Newbold | 2020-12-11 | 1 | -1/+6 | |
| | | ||||||
* | | HACK: squash intermitent failure of detect_text_lang() test | Bryan Newbold | 2020-12-11 | 1 | -1/+2 | |
| | | | | | | | | | | This is an open bug; it is important that tests pass on master branch however. | |||||
* | | guide: small updates to container extra schema notes (from dblp work) | Bryan Newbold | 2020-12-11 | 1 | -2/+7 | |
| | | ||||||
* | | bulk edits: note ORCID update | Bryan Newbold | 2020-12-11 | 1 | -1/+5 | |
| | | ||||||
* | | docker: how to push to dockerhub | Bryan Newbold | 2020-12-11 | 1 | -0/+4 | |
| | | ||||||
* | | Merge branch 'bnewbold-doaj-metadata' into 'master' | Martin Czygan | 2020-11-24 | 37 | -1549/+2845 | |
|\ \ | | | | | | | | | | | | | DOAJ article metadata import See merge request webgroup/fatcat!89 | |||||
| * | | cargo: update sentry to fix memory initialization issue | Bryan Newbold | 2020-11-20 | 2 | -274/+332 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Older sentry had an unsafe memory initialization error, which wasn't caught by older compilers. Rust 1.48 catches the problem at runtime and raises a panic. This meant that new builds (eg, on QA machine after update) were panic-ing. Newest versions of sentry have modern dependencies, which breaks our crufty old 'iron' dependency tree. Work-around is to only partially update (v0.12 to v0.15). This is a fairly frustrating situation. I'm hopeful that when we update to a different web framework and openapi generator 5.0 (not yet released), many of these dependency issues will be resolved, but i'm not certain. I did notice that if we entirely remove Sentry, which has not really been used much (only a small handful of issues reported over several years), we might be able to resolve openssl dependency issues. | |||||
| * | | DOAJ: remove accidentally commited 'skip' of a test | Bryan Newbold | 2020-11-20 | 1 | -1/+0 | |
| | | | ||||||
| * | | langdetect: more text for 'zh' test case | Bryan Newbold | 2020-11-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | This is an attempt to fix spurious test failures, in which this text block was getting detected as 'kr' on occasion. Apparently there is non-determinism in the langdetect package. | |||||
| * | | DOAJ: update importer README with example invocation | Bryan Newbold | 2020-11-20 | 1 | -0/+7 | |
| | | | ||||||
| * | | crossref+datacite: remove confusing early update bail | Bryan Newbold | 2020-11-20 | 2 | -4/+0 | |
| | | | | | | | | | | | | | | | Easy to miss that we skip updates *twice*, and with this early bailout were not updating counts correctly. | |||||
| * | | doaj: fix update code path (getattr not __dict__) | Bryan Newbold | 2020-11-20 | 3 | -15/+70 | |
| | | | | | | | | | | | | Also add missing code coverage for update path (disabled by default). | |||||
| * | | DOAJ: handle empty identifier 'id' case | Bryan Newbold | 2020-11-20 | 1 | -0/+2 | |
| | | | ||||||
| * | | clean DOI: ban all non-ASCII characters | Bryan Newbold | 2020-11-19 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | I believe this is safe and matches the regex filter in rust (fatcatd). Keep hitting one-off DOIs that were passing through python check, so being more strict from here forward. | |||||
| * | | normal: handle langdetect of 'zh-cn' (not len=2) | Bryan Newbold | 2020-11-19 | 1 | -0/+3 | |
| | | | ||||||
| * | | update fatcatd rust code for 'oai' external identifier | Bryan Newbold | 2020-11-19 | 4 | -11/+189 | |
| | | | ||||||
| * | | codegen rust schema crate | Bryan Newbold | 2020-11-19 | 6 | -3/+20 | |
| | | | ||||||
| * | | codegen python openapi client | Bryan Newbold | 2020-11-19 | 2 | -4/+36 | |
| | | | ||||||
| * | | schema: also add 'oai' identifer (OAI-PMH) for releases | Bryan Newbold | 2020-11-19 | 2 | -2/+9 | |
| | | | ||||||
| * | | tweak DOAJ importer class args and default for do_updates | Bryan Newbold | 2020-11-19 | 1 | -2/+2 | |
| | | | ||||||
| * | | show DOAJ (and dblp) identifiers in release view | Bryan Newbold | 2020-11-19 | 1 | -1/+7 | |
| | | | ||||||
| * | | if a release has DOAJ article id, count as OA | Bryan Newbold | 2020-11-19 | 1 | -0/+3 | |
| | | | ||||||
| * | | implement remainder of DOAJ article importer | Bryan Newbold | 2020-11-19 | 3 | -68/+168 | |
| | | | ||||||
| * | | handle more non-ASCII DOI cases | Bryan Newbold | 2020-11-19 | 1 | -1/+3 | |
| | | | ||||||
| * | | more python normalizers, and move from importer common | Bryan Newbold | 2020-11-19 | 2 | -154/+326 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved several normalizer helpers out of fatcat_tools.importers.common to fatcat_tools.normal. Copied language name and country name parser helpers from chocula repository (built on existing pycountry helper library). Have not gone through and refactored other importers to point to these helpers yet; that should be a separate PR when this branch is merged. Current changes are backwards compatible via re-imports. | |||||
| * | | initial implementation of DOAJ importer | Bryan Newbold | 2020-11-19 | 4 | -0/+387 | |
| | | | | | | | | | | | | Several things to finish implementing and polish. | |||||
| * | | python API client: resolve warning about '\d' in string | Bryan Newbold | 2020-11-19 | 1 | -2/+2 | |
| | | | ||||||
| * | | rustfmt | Bryan Newbold | 2020-11-19 | 5 | -87/+138 | |
| | | | ||||||
| * | | rust: fatcatd changes for DOAJ+dblp identifiers | Bryan Newbold | 2020-11-19 | 6 | -949/+1062 | |
| | | | ||||||
| * | | codegen rust crate for v0.3.3 | Bryan Newbold | 2020-11-19 | 8 | -227/+244 | |
| | | | ||||||
| * | | codegen python client library for v0.3.3 | Bryan Newbold | 2020-11-19 | 7 | -16/+80 | |
| | | | ||||||
| * | | schema: DOAJ+dblp ext_ids; bump to v0.3.3 | Bryan Newbold | 2020-11-19 | 2 | -1/+25 | |
|/ / | ||||||
* | | ingest and proposal updates | Bryan Newbold | 2020-11-19 | 2 | -0/+45 | |
| | | ||||||
* | | Merge branch 'bnewbold-xml-html-ingest' into 'master' | Martin Czygan | 2020-11-19 | 10 | -66/+409 | |
|\ \ | |/ |/| | | | | | HTML webcapture ingest (and XML file ingest) See merge request webgroup/fatcat!88 | |||||
| * | html ingest: actual xhtml mimetype | Bryan Newbold | 2020-11-16 | 1 | -2/+2 | |
| | | ||||||
| * | ingest tool: support for setting ingest type | Bryan Newbold | 2020-11-06 | 2 | -6/+10 | |
| | | ||||||
| * | html ingest: remaining implementation | Bryan Newbold | 2020-11-06 | 1 | -22/+19 | |
| | | ||||||
| * | ingest: fix XML ingest test file | Bryan Newbold | 2020-11-05 | 1 | -1/+1 | |
| | | ||||||
| * | ingest: progress on HTML ingest | Bryan Newbold | 2020-11-05 | 3 | -16/+74 | |
| | | ||||||
| * | ingest: initial 'web' worker implementation | Bryan Newbold | 2020-11-05 | 3 | -67/+301 | |
| | |