diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-18 19:11:04 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-18 19:11:04 -0800 |
commit | b17277cd793df7bf916b20ec576e3e6301c8cfe4 (patch) | |
tree | 368bb1d89ed287b5dbf990fcdd637a54d6e1ab2f | |
parent | 629eec677d0a0c5c4110a1993a93c71b33021f28 (diff) | |
download | fatcat-b17277cd793df7bf916b20ec576e3e6301c8cfe4.tar.gz fatcat-b17277cd793df7bf916b20ec576e3e6301c8cfe4.zip |
include filesets and webcaptures in exports
-rw-r--r-- | python/fatcat_tools/workers/changelog.py | 2 | ||||
-rw-r--r-- | rust/README.export.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/workers/changelog.py b/python/fatcat_tools/workers/changelog.py index 8690a791..636ed304 100644 --- a/python/fatcat_tools/workers/changelog.py +++ b/python/fatcat_tools/workers/changelog.py @@ -93,7 +93,7 @@ class EntityUpdatesWorker(FatcatWorker): release_edits = cle['editgroup']['edits']['releases'] for re in release_edits: ident = re['ident'] - release = self.api.get_release(ident, expand="files,container") + release = self.api.get_release(ident, expand="files,filesets,webcaptures,container") release_dict = self.api.api_client.sanitize_for_serialization(release) producer.produce( message=json.dumps(release_dict).encode('utf-8'), diff --git a/rust/README.export.md b/rust/README.export.md index cee361c0..97c2c028 100644 --- a/rust/README.export.md +++ b/rust/README.export.md @@ -9,5 +9,5 @@ Then dump: Or, perhaps, in production: - cat /tmp/fatcat_ident_releases.tsv | ./target/release/fatcat-export release --expand files,container -j8 | pv -l | gzip > release_export_expanded.json.gz + cat /tmp/fatcat_ident_releases.tsv | ./target/release/fatcat-export release --expand files,filesets,webcaptures,container -j8 | pv -l | gzip > release_export_expanded.json.gz |