aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-01-30 00:40:23 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-01-30 00:40:23 -0500
commit633c3c257807449d196cb9c9380a1f819a37cf67 (patch)
treee933127f4ef199254143837954cce9d130be357c
parenta38361ab18235aa273847b3a3a6d0509aefcaf14 (diff)
downloadstasis-633c3c257807449d196cb9c9380a1f819a37cf67.tar.gz
Restructure rules directory
-rw-r--r--include/rules.h11
-rw-r--r--rules/hst.ini62
-rw-r--r--src/rules.c5
3 files changed, 16 insertions, 62 deletions
diff --git a/include/rules.h b/include/rules.h
new file mode 100644
index 0000000..63eade7
--- /dev/null
+++ b/include/rules.h
@@ -0,0 +1,11 @@
+//
+// Created by jhunk on 12/18/23.
+//
+
+#ifndef OMC_RULES_H
+#define OMC_RULES_H
+
+#include "omc.h"
+
+
+#endif //OMC_RULES_H
diff --git a/rules/hst.ini b/rules/hst.ini
deleted file mode 100644
index 5e77ffa..0000000
--- a/rules/hst.ini
+++ /dev/null
@@ -1,62 +0,0 @@
-[finalize]
-release_notes_file = release_notes.md
-release_notes_contents =
-readme_file = README.md
-readme_data =
- Currently, conda is required to manage installation of the environment.
- A fresh installation of Anaconda3 or Miniconda3 is not required for
- each {meta:name} release, however. An existing conda installation may be
- used. The method described here allows for multiple, entirely segregated,
- pipeline installations.
-
- A `bash`-compatible shell is required for all steps below. Python
- dependencies are taken directly from PyPI or development repositories as
- needed, so conda's ability to install hybrid conda/pip environments from a
- YAML specification is used. This requires first downloading the
- specification file and then creating the environment with it.
-
- ## For existing conda installations:
-
- ### Install the pipeline environment
- ```
- $ curl -O https://ssb.stsci.edu/releases/{meta:name}/{cycle}/latest-linux.yml
- $ conda env create --file latest-linux.yml
- ```
- ### Activate the pipeline environment
-
- ```
- $ conda activate {release_name}
- ```
-
- Each new delivery iteration of the calibration environment will need to be
- installed using the above commands.
-
- ------
-
- ## If conda is not yet installed
-
- If the conda tool is not available on the target system, it will need to be
- installed before the calibration environment can be installed.
-
- ### Installing conda
-
- For detailed instructions of this step, please visit:
- https://conda.io/projects/conda/en/latest/user-guide/install/index.html
-
- **Miniconda:**
-
- ```
- # TODO: UPDATE THIS
- $ wget https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.2-Linux-x86_64.sh
- $ bash Miniconda3-py37_4.8.2-Linux-x86_64.sh
- $ export PATH=$HOME/miniconda3/bin:$PATH
- ```
-
- **Anaconda (if preferred):**
-
- ```
- # TODO: UPDATE THIS
- $ wget https://repo.continuum.io/archive/Anaconda3-2019.10-Linux-x86_64.sh
- $ bash Anaconda3-2019.10-Linux-x86_64.sh
- $ export PATH=$HOME/anaconda3/bin:$PATH
- ```
diff --git a/src/rules.c b/src/rules.c
new file mode 100644
index 0000000..e42ee07
--- /dev/null
+++ b/src/rules.c
@@ -0,0 +1,5 @@
+//
+// Created by jhunk on 12/18/23.
+//
+
+#include "rules.h"