You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* adding support for update
* preview of changes done by shpc update (#541)
* If the container is deleted, the module has to be deleted too. No need to ask the user (#528)
* Only ask for confirmation once
* The .version file is only in module_dir, not container_dir
* When deleting containers, also delete the parent directories as long as they are empty
* `shpc add` now supports Docker
cf #520 (comment)
* round 2 of attempted updates!
I saved the original registry this time so I should not need to open a new PR for every attempt
* remove debug ipython
* Adding more clear error message when tag is not known (#543)
* adding more clear error message when tag is not known
Signed-off-by: vsoch <[email protected]>
Copy file name to clipboardExpand all lines: docs/getting_started/user-guide.rst
+78Lines changed: 78 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -817,6 +817,84 @@ each unique module name, just add ``--short``:
817
817
ghcr.io/autamus/samtools: latest
818
818
ghcr.io/autamus/clingo: 5.5.0
819
819
820
+
Update
821
+
------
822
+
823
+
As of version 0.0.52, you can request on demand updates of container.yaml recipes,
824
+
where an update means we ping the registry or resource for the module and find
825
+
updated tags. An update generally means that:
826
+
827
+
- We start with the 50 latest tags of the container, as determined by `crane.ggcr.dev <https://crane.ggcr.dev/ls/quay.io/biocontainers/samtools>`_
828
+
- We filter according to any recipe ``filters`` in the container.yaml
829
+
- Given a convention of including a hash, we try to remove it and generate a loose version
830
+
- Any versions (including latest) that cannot be sorted based on some semblance to a version are filtered out
831
+
- We sort the list, and given duplicates of some major minor (ignoring the last part of): ``<major>.<minor>.<ignored>`` we take the first seen in the sorted list.
832
+
- Then we take the top 5 newest to add.
833
+
- We then filter down to not include any versions older than the current oldest in the container.yaml
834
+
835
+
This action is run automatically on CI for you, however it's just done once a month and you are welcome to run it on your own, and contribute
836
+
changes to container.yaml files that you think are meaningful. To update one container
837
+
module recipe in the registry:
838
+
839
+
.. code-block:: console
840
+
841
+
$ shpc update quay.io/biocontainers/samtools
842
+
Looking for updated digests for quay.io/biocontainers/samtools
description: "BROCCOLI is a software for analysis of fMRI (functional magnetic resonance imaging) data and is written in OpenCL (Open Computing Language). (https://github.com/BIDS-Apps/BROCCOLI)"
9
+
- enh_v
10
+
maintainer: '@vsoch'
11
+
description: BROCCOLI is a software for analysis of fMRI (functional magnetic resonance
12
+
imaging) data and is written in OpenCL (Open Computing Language). (https://github.com/BIDS-Apps/BROCCOLI)
0 commit comments