summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/sql_dumps/README.md7
-rw-r--r--python/tests/web_refs.py1
2 files changed, 5 insertions, 3 deletions
diff --git a/extra/sql_dumps/README.md b/extra/sql_dumps/README.md
index 8c1b5239..92c6e150 100644
--- a/extra/sql_dumps/README.md
+++ b/extra/sql_dumps/README.md
@@ -109,8 +109,8 @@ Can also run using the remote/SSH options above.
The `./ia_item_exports_readme.md` and `sqldump` files should be included as a
`README.md` when appropriate:
- ia upload fatcat_bulk_exports_YYYY-MM-DD ia_exports_item_readme.md --remote-name=README.md
- ia upload fatcat_sqldump_public_YYYY-MM-DD ia_sqldump_item_readme.md --remote-name=README.md
+ ia upload fatcat_bulk_exports_YYYY-MM-DD ia_exports_item_readme.md --remote-name=README.md -m collection:fatcat_snapshots_and_exports
+ ia upload fatcat_sqldump_public_YYYY-MM-DD ia_sqldump_item_readme.md --remote-name=README.md -m collection:fatcat_snapshots_and_exports
Uploads should can be `--no-derive` to save cluster time.
@@ -122,3 +122,6 @@ Metadata should be set as:
- date: that the dump started (UTC)
- title: "Fatcat Bulk Metadata Exports (YYYY-MM-DD)" or "Fatcat Public Database Snapshot (YYYY-MM-DD)"
+## HOWTO: Upload refcat to archive.org
+
+ ia upload refcat_YYYY-MM-DD -m collection:fatcat_snapshots_and_exports refcat-brefcombined-YYYY-MM-DD.json.zst
diff --git a/python/tests/web_refs.py b/python/tests/web_refs.py
index bceb8557..72a295e1 100644
--- a/python/tests/web_refs.py
+++ b/python/tests/web_refs.py
@@ -51,4 +51,3 @@ def test_basic_refs(app, mocker):
rv = app.get('/release/aaaaaaaaaaaaarceaaaaaaaaai/refs-out')
assert rv.status_code == 200
assert b"No References Found" in rv.data
-