Skip to content

feat: add bootstrap package manager detection#406

Merged
ahmadqasembader merged 3 commits into
cncf:mainfrom
ahmadqasembader:pacakge_manager_detection
Jun 11, 2026
Merged

feat: add bootstrap package manager detection#406
ahmadqasembader merged 3 commits into
cncf:mainfrom
ahmadqasembader:pacakge_manager_detection

Conversation

@ahmadqasembader

Copy link
Copy Markdown
Contributor

I added auto-detection of package managers by scanning manifest files (go.mod, package.json, Cargo.toml, yproject.toml, Chart.yaml, pom.xml, build.gradle) in the primary repo root and across the org's repos.

This doesn't cause extra GH API calls, I'm reusing the existing calls from the governance file discovery.

If a package_manager_url exists in the landscape data, it takes priority over the GitHub-detected value for that registry.

Signed-off-by: ahmadqasembader <ahmadbader245@gmail.com>
@ahmadqasembader ahmadqasembader requested a review from jeefy May 11, 2026 15:04
@ahmadqasembader ahmadqasembader self-assigned this May 11, 2026
@ahmadqasembader ahmadqasembader added the area/dot-project utilities/dot-project scaffolding and bootstrap tooling label May 11, 2026
@github-actions github-actions Bot added needs-triage Indicates an issue or PR that has not been triaged yet (has a 'triage/foo' label applied) needs-kind Indicates an issue or PR that is missing an issue type or kind (a kind/foo label) needs-group Indicates an issue or PR that has not been assigned a group (toc or tag/foo label applied) needs-priority Indicates an issue or PR missing a priority label needs-status Indicates an issue or PR missing a status label labels May 11, 2026
@jeefy

jeefy commented Jun 10, 2026

Copy link
Copy Markdown
Member

@copilot resolve the merge conflicts in this pull request

…ection

# Conflicts:
#	utilities/dot-project/bootstrap_parsers_test.go
#	utilities/dot-project/bootstrap_sources.go
- Replace singular SlackChannel with SlackChannels slice usage
- Add extractChannelFromSlackURL for /channels/ and /archives/ URL patterns
- Add full Slack candidates logic (promote first GitHub channel, rest as candidates)
- Propagate PackageManagers from GitHub data in mergeBootstrapData
- Add landscape PackageManagerURL override logic
- Make package_managers TODO conditional on detection

Signed-off-by: ahmadqasembader <ahmadbader245@gmail.com>
@ahmadqasembader ahmadqasembader force-pushed the pacakge_manager_detection branch from c636575 to 7f3eb60 Compare June 11, 2026 09:13
@ahmadqasembader ahmadqasembader merged commit 9f5c085 into cncf:main Jun 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dot-project utilities/dot-project scaffolding and bootstrap tooling needs-group Indicates an issue or PR that has not been assigned a group (toc or tag/foo label applied) needs-kind Indicates an issue or PR that is missing an issue type or kind (a kind/foo label) needs-priority Indicates an issue or PR missing a priority label needs-status Indicates an issue or PR missing a status label needs-triage Indicates an issue or PR that has not been triaged yet (has a 'triage/foo' label applied)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants