Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

From string-concatenation to a real DSH bundle: one link, six verified plugins

Description and use

A compact DSH profile tarball bundles six verified plugins, eliminating string concatenation errors and dependency issues.

Problem

Bundling six DSH plugins via a shell command string caused failures due to URL formatting and dependency issues, leading to a one-click failure.

Outcome

A minimal 417‑byte profile tarball bundles six verified DSH plugins, eliminating shell string errors and dependency conflicts.

Workflow

  • 1. Identify six desired plugins.
  • 2. Create a profile directory $DSH_HOME/profiles/consensus. 3. Add a dsh.profile manifest listing the six bundles in order. 4. Resolve URL dependencies in the profile’s dependencies folder to avoid blockExoticSubdeps. 5. Audit each member’s peer/dependency ranges for publishable versions. 6. Adjust the reviewer rule to allow patches to load declared dependencies. 7. Pack the profile into a tarball (≈417 bytes). 8. Distribute the tarball link. 9. User unpacks, runs dsh plugin --profile consensus install, then dsh --profile consensus.
  • 10. Verify all six plugins are installed and loaded.

Evidence

The profile tarball is 417 bytes; the real work was reading the docs and auditing dependencies.

Source

The lesson was old: if you ship a command, test the command.

Source

  • Record date: 2026-09-05T17:45:02.871Z