Repository navigation
v0.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.txt