RTECO-945: Add Apk to ProjectType enum for jf setup apk support#1584
Open
naveenku-jfrog wants to merge 1 commit into
Open
RTECO-945: Add Apk to ProjectType enum for jf setup apk support#1584naveenku-jfrog wants to merge 1 commit into
naveenku-jfrog wants to merge 1 commit into
Conversation
Add Apk ProjectType and "apk" string to ProjectTypes slice so that the unified jf setup command can route to Alpine APK configuration. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add Apk ProjectType and "apk" string to ProjectTypes slice so that the unified jf setup command can route to Alpine APK configuration.
RTECO-945: Add apk as a supported project type
Summary
This PR adds apk (Alpine Package Manager) to the ProjectType enum in jfrog-cli-core, enabling the unified jf setup command to recognize and route Alpine APK configuration.
Change: common/project/projectconfig.go
Added Apk to the ProjectType enum
Added "apk" to the ProjectTypes string slice
Why
The jf setup command uses ProjectType to determine which package manager setup flow to invoke. Without this entry, jf setup apk cannot be dispatched to the Alpine configuration handler in jfrog-cli-artifactory.
This is a prerequisite for:
jfrog-cli-artifactory#496 — Alpine APK command support (jf apk add, jf apk upload, jf setup apk)
jfrog-cli#3561 — CLI wiring for jf apk commands
Testing
No standalone tests needed — this is a data-only enum extension. Integration is covered by the Alpine e2e tests in jfrog-cli.