Skip to content

Instantly share code, notes, and snippets.

@manics
Last active August 6, 2026 16:05
Show Gist options
  • Select an option

  • Save manics/c88952351d3d74138842c2870ce19d57 to your computer and use it in GitHub Desktop.

Select an option

Save manics/c88952351d3d74138842c2870ce19d57 to your computer and use it in GitHub Desktop.
develop RO-Crate-Validation-Service in mybinder
#!/bin/sh
set -eu
# FIVE_SAFES_PROFILE_VERSION=five-safes-0.7.4-beta
FIVE_SAFES_PROFILE_VERSION=five-safes-0.8.0
PROFILES_ARCHIVE_URL=https://github.com/eScienceLab/rocrate-validator/archive/refs/tags/${FIVE_SAFES_PROFILE_VERSION}.tar.gz
EXTRA_PROFILES_PATH=extra_profiles
git clone https://github.com/eScienceLab/RO-Crate-Validation-Service/
curl -sSfLo ro-crate-metadata.json https://github.com/eScienceLab/RO-Crate-Validation-Service/raw/refs/heads/develop/tests/data/ro-crate-metadata.json
curl -sSfLo ro-crate-metadata-5s.json https://github.com/eScienceLab/rocrate-validator/raw/refs/heads/develop/tests/data/crates/valid/five-safes-crate-result/ro-crate-metadata.json
mkdir -p "$EXTRA_PROFILES_PATH"
curl -sSfL "$PROFILES_ARCHIVE_URL" | \
tar -zxv --strip-components=3 -C extra_profiles rocrate-validator-${FIVE_SAFES_PROFILE_VERSION}/rocrate_validator/profiles/five-safes-crate
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
git+https://github.com/eScienceLab/RO-Crate-Validation-Service.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment