aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/workers
diff options
context:
space:
mode:
authorbnewbold <bnewbold@archive.org>2020-04-17 18:08:58 +0000
committerbnewbold <bnewbold@archive.org>2020-04-17 18:08:58 +0000
commit68d5b259888b0cf22dce6894063f77d1ac2bccf4 (patch)
tree1463ba0cd341a85d6235e4a64b0f68a49d936239 /python/fatcat_tools/workers
parent2149e5125757a98846b43caf8862922e6cea74aa (diff)
parente063d2f470951f1735ccca8c6ea4b37029a6fede (diff)
downloadfatcat-68d5b259888b0cf22dce6894063f77d1ac2bccf4.tar.gz
fatcat-68d5b259888b0cf22dce6894063f77d1ac2bccf4.zip
Merge branch 'martin-changelog-release-types' into 'master'
changelog: extend release_types considered documents See merge request webgroup/fatcat!42
Diffstat (limited to 'python/fatcat_tools/workers')
-rw-r--r--python/fatcat_tools/workers/changelog.py29
1 files changed, 17 insertions, 12 deletions
diff --git a/python/fatcat_tools/workers/changelog.py b/python/fatcat_tools/workers/changelog.py
index d1e7c2db..3a49f86e 100644
--- a/python/fatcat_tools/workers/changelog.py
+++ b/python/fatcat_tools/workers/changelog.py
@@ -153,28 +153,33 @@ class EntityUpdatesWorker(FatcatWorker):
doi = ingest_request.get('ext_ids', {}).get('doi')
is_document = release.release_type in (
- 'article-journal',
- 'paper-conference',
'article',
- 'report',
+ 'article-journal',
+ 'article-newspaper',
+ 'book',
'chapter',
- 'manuscript',
- 'review',
- 'thesis',
- 'letter',
'editorial',
- 'abstract',
- 'entry',
+ 'interview',
+ 'legal_case',
+ 'legislation',
+ 'letter',
+ 'manuscript',
+ 'paper-conference',
'patent',
- 'post',
+ 'peer_review',
+ 'report',
+ 'retraction',
+ 'review',
'review-book',
+ 'thesis',
)
is_not_pdf = release.release_type in (
+ 'component',
'dataset',
- 'stub',
- 'software',
'figure',
'graphic',
+ 'software',
+ 'stub',
)
# accept list sets a default "crawl it" despite OA metadata for