From d3a8f38108ac87a7a3c913462e49652f5ddcd6fa Mon Sep 17 00:00:00 2001
From: Valentin Lorentz <vlorentz@softwareheritage.org>
Date: Thu, 23 Jan 2025 11:28:31 +0100
Subject: [PATCH] Apply swh-dataset -> swh-export rename

---
 docs/devel/api-reference.rst       | 2 +-
 docs/devel/faq/index.rst           | 4 ++--
 docs/devel/getting-started/api.rst | 2 +-
 docs/devel/index.rst               | 8 ++++----
 requirements-swh-dev.txt           | 2 +-
 requirements-swh.txt               | 2 +-
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/docs/devel/api-reference.rst b/docs/devel/api-reference.rst
index fe35c3ae..c4408dec 100644
--- a/docs/devel/api-reference.rst
+++ b/docs/devel/api-reference.rst
@@ -18,8 +18,8 @@ by components:
    swh.auth <swh-auth/index>
    swh.core <swh-core/index>
    swh.counters <swh-counters/index>
-   swh.dataset <swh-dataset/index>
    swh.deposit <swh-deposit/index>
+   swh.export <swh-export/index>
    swh.fuse <swh-fuse/index>
    swh.graph <swh-graph/index>
    swh.graphql <swh-graphql/index>
diff --git a/docs/devel/faq/index.rst b/docs/devel/faq/index.rst
index 4257cc5d..cd070bf7 100644
--- a/docs/devel/faq/index.rst
+++ b/docs/devel/faq/index.rst
@@ -126,8 +126,8 @@ Getting sample datasets
 Is there a way to connect to SWH archived (production) database from my local machine?
 --------------------------------------------------------------------------------------
 
-We provide the archive as a dataset on public clouds, see the :ref:`swh-dataset
-documentation <swh-dataset>`. We can
+We provide the archive as a dataset on public clouds, see the :ref:`swh-export
+documentation <swh-export>`. We can
 also provide read access to one of the main databases on request, `contact us`_.
 
 .. _faq_error_bugs:
diff --git a/docs/devel/getting-started/api.rst b/docs/devel/getting-started/api.rst
index 6a139c10..c3f603cc 100644
--- a/docs/devel/getting-started/api.rst
+++ b/docs/devel/getting-started/api.rst
@@ -19,7 +19,7 @@ Yes, all source code available in the world. It implies to build an equally impr
 infrastructure to hold the huge amount of information represented, make the archive
 available to the public through a :swh_web:`nice web interface </>` and even propose a
 :ref:`well-documented API <swh-web>` to access it seamlessly. For the records, there are
-also :ref:`various datasets available <swh-dataset>` for download, with detailed
+also :ref:`various datasets available <swh-export>` for download, with detailed
 instructions about how to set it up. And, yes it’s huge: the full graph generated from
 the archive (with only metadata, content is not included) has more than 20b nodes and
 weights 1.2TB. Overall size of the archive is in the hundreds of TBs.
diff --git a/docs/devel/index.rst b/docs/devel/index.rst
index 7c718ad0..a3241cb0 100644
--- a/docs/devel/index.rst
+++ b/docs/devel/index.rst
@@ -107,16 +107,16 @@ of the corresponding Python module.
     service providing efficient estimates of the number of objects in the SWH archive,
     using Redis's Hyperloglog
 
-:ref:`swh.dataset <swh-dataset>`
-    public datasets and periodic data dumps of the archive released by Software
-    Heritage
-
 :ref:`swh.deposit <swh-deposit>`
     push-based deposit of software artifacts to the archive
 
 swh.docs
     developer documentation (used to generate this doc you are reading)
 
+:ref:`swh.export <swh-export>`
+    public datasets and periodic data dumps of the archive released by Software
+    Heritage
+
 :ref:`swh.fuse <swh-fuse>`
     Virtual file system to browse the Software Heritage archive, based on
     `FUSE <https://github.com/libfuse/libfuse>`_
diff --git a/requirements-swh-dev.txt b/requirements-swh-dev.txt
index 55697cee..e856155d 100644
--- a/requirements-swh-dev.txt
+++ b/requirements-swh-dev.txt
@@ -7,8 +7,8 @@
 ../swh-auth[django,starlette]
 ../swh-core[http,db,logging]
 ../swh-counters
-../swh-dataset[luigi]
 ../swh-deposit[server]
+../swh-export[luigi]
 ../swh-fuse
 ../swh-graph[luigi]
 ../swh-graphql
diff --git a/requirements-swh.txt b/requirements-swh.txt
index 77740862..0eeb1e41 100644
--- a/requirements-swh.txt
+++ b/requirements-swh.txt
@@ -3,8 +3,8 @@ swh.alter
 swh.auth[django,starlette]
 swh.core[db,http,logging]
 swh.counters
-swh.dataset[luigi]
 swh.deposit[server]
+swh.export[luigi]
 swh.fuse
 swh.graph[luigi]
 swh.graphql
-- 
GitLab