Merge branch 'datacatalog' into 'master'

Release datacatalog 2.2.1

See merge request Pmodules/buildblocks!442
This commit is contained in:
2024-06-03 10:45:35 +02:00
3 changed files with 5 additions and 15 deletions

View File

@@ -6,7 +6,7 @@ This module provides tools to interface with the Data Catalog (discovery.psi.ch)
## Version Numbers
Prior to version 2, each command had it's own version. The pmodule version
Prior to version 2, each command had its own version. The pmodule version
roughly tracked the datasetIngestor version. However, some pmodules were
updated manually with more recent binaries, so in general there is no way to
check the versions contained in older pmodules other than running each command
@@ -42,7 +42,6 @@ fixed with a manual wrapper script which produces an error on RHEL 8.
# TODO
- [ ] The post_prep section of the build script should be removed following
fixing [#55](https://github.com/paulscherrerinstitute/scicat-cli/issues/55)
- [ ] SciCat should be downloaded and installed in the build script
- [ ] SciCat should be downloaded and installed in the build script. (This is
planned after the GUI is migrated to github and CI/CD implemented.)

View File

@@ -1,17 +1,7 @@
#!/usr/bin/env modbuild
pbuild::add_to_group 'Tools'
pbuild::set_download_url https://github.com/paulscherrerinstitute/scicat-cli/releases/download/v${V_PKG}/scicat-cli_.${V_PKG}_Linux_x86_64.tar.gz
pbuild::post_prep() {
# PModules 1.0.0 fails on tar bundles without top-level directories. This
# tries to work around this. It could be removed if the cli release process
# changes (https://github.com/paulscherrerinstitute/scicat-cli/issues/55)
if [[ ! -f "${SRC_DIR}/datasetIngestor" ]]; then
local file="$PMODULES_DISTFILESDIR/scicat-cli_.${V_PKG}_Linux_x86_64.tar.gz"
tar --directory="${SRC_DIR}" -xv --strip-components 0 -f "${file}"
fi
}
pbuild::set_download_url https://github.com/paulscherrerinstitute/scicat-cli/releases/download/v${V_PKG}/scicat-cli_v${V_PKG}_Linux_x86_64.tar.gz
pbuild::configure() {
:

View File

@@ -7,3 +7,4 @@ datacatalog/1.1.15 removed
datacatalog/1.1.10 deprecated
datacatalog/1.1.11 deprecated
datacatalog/2.2.0 stable
datacatalog/2.2.1 stable