Repository navigation
Erden 0.2.1
Erden 0.2.1 is a bug-fix release of the erden command line tool (also available as den). It fixes erden login against erden.sh, lets erden check pass ontologies whose SHACL shapes it used to fail for no real reason, explains SHACL failures better, and fixes two ways the tool could get stuck or crash.
Install
Linux (x64 and arm64, glibc or musl) and macOS on Apple silicon:
curl -fsSL https://erden.sh/install | shWindows x64, in PowerShell:
irm https://erden.sh/install.ps1 | iexHomebrew (macOS on Apple silicon, Linux x64 and arm64):
brew install erden-sh/tap/erdenScoop (Windows x64):
scoop bucket add erden https://github.com/erden-sh/scoop-bucket
scoop install erdenAlready on 0.2.0? Run erden upgrade, or brew upgrade erden or scoop update erden if you installed with Homebrew or Scoop. From 0.1.0, run the install command above once more.
Alpine Linux: install the C++ runtime first, with apk add libstdc++ libgcc.
What's fixed
erden login --registry https://erden.shworks. erden.sh is the website; the registry ishttps://registry.erden.sh. Login used to fail at once withDEVICE_LOGIN_FAILEDand no reason. Now--registry https://erden.sh(orwww.erden.sh) means the hosted registry forlogin,logout,publicationandquery, and the tool says so. Your sign-in is only ever sent to and stored forhttps://registry.erden.sh. A project manifest that names erden.sh as its registry is not rewritten: networked commands stop withREGISTRY_IS_WEBSITEand tell you the value to set. When a login fails because the address is not an Erden registry, the message now says so and names the hosted registry.- SHACL shapes that can never fire no longer fail
erden check. Every shape must pass a self-test: a small example graph has to make it report a result. Two kinds of shape could never pass, whatever example you wrote, so projects that had them always failed: a shape without its own target that another shape uses (for example a property shape typedsh:PropertyShapeinsidesh:property [ ... ], or a shape insidesh:not), and a targeted shape with no constraint (for example an OWL class that is also a node shape with onlysh:targetClass). These are no longer self-tested; the shape that uses them is. Every shape that has a constraint still has to fire. Real-world layers such as AAS 3.2 and UCO core 1.5 pass now. This is recorded as validation policy v3. - A SHACL failure says why. When SHACL failed only because some shapes did not fire on their self-tests,
erden checkshowed "failed" next to zero violations. It now says, for example,SHACL: failed (shacl-conformance: 0 violations; 29 of 40 shapes did not fire on their self-test fixtures), and lists those shapes.erden publishanderden publication --reportexplain the possible causes and point you toerden check. - An interrupted download no longer blocks the package store. If a download stopped halfway, every later
erden installfailed as "busy" anderden store prunerefused to run until you deleted hidden folders by hand. The store now cleans up a download left untouched for 10 minutes by itself. While a download may still be running,installandprunesay so and when to try again. - No more crash on HTTP/1.0 responses. A registry or proxy that answered with HTTP/1.0 could crash the tool. Registry requests now use Node.js's own HTTP client, and a response that is cut short is reported as a
CLIENT_TRANSPORTerror. erden packrefuses what the registry would refuse. Pack now runs the same checks on the manifest,erden.lockand archive that the registry runs on an upload, such as the title and description length limits and whether the lock matches the manifest. A package the registry would turn down fails locally withPACK_PROJECT_CANDIDATE_INVALIDand the reason, before anything is uploaded.
The reasoner and erden-shacl engines are the same builds as in 0.2.0.
Verify your download
SHA256SUMS lists the SHA-256 digest of every asset. On Linux, after downloading:
sha256sum -c --ignore-missing SHA256SUMSEvery asset also has a build provenance attestation from the GitHub Actions run that built it. With the GitHub CLI:
gh attestation verify erden-0.2.1-linux-x64.tar.xz --repo erden-sh/erdenThe install scripts carry the digest of every archive in this release and refuse any other file.
License
Apache License 2.0; the copyright holder is Ingenio Ventures Inc. This is a pre-1.0 release: commands and file formats can still change.