Skip to content

Commit 43412fb

Browse files
authored
Merge pull request #22 from caracal-pipeline/readme_update
README update
2 parents 02e652d + 590eed0 commit 43412fb

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

README.md

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
# cult-cargo
2-
Curated Stimela2 cargo for popular radio astronomy software
2+
Curated Stimela2 cargo for popular radio astronomy software.
33

44
## Regular userland install
55

6-
PyPI package coming soon, then you can do
7-
86
```
97
pip install cult-cargo
108
```
119

12-
...to install both Stimela2 and cult-cargo.
10+
This installs both cult-cargo and the required version of stimela.
1311

1412
## Poweruser install
1513

@@ -27,7 +25,7 @@ $ cd cult-cargo
2725
$ poetry install
2826
```
2927

30-
Sample recipe:
28+
## Sample recipe
3129

3230
```yml
3331
#!/usr/bin/env -S stimela run -l
@@ -47,10 +45,10 @@ dummy-recipe:
4745
$ poetry install --with builder
4846
```
4947

50-
This makes the ``builder/build-cargo.py`` script available. The script is configured with ``builder/cargo-manifest.yml``, which describes the images that must be built.
48+
This makes the ``build-cargo.py`` script available. The script is preconfigured to read ``cultcargo/builder/cargo-manifest.yml``, which describes the images that must be built.
5149

52-
``build-cargo.py -a`` will build and push all images, or specify an image name to build a particular one. Use ``-b`` to build but not push, or ``-p`` for push-only.
50+
``build-cargo.py -a`` will build and push all images, or specify an image name to build a particular one. Use ``-b`` to build but not push, or ``-p`` for push-only. Use ``-l`` to list available images.
5351

54-
The ``cultcargo`` folder contains yml files with cab definitions.
52+
The ``cultcargo`` folder contains YaML files with cab definitions.
5553

56-
If you would like to maintain your own image collection, write your own manifest and Dockerfiles following the cult-cargo example, then use the ``build-cargo.py`` script to build your images.
54+
If you would like to maintain your own image collection, write your own manifest and Dockerfiles following the cult-cargo example, and use the ``build-cargo.py`` script to build your images.

cultcargo/builder/build_cargo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def build_cargo(manifest: str, do_list=False, build=False, push=False, all=False
127127
else:
128128
print(" [green]Working with an unreleased version, push allowed.[/green]")
129129
else:
130-
print(f" [red]Failed to fetch release info: {response.status_code}[/yellow]")
130+
print(f" [red]Failed to fetch release info: {response.status_code}[/red]")
131131
sys.exit(1)
132132

133133

0 commit comments

Comments
 (0)