Repository navigation
Releases
Releases · Open-MBEE/SysPI
v0.3.0
Added
- Add a
dependency-sourcescommand for editors to read verified SysML and KerML sources from the locked graph, including dependencies of metadata-only packages and one copy per installed source. - Publish a checksummed
syspi-wasip1-wasm.wasmrelease asset for offline verification and model source export in WASI hosts. - Publish
syspito PyPI as platform wheels carrying the release binary, sopip install syspiinstalls the command on Linux, macOS and Windows without Go or a download at install time;python -m syspiruns it too.
Changed
- The changelog-fragment check skips a release pull request into
main, whose fragments the release commit has already folded intoCHANGELOG.md.
Removed
- The unused
Archive.Extractand itsconfinedTohelper: archives are installed as.kparfiles and read in place, so nothing but tests unpacked one. - The unused
version.Sorthelper; nothing in the module called it.
Fixed
syspi bundlewithout-indexnow indexes the names and short names of every declaration at
the root of a.sysmlor.kermlfile (KerML 1.1 Table 13, Note 1), not only the names of
packages that start a line: short names (package <v> Vehicle), KerML namespaces, definitions,
usages, types and features at the root, several declarations on one line, and a declaration
after a closing brace. Braces and keywords inside notes, comments, string values and quoted
names no longer mislead it, and escape sequences in a quoted name are resolved.- Provision Mercurial and Subversion in Windows CI from pinned upstream MSIs and verify the extracted executables before running the VCS tests.
Install with the scripts in the repository (install.sh, install.ps1; see the
README) or download an archive and check it against SHA256SUMS.txt, which is signed
keyless by this workflow (SHA256SUMS.txt.bundle):
cosign verify-blob SHA256SUMS.txt --bundle SHA256SUMS.txt.bundle \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity https://github.com/Open-MBEE/SysPI/.github/workflows/release.yml@refs/tags/v0.3.0
sha256sum --check --ignore-missing SHA256SUMS.txtv0.2.0
Added
- A
.kparhosted at any http(s) URL can be named by an ECMA-427 Package-URL with the Annex B.3.5download_urlqualifier and an optionalchecksum(pkg:generic/<name>[@<version>]?download_url=<url>[&checksum=<algorithm>:<hex>[,…]], percent-encoded; md5, sha1, sha224, sha256, sha384, sha512 and the sha3 family). The archive is fetched as a plain.kparURL is, every declared checksum is verified before it is opened — a mismatch installs nothing — and it installs aslib/<publisher>-<name>_<version>.kparwith the archive's SHA-256 in the lock;vcs_urlanddownload_urlexclude each other, andsyspi addwrites the canonical form into.project.json. - Accept a model exporter's index when bundling and publish verified KPARs to HTTPS artifact hosts that support conditional PUT.
- Prune VCS candidates using known constraints before export and reuse verified candidate metadata within a lock run.
syspi list [-json]prints the locked packages in resource order with version, kind or VCS, revision, path underlib/and whether that installed copy is present; standard libraries and local directories are listed as recorded but never installed. It reads only the lock andlib/.syspi remove <resource>…drops a usage from.project.json(matched by its canonical identity, asaddmatches), re-resolves and re-locks what remains, and removes fromlib/only the installed copies no remaining package of the closure needs — never a directory the lock did not place there, never one whose contents no longer match the lock. A package another locked package still uses stays, and the message names who uses it.- Resolve transitive version conflicts by trying other matching repository tags while preferring compatible locked versions.
- A user name is accepted before the host of a
<vcs>+ssh://location —
git+ssh://git@github.com/owner/repo@1.0.0,hg+ssh://…,svn+ssh://…— so an SSH remote no
longer needs aUserentry inssh_config. It is the SSH login, part of the identity
(…git%2Bssh:%2F%2Fgit%40github.com%2F…in.project.jsonand the lock) and of the address
the VCS executable is given. A password anywhere, and a user name on any other transport,
stay refused. syspi update [<resource>…]re-resolves the named (or all) usages to the highest version their constraints allow, ignoring the lock — the one command that moves a lock entry — installs, rewrites the lock and removes the copies the moved entries left underlib/;syspi outdated [-json] [<resource>…]reports whatupdatewould move (name old -> new) and writes nothing.syspi verifychecks every lock entry's installed copy underlib/against the lock —.project.json, the checksums.meta.jsonrecords, the tree or.kparSHA-256, the usages it declares — and that every usage of.project.jsonis locked; it prints every discrepancy, exits 1 on any, contacts no repository and writes nothing.
Changed
syspi publishprints the canonicalpkg:generic/<name>@<version>?checksum=sha256:…&download_url=…usage of the uploaded archive instead of a bare SHA-256.
Removed
- A
.project.lock.jsonis read exactly as this tool writes it: a repositoryresourcein a non-canonical spelling (pkg:git/…, a bare<vcs>+<transport>://…) or ausagegiven as a bare string is refused with the canonical form, instead of being translated as pre-release locks were.
Fixed
- The Windows CI and release gates install
hgandsliksvnone Chocolatey package at a time, retry a failed install and trust only the binary on disk, so a transient feed error no longer slips through achocothat exits 0 and surfaces assvn: command not foundlater. - Write one checksum object per KPAR member as required by the published KerML interchange schema and continue verifying legacy checksum arrays.
- A candidate reused within a
syspi lockrun claims itslib/slot again, so two packages installing under one name with different contents are still reported. - Preserve the declared metamodel,
includesDerivedandincludesImpliedin KPAR bundles and require a versioned OMG SysML metamodel URI when bundling textual SysML models.
Install with the scripts in the repository (install.sh, install.ps1; see the
README) or download an archive and check it against SHA256SUMS.txt, which is signed
keyless by this workflow (SHA256SUMS.txt.bundle):
cosign verify-blob SHA256SUMS.txt --bundle SHA256SUMS.txt.bundle \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity https://github.com/Open-MBEE/SysPI/.github/workflows/release.yml@refs/tags/v0.2.0
sha256sum --check --ignore-missing SHA256SUMS.txtv0.1.0
Added
- Releases publish
syspi-<os>-<arch>.tar.gz(.zipon Windows) for Linux, macOS and Windows on amd64 and arm64, each holdingsyspiandLICENSE, withSHA256SUMS.txtsigned keyless by the release workflow (SHA256SUMS.txt.bundle); the tag publishes nothing until the repository gate is green on all three systems.install.sh(Linux, macOS) andinstall.ps1(Windows) install a release after checking the download against the manifest and the installed binary against the tag. - The
syspicommand:init,add,install,sync,lock,bundleandversionfor KerML / SysML v2 project-interchange packages — any git, svn or hg repository with.project.jsonat a tag, a local directory, a local or remote.kparfile, or an OMG standard-library IRI. Packages are verified before use, installed underlib/<publisher>-<name>_<version>beside.project.jsonand recorded in a deterministic.project.lock.jsonwith a VCS-neutral tree hash.
Changed
- Package identities are ECMA-427 Package-URLs: a repository package is
pkg:generic/<name>?vcs_url=<vcs>+<transport>://<host>/<path>[@<version>][#<subpath>]with the Annex B.3.5vcs_urlqualifier percent-encoded (<name>is the repository's last path segment,<version>a tag naming a semantic version).pkg:git/<host>/<path>[@<version>][#<subpath>]and the bare<vcs>+<transport>://…notation are accepted as input and normalised to it;syspi addwrites the canonical form into.project.json.<vcs>+file:///pathaddresses a repository on this machine. A plainhttp(s)IRI is only dereferenced as a project interchange file (KerML 1.1 §10.3 Table 12). Other spellings (pkg:svn/…,pkg:hg/…, clone URLs such ashttps://host/path.git@v,git@host:path,file:///path@v) are refused with a message naming the accepted ones.
Fixed
syspi -hnames the ECMA-427 identity grammar and the two input spellings it normalises, instead of the refusedpkg:<vcs>/<host>/<path>form.- A drive letter in a
file://resource is only a drive on Windows; on Linux and macOSfile:///C:/tools.kparnames the directoryC:again. The Windows spellings are documented, and the lock-rollback test runs on Windows too. - On Windows, a repository on this machine is accepted as
git+file:///C:/path(andgit+file://C:/path),file://resources with a drive letter resolve, and the suite runs on Windows; CI gates on Windows with hg and svn installed.
Install with the scripts in the repository (install.sh, install.ps1; see the
README) or download an archive and check it against SHA256SUMS.txt, which is signed
keyless by this workflow (SHA256SUMS.txt.bundle):
cosign verify-blob SHA256SUMS.txt --bundle SHA256SUMS.txt.bundle \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity https://github.com/Open-MBEE/SysPI/.github/workflows/release.yml@refs/tags/v0.1.0
sha256sum --check --ignore-missing SHA256SUMS.txt