From 55a63b6210824ed971eecb5663f27f1d4e0080cd Mon Sep 17 00:00:00 2001
From: mishaschwartz <4380924+mishaschwartz@users.noreply.github.com>
Date: Mon, 23 Sep 2024 15:41:52 -0400
Subject: [PATCH 1/2] add migration guide to docs [skip ci]
---
docs/source/index.rst | 1 +
docs/source/migration_guide.rst | 121 ++++++++++++++++++++++++++++++++
2 files changed, 122 insertions(+)
create mode 100644 docs/source/migration_guide.rst
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 5706c95b..bd41a494 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -22,6 +22,7 @@ Contents:
birdhouse/components/README
birdhouse/optional-components/README
data_catalog
+ migration_guide
contributing
changes
diff --git a/docs/source/migration_guide.rst b/docs/source/migration_guide.rst
new file mode 100644
index 00000000..671fd9cd
--- /dev/null
+++ b/docs/source/migration_guide.rst
@@ -0,0 +1,121 @@
+.. contents::
+
+Migration Guide
+===============
+
+Version 2.4
+-----------
+
+Version 2.4 renames files and variables that included the string PAVICS.
+
+For historical reasons the name PAVICS was used in variable names, constants and filenames in this repo to refer to
+the software stack in general. This was because, for a long time, the PAVICS deployment of this stack was the only one
+that was being used in production. However, now that multiple deployments of this software exist in production (that are
+not named PAVICS), we remove unnecessary references to PAVICS in order to reduce confusion for maintainers and developers
+who may not be aware of the historical reasons for the PAVICS name.
+
+To upgrade to version 2.4 from an earlier version, please follow these steps:
+
+ - Update ``env.local`` file to replace all variables that contain ``PAVICS`` with ``BIRDHOUSE``.
+ Variable names have also been updated to ensure that they start with the prefix ``BIRDHOUSE_``.
+ * see `birdhouse/env.local.example `_ (:download:`download `_ (:download:`download
Date: Mon, 23 Sep 2024 15:50:58 -0400
Subject: [PATCH 2/2] format updates
---
docs/source/migration_guide.rst | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/docs/source/migration_guide.rst b/docs/source/migration_guide.rst
index 671fd9cd..956171e9 100644
--- a/docs/source/migration_guide.rst
+++ b/docs/source/migration_guide.rst
@@ -18,9 +18,11 @@ To upgrade to version 2.4 from an earlier version, please follow these steps:
- Update ``env.local`` file to replace all variables that contain ``PAVICS`` with ``BIRDHOUSE``.
Variable names have also been updated to ensure that they start with the prefix ``BIRDHOUSE_``.
- * see `birdhouse/env.local.example `_ (:download:`download `_ (:download:`download `_ to see new variable names
+ * see the ``BIRDHOUSE_BACKWARDS_COMPATIBLE_VARIABLES`` variable (defined in `birdhouse/default.env `_)
for a full list of changed environment variable names.
+
- Update any external scripts that access the old variable names directly to use the updated variable names.
- Update any external scripts that access any of the following files to use the new file name: