Skip to content

feat: support multi package installs#12

Merged
visubique merged 1 commit into
mainfrom
tom/OSS-1284-multi-package-install
Jun 25, 2026
Merged

feat: support multi package installs#12
visubique merged 1 commit into
mainfrom
tom/OSS-1284-multi-package-install

Conversation

@visubique

@visubique visubique commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

forward.Run now picks one of two modes automatically:

  • Named packages (ossprey npm install foo@1 bar) — checks each named package. Arg parsing is now robust for real multi-package commands: value-flags, local paths, archives, URLs,
    and VCS refs are no longer misread as packages (ParseSpecs → installArgs{Specs, NonPackages, ReqFiles}).
  • Manifest install (bare npm install, npm ci, yarn install, poetry install, uv sync, pip install -r requirements.txt) — scans the project directory and checks every declared
    dependency before forwarding, instead of falling through. (The OSS-1284 fix.)

Also: yarn install / poetry install / uv sync are now recognized as install commands; installs whose only targets are local/URL refs forward with a warning (nothing checkable).

Too much ^^?

// No packages named — the manager installs from the project manifest /
// lockfile. Scan the project and check every declared dependency rather
// than falling through unchecked.
fmt.Fprintf(os.Stderr, "ossprey: no packages named; scanning project manifest before `%s %s`\n",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be stderr?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be ok and won't mix with message output

@andyossprey andyossprey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks excellent!

@visubique visubique merged commit b7a7cfd into main Jun 25, 2026
7 checks passed
@visubique visubique deleted the tom/OSS-1284-multi-package-install branch June 25, 2026 12:25
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.

2 participants