Skip to content

RTECO-1564 - Add Apt to ProjectTypes and ProjectType constants#1581

Open
fluxxBot wants to merge 1 commit into
masterfrom
RTECO-1564
Open

RTECO-1564 - Add Apt to ProjectTypes and ProjectType constants#1581
fluxxBot wants to merge 1 commit into
masterfrom
RTECO-1564

Conversation

@fluxxBot

@fluxxBot fluxxBot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor
  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the master branch.
  • I used gofmt for formatting the code before submitting the pull request.

Summary

  • Add Apt ProjectType constant to the ProjectType iota in common/project/projectconfig.go
  • Add "apt" string to ProjectTypes slice at the matching index

Why

jf setup and jf setup apt need to route the apt package manager through the
same SetupCommand framework used by npm, go, pip, etc. — for interactive repo
selection (promptUserToSelectRepository) and for listing apt in
GetSupportedPackageManagersList(). Both rely on a ProjectType value existing
for apt.

Without this change the string "apt" has no enum counterpart, so the setup
framework cannot filter debian repositories or dispatch to configureApt().

@fluxxBot fluxxBot added the feature request New feature or request label Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature request New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant