Skip to content

lvpm 0.1.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@Flydroid Flydroid released this 26 Aug 20:39

First alpha of lvpm, an open-source package manager for LabVIEW packages.

What's in the box

lvpm.exe and tools\Relink Package.vi — unzip anywhere, keep them side by side, optionally add the folder to PATH. The relink VI is saved for LabVIEW 2020, so any LabVIEW from 2020 on can load it.

What works

  • lvpm install <name>[@version] — resolve transitively from the public repositories (or a local folder of .vip files via --repo), verify MD5, unpack into a LabVIEW installation or a --prefix sandbox
  • lvpm install --manifest <vipm.toml> — install a project's whole dependency list as one plan with one relink pass
  • relinking through VI Server, with cross-package folder dedup and retry handling
  • PreInstall / PostInstall / PreUninstall / PostUninstall hook VIs extracted and run at their proper moments, handed the action-info variant (Quiet Mode = TRUE) so they run headless
  • lvpm uninstall, list, search, targets, relink --all, --dry-run
  • VI Server primitives: vi-probe, vi-run, vi-save

Relinking and hooks need a running LabVIEW with VI Server (TCP) enabled; everything else runs without any LabVIEW process.

Verified end to end: a 46-dependency project manifest resolved to 48 packages / 8766 files, installed, relinked and its 15 post-install hooks run from a single command.

Known limitations

  • LabVIEW needs to be running for lvpm to run the relinking
  • The paletts and tools are not updated automatically
  • In LV2026 the "Relink Package.vi" is broken initially because it comes from an untrusted source

See the README — notably: hook VIs' own error out is not read back, Replace Mode = If Newer only writes when the file is absent, no mass compile, Windows only.

Not affiliated with JKI or NI.