From bb4127183e8f7aa0e1fecc3e0f06c2c057d2d541 Mon Sep 17 00:00:00 2001
From: Beecher Baker
Date: Mon, 5 Aug 2024 11:42:52 -0400
Subject: [PATCH 1/6] a little more detail
---
.../otus/components/Panel/PanelDescendants/PanelDescendants.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/otus/components/Panel/PanelDescendants/PanelDescendants.vue b/src/modules/otus/components/Panel/PanelDescendants/PanelDescendants.vue
index d075a88..0423991 100644
--- a/src/modules/otus/components/Panel/PanelDescendants/PanelDescendants.vue
+++ b/src/modules/otus/components/Panel/PanelDescendants/PanelDescendants.vue
@@ -27,7 +27,7 @@
!taxonomy.nomenclatural_synonyms.length &&
!taxonomy.descendants.length
">
- No descendants.
+ No descendants of .
From d8e07f4bd209cb855a7a4971b908d7a9e6d9efb4 Mon Sep 17 00:00:00 2001
From: Beecher Baker
Date: Thu, 22 Aug 2024 16:59:10 -0400
Subject: [PATCH 2/6] Decribe dev setup
---
README.markdown | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/README.markdown b/README.markdown
index 9de5dff..2184c82 100644
--- a/README.markdown
+++ b/README.markdown
@@ -1,3 +1,36 @@
+# Purdue
+
+This is a fork by of [TaxonPages(https://github.com/speciesFileGroup/taxonpages)
+to search the [Purdue Entomological Research Collection](https://ag.purdue.edu/department/entm/perc/) (PERC).
+
+## Developing
+
+There are two repos, which each have their own set of Github Pages for deployment automation:
+* Production — [taxonpages](https://github.com/PurdueEntomologicalResearchCollection/taxonpages) — [published here](https://purdueentomologicalresearchcollection.github.io/taxonpages/)
+* Development — [taxonpages-dev](https://github.com/PurdueEntomologicalResearchCollection/taxonpages-dev) — [published here](https://purdueentomologicalresearchcollection.github.io/taxonpages-dev/)]
+
+Why two repos? Because each [can only have one set of Github Pages](https://github.com/orgs/community/discussions/21582)
+— and we want a way to deploy a development branch for QA.
+
+Our standard practice is to work on two branches
+* `main` — connected to the `prod` repo's `main` branch, and deployed to the PERC search page.
+* `dev` — connected to the `dev` repo's `main` branch (and the `prod` repo's `dev` branch). Deployed to the PERC test search page.
+
+Initial setup:
+
+1. Clone the production repo
+ 1. `git clone git@github.com:PurdueEntomologicalResearchCollection/taxonpages.git`
+ 2. `cd taxonpages`
+2. Fetch from the `dev` repo into a local `dev` branch.
+ 1. `git remote add dev git@github.com:PurdueEntomologicalResearchCollection/taxonpages-dev.git`
+ 2. `git pull remote main:dev`
+
+Making changes:
+1. Push changes to `dev` (they will deploy automatically)
+ 1. TODO add details
+2. Merge up to `prod` (they will deploy automatically)
+ 1. TODO add details
+
# TaxonPages
TaxonPages is a tool to serve taxon pages. At present it draws data from TaxonWorks' API, however we seek to keep the TaxonPages platform agnostic therefor facilitating the modular addition of functionality that may reference data from any biodiversity data-serving API.
From b7ae8726856d064c81c9d2fa8d3c34010f508e9c Mon Sep 17 00:00:00 2001
From: Beecher Baker
Date: Fri, 23 Aug 2024 14:14:51 -0400
Subject: [PATCH 3/6] add instructions for develoeprs
---
README.markdown | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/README.markdown b/README.markdown
index 2184c82..8625041 100644
--- a/README.markdown
+++ b/README.markdown
@@ -19,17 +19,27 @@ Our standard practice is to work on two branches
Initial setup:
1. Clone the production repo
- 1. `git clone git@github.com:PurdueEntomologicalResearchCollection/taxonpages.git`
- 2. `cd taxonpages`
+ 1. `git clone git@github.com:PurdueEntomologicalResearchCollection/taxonpages.git perc-taxonpages`
+ 2. `cd perc-taxonpages`
2. Fetch from the `dev` repo into a local `dev` branch.
1. `git remote add dev git@github.com:PurdueEntomologicalResearchCollection/taxonpages-dev.git`
- 2. `git pull remote main:dev`
+ 2. `git fetch dev`
+ 2. `git checkout -b dev dev/main`
Making changes:
1. Push changes to `dev` (they will deploy automatically)
- 1. TODO add details
-2. Merge up to `prod` (they will deploy automatically)
- 1. TODO add details
+ 1. Make & test changes locally on a `dev` branch
+ 1. Start a branch: `git checkout -b my-dev-branch dev/main`
+ 2. Make your changes and commit them to that branch
+ 2. Push your changes back to the `dev` repo: `git push dev/main`.
+ * They will deploy to https://purdueentomologicalresearchcollection.github.io/taxonpages-dev/
+2. QA your changes
+ * Ask one of the PERC owners to check them, if appropriate.
+3. Merge your changes into `prod` from the `dev` branch you were working on:
+ 1. `git checkout main`
+ 2. `git pull`
+ 3. `git merge my-dev-branch`
+ 4. `git push`
# TaxonPages
From 664367afe45bb3331d1a805c5acb5e17c2e8ef57 Mon Sep 17 00:00:00 2001
From: Beecher Baker
Date: Fri, 23 Aug 2024 14:17:39 -0400
Subject: [PATCH 4/6] fix git example
---
README.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.markdown b/README.markdown
index 8625041..60b893d 100644
--- a/README.markdown
+++ b/README.markdown
@@ -31,7 +31,7 @@ Making changes:
1. Make & test changes locally on a `dev` branch
1. Start a branch: `git checkout -b my-dev-branch dev/main`
2. Make your changes and commit them to that branch
- 2. Push your changes back to the `dev` repo: `git push dev/main`.
+ 2. Push your changes back to the `dev` repo: `git push dev dev:main`.
* They will deploy to https://purdueentomologicalresearchcollection.github.io/taxonpages-dev/
2. QA your changes
* Ask one of the PERC owners to check them, if appropriate.
From cf492e4a5db3cdb481ca04cfda99ed221ab00850 Mon Sep 17 00:00:00 2001
From: Beecher Baker
Date: Fri, 23 Aug 2024 15:51:47 -0400
Subject: [PATCH 5/6] rebuild pages
From 883affd55bd9280c1adf7bfcff4d323bf9faa377 Mon Sep 17 00:00:00 2001
From: Beecher Baker
Date: Fri, 23 Aug 2024 16:52:19 -0400
Subject: [PATCH 6/6] rebuild pages