Skip to content

Comments

Implement package Provides capability.#195

Merged
nguyen-phillip merged 9 commits intogoogle:masterfrom
jm2:master
Feb 6, 2026
Merged

Implement package Provides capability.#195
nguyen-phillip merged 9 commits intogoogle:masterfrom
jm2:master

Conversation

@jm2
Copy link
Member

@jm2 jm2 commented Feb 3, 2026

Adds support for virtual package provision and alternative dependency satisfaction.

Changes:

  • goolib: Add Provides field to PkgSpec.
  • install: Implement isSatisfied to resolve dependencies via providers.
  • install: Update conflict resolution to check providers.
  • client: Add FindSatisfyingRepoLatest for repo-side provider resolution, prioritizing direct name matches over providers.
  • system: Add system_darwin.go stubs for macOS compatibility.
  • tests: Add comprehensive unit and integration tests for new logic.

jm2 and others added 4 commits February 3, 2026 10:11
Adds support for virtual package provision and alternative dependency
satisfaction.

Changes:
- goolib: Add Provides field to PkgSpec.
- install: Implement isSatisfied to resolve dependencies via providers.
- install: Update conflict resolution to check providers.
- client: Add FindSatisfyingRepoLatest for repo-side provider resolution,
  prioritizing direct name matches over providers.
- system: Add system_darwin.go stubs for macOS compatibility.
- tests: Add comprehensive unit and integration tests for new logic.
jm2 added 4 commits February 4, 2026 16:16
- Consolidate package search logic to support both direct and provider matches.
- Update search functions to return full package specification.
- Export provider satisfaction logic for reuse across packages.
- Refactor install and cli packages to use updated client API.
- Use strings.Cut in client.SatisfiesProvider and simplify version checks
- Deduplicate provider logic in install package by reusing client.SatisfiesProvider
@jm2 jm2 requested a review from nguyen-phillip February 4, 2026 23:53
@jm2 jm2 requested a review from nguyen-phillip February 5, 2026 23:43
@nguyen-phillip nguyen-phillip merged commit c669619 into google:master Feb 6, 2026
4 checks passed
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