<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fatcat/python/fatcat_tools/importers, branch v0.5.1</title>
<subtitle>[no description]</subtitle>
<id>https://git.bnewbold.net/fatcat/atom?h=v0.5.1</id>
<link rel='self' href='https://git.bnewbold.net/fatcat/atom?h=v0.5.1'/>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat/'/>
<updated>2021-12-15T20:48:15Z</updated>
<entry>
<title>crossref importer: skip affiliations lacking 'name'</title>
<updated>2021-12-15T20:48:15Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2021-12-15T20:48:13Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat/commit/?id=b9d5c3853fe70663b0eff101c9ac4a1cbfd354e7'/>
<id>urn:sha1:b9d5c3853fe70663b0eff101c9ac4a1cbfd354e7</id>
<content type='text'>
Relatedly, we should start handling ROR affiliations in contribs soon.
</content>
</entry>
<entry>
<title>chocula importer: handle not-upper-case ISSNs</title>
<updated>2021-12-01T01:25:38Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2021-12-01T01:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat/commit/?id=3ba6a6b44080dd2ce2636dde853faf800f0b7628'/>
<id>urn:sha1:3ba6a6b44080dd2ce2636dde853faf800f0b7628</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chocula importer: handle broken ISSNs in extra metadata</title>
<updated>2021-12-01T00:56:18Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2021-12-01T00:56:18Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat/commit/?id=b1efd59c2cad275d126a1bde67c11430d71878db'/>
<id>urn:sha1:b1efd59c2cad275d126a1bde67c11430d71878db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chocula importer: tweak counting, conditions for doing updates</title>
<updated>2021-12-01T00:25:09Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2021-11-24T23:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat/commit/?id=1177dafb9b185c7b749ff95ded1a0720792fbb5e'/>
<id>urn:sha1:1177dafb9b185c7b749ff95ded1a0720792fbb5e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chocula importer: move issne/issnp 'extra' to top-level fields if doing updates</title>
<updated>2021-12-01T00:25:09Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2021-11-24T23:15:22Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat/commit/?id=0d820674f17a03feee73ce38debf494c79003483'/>
<id>urn:sha1:0d820674f17a03feee73ce38debf494c79003483</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chocula: don't do name cleanups in importer</title>
<updated>2021-12-01T00:25:09Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2021-11-24T23:11:56Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat/commit/?id=2260eefcb5b8f2d3d29be8e98b292b5e7d326844'/>
<id>urn:sha1:2260eefcb5b8f2d3d29be8e98b292b5e7d326844</id>
<content type='text'>
This kind of cleanup should be done in 'chocula' instead.
</content>
</entry>
<entry>
<title>codespell fixes in python code (comments)</title>
<updated>2021-11-24T23:45:33Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2021-11-24T23:45:33Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat/commit/?id=5d3e62f757e968d28e90bdc4f0abe2ee07a09f3f'/>
<id>urn:sha1:5d3e62f757e968d28e90bdc4f0abe2ee07a09f3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'bnewbold-import-refactors' into 'master'</title>
<updated>2021-11-11T01:12:18Z</updated>
<author>
<name>bnewbold</name>
<email>bnewbold@archive.org</email>
</author>
<published>2021-11-11T01:12:18Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat/commit/?id=6ad9d24e4d7d901d6fc394e6e91575f6acba7ff4'/>
<id>urn:sha1:6ad9d24e4d7d901d6fc394e6e91575f6acba7ff4</id>
<content type='text'>
import refactors and deprecations

Some of these are from old stale branches (the datacite subject metadata patch), but most are from yesterday and today. Sort of a hodge-podge, but the general theme is getting around to deferred cleanups and refactors specific to importer code before making some behavioral changes.

The Datacite-specific stuff could use review here.

Remove unused/deprecated/dead code:

- cdl_dash_dat and wayback_static importers, which were for specific early example entities and have been superseded by other importers
- "extid map" sqlite3 feature from several importers, was only used for initial bulk imports (and maybe should not have been used)

Refactors:

- moved a number of large datastructures out of importer code and into a dedicated static file (`biblio_lookup_tables.py`). Didn't move all, just the ones that were either generic or very large (making it hard to read code)
- shuffled around relative imports and some function names ("clean_str" vs. "clean")

Some actual behavioral changes:

- remove some Datacite-specific license slugs
- stop trying to fix double-slashes in DOIs, that was causing more harm than help (some DOIs do actually have double-slashes!)
- remove some excess metadata from datacite 'extra' fields</content>
</entry>
<entry>
<title>Merge branch 'bnewbold-cleanups-nov2021' into 'master'</title>
<updated>2021-11-11T01:11:49Z</updated>
<author>
<name>bnewbold</name>
<email>bnewbold@archive.org</email>
</author>
<published>2021-11-11T01:11:49Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat/commit/?id=7e3f91f1a49ea85707cae31125021ba761f5373d'/>
<id>urn:sha1:7e3f91f1a49ea85707cae31125021ba761f5373d</id>
<content type='text'>
Fatcat metadata cleanups/fixups, November 2021

Three cleanups implemented in this branch:

- update non-lowercase DOIs on releases (couple hundred thousand entities)
- fix incorrectly imported file/release pairs, on the file entity side (~250k entities)
- expand truncated wayback URL timestamps in file entities (up to 10 million entities)

Instead of proposals, there are documents for each cleanup in `notes/cleanups/`.

Have done spot testing of tens of thousands of entities each in QA, and confident about running in production.

Plan is to run updates in the order above. DOI and bugfix updates will go fairly fast; the wayback timestamp updates will go slower, and result in large re-indexing load both in fatcat and scholar, because both release and work entities will get triggered for update when file entities are updated.</content>
</entry>
<entry>
<title>refactor importer metadata tables into separate file; move some helpers around</title>
<updated>2021-11-10T21:52:43Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2021-11-10T21:52:39Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat/commit/?id=ddc757bc1d5c610f42e9f5f10a4f060f517b66ca'/>
<id>urn:sha1:ddc757bc1d5c610f42e9f5f10a4f060f517b66ca</id>
<content type='text'>
- MAX_ABSTRACT_LENGTH set in a single place (importer common)
- merge datacite license slug table in to common table, removing some
  TDM-specific licenses (which do not apply in the context of preserving
  the full work)
</content>
</entry>
</feed>
