From e063d2f470951f1735ccca8c6ea4b37029a6fede Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 16 Apr 2020 20:54:20 +0200 Subject: changelog: limit types No partial docs (e.g. abstract), too generic components and entries, not HTML blogs. --- python/fatcat_tools/workers/changelog.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/python/fatcat_tools/workers/changelog.py b/python/fatcat_tools/workers/changelog.py index fcf3f031..3a49f86e 100644 --- a/python/fatcat_tools/workers/changelog.py +++ b/python/fatcat_tools/workers/changelog.py @@ -153,15 +153,12 @@ class EntityUpdatesWorker(FatcatWorker): doi = ingest_request.get('ext_ids', {}).get('doi') is_document = release.release_type in ( - 'abstract', 'article', 'article-journal', 'article-newspaper', 'book', 'chapter', - 'component', 'editorial', - 'entry', 'interview', 'legal_case', 'legislation', @@ -170,8 +167,6 @@ class EntityUpdatesWorker(FatcatWorker): 'paper-conference', 'patent', 'peer_review', - 'post', - 'post-weblog', 'report', 'retraction', 'review', @@ -179,6 +174,7 @@ class EntityUpdatesWorker(FatcatWorker): 'thesis', ) is_not_pdf = release.release_type in ( + 'component', 'dataset', 'figure', 'graphic', -- cgit v1.2.3