Skip to content

Improved rig ppm - #534

Merged
gaborcsardi merged 1 commit into
mainfrom
feature/ppm-more
Nov 23, 2026
Merged

gaborcsardi merged 1 commit into
mainfrom
feature/ppm-more

Conversation

@gaborcsardi

Copy link
Copy Markdown
Member
  • rig ppm has new subcommands to query a Posit Package Manager instance: repos, snapshots, sources, transactions and whoami. The new rig ppm pkg group has the commands about packages: list, info, history, vulns, downloads, and publish, which uploads a package to a local source. rig ppm builds and rig ppm build-log moved to rig ppm pkg builds and rig ppm pkg build-log; the old names still work. rig ppm url can now print repository URLs, for a snapshot and for Linux binaries, and rig ppm status also shows the statistics and feature flags of the instance.

  • rig now reads a Package Manager token from the PACKAGEMANAGER_TOKEN environment variable, for the instance in PACKAGEMANAGER_ADDRESS. It sends Package Manager tokens to the Package Manager API as bearer tokens.

`rig ppm` has new subcommands to query a Posit Package Manager instance:
`repos`, `snapshots`, `sources`, `transactions` and `whoami`. The new
`rig ppm pkg` group has the commands about packages: `list`, `info`,
`history`, `vulns`, `downloads`, and `publish`, which uploads
a package to a local source. `rig ppm builds` and `rig ppm build-log` moved
to `rig ppm pkg builds` and `rig ppm pkg build-log`; the old names still
work. `rig ppm url` can now print repository URLs, for a snapshot and for
Linux binaries, and `rig ppm status` also shows the statistics and feature
flags of the instance.

rig now reads a Package Manager token from the `PACKAGEMANAGER_TOKEN`
environment variable, for the instance in `PACKAGEMANAGER_ADDRESS`. It
sends Package Manager tokens to the Package Manager API as bearer tokens.
@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 55.46875% with 1083 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.20%. Comparing base (e54cdcd) to head (2ad4f5c).

Files with missing lines Patch % Lines
src/ppm/ppm_repos.rs 38.05% 337 Missing ⚠️
src/ppm/ppm_packages.rs 14.28% 240 Missing ⚠️
src/ppm/ppm_downloads.rs 16.10% 99 Missing ⚠️
src/ppm/ppm_whoami.rs 24.56% 86 Missing ⚠️
src/ppm/ppm_publish.rs 46.57% 78 Missing ⚠️
src/ppm/mod.rs 28.72% 67 Missing ⚠️
src/ppm/ppm_vulns.rs 55.30% 59 Missing ⚠️
src/ppm/ppm_status.rs 0.00% 50 Missing ⚠️
src/ppm/ppm_build_log.rs 0.00% 31 Missing ⚠️
src/ppm/api.rs 87.60% 29 Missing ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #534      +/-   ##
==========================================
- Coverage   69.80%   69.20%   -0.61%     
==========================================
  Files          97      104       +7     
  Lines       56520    58832    +2312     
==========================================
+ Hits        39453    40713    +1260     
- Misses      17067    18119    +1052     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gaborcsardi
gaborcsardi merged commit ccbaa64 into main Nov 23, 2026
92 of 94 checks passed
@gaborcsardi
gaborcsardi deleted the feature/ppm-more branch November 23, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant