-
Notifications
You must be signed in to change notification settings - Fork 40
Feature/add properties for repository via j frog cli #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
naveenku-jfrog
merged 14 commits into
jfrog:main
from
naveenku-jfrog:feature/Add-properties-for-repository-via-JFrog-CLI
Jul 9, 2025
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
6e0b289
RTECO-235 - Fixed the proper handling of Deleting Remote Release Bundle
naveenku-jfrog 718ae06
RTECO-235 - Handled Version Checking in artifactory itself
naveenku-jfrog 9e59050
RTECO-235 - Updating go.mod temporarily
naveenku-jfrog cad1904
RTECO-235 - Updating go.sum temporarily
naveenku-jfrog f92d481
RTECO-235 - Addressing Comments
naveenku-jfrog 2ffd779
RTECO-235 - Removing temp go.mod and go.sum changes
naveenku-jfrog 7fcc1b5
Added feature for adding properties to repo only
naveenku-jfrog 679bed0
Merge branch 'main' into feature/Add-properties-for-repository-via-JF…
naveenku-jfrog 920e8cb
RTECO-235 - Adding go mod and sum temp
naveenku-jfrog d92ee9c
Merge branch 'main' into feature/Add-properties-for-repository-via-JF…
naveenku-jfrog f0db083
RTECO-235 - Removing temp go.mod and go.sum changes
naveenku-jfrog 3660fb8
Merge branch 'main' into feature/Add-properties-for-repository-via-JF…
naveenku-jfrog 3d88f83
RTECO-235 - Removing temp go.mod and go.sum changes
naveenku-jfrog d8b1ebd
RTECO-235 - Removing temp go.mod and go.sum changes
naveenku-jfrog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -153,6 +153,7 @@ const ( | |
| props = "props" | ||
| targetProps = "target-props" | ||
| excludeProps = "exclude-props" | ||
| repoOnly = "repo-only" | ||
| failNoOp = "fail-no-op" | ||
| threads = "threads" | ||
| syncDeletes = "sync-deletes" | ||
|
|
@@ -579,7 +580,7 @@ var commandFlags = map[string][]string{ | |
| url, user, password, accessToken, sshPassphrase, sshKeyPath, serverId, ClientCertPath, | ||
| ClientCertKeyPath, specFlag, specVars, exclusions, sortBy, sortOrder, limit, offset, | ||
| propsRecursive, build, includeDeps, excludeArtifacts, bundle, includeDirs, failNoOp, threads, archiveEntries, propsProps, propsExcludeProps, | ||
| InsecureTls, retries, retryWaitTime, Project, | ||
| InsecureTls, retries, retryWaitTime, Project, repoOnly, | ||
| }, | ||
| BuildPublish: { | ||
| url, user, password, accessToken, sshPassphrase, sshKeyPath, serverId, buildUrl, bpDryRun, | ||
|
|
@@ -901,6 +902,7 @@ var flagsMap = map[string]components.Flag{ | |
| propsRecursive: components.NewBoolFlag(Recursive, "[Default: true] When false, artifacts inside sub-folders in Artifactory will not be affected.", components.WithBoolDefaultValueFalse()), | ||
| propsProps: components.NewStringFlag(props, "[Optional] List of semicolon-separated(;) properties in the form of \"key1=value1;key2=value2;...\". Only artifacts with these properties are affected.", components.SetMandatoryFalse()), | ||
| propsExcludeProps: components.NewStringFlag(excludeProps, "[Optional] List of semicolon-separated(;) properties in the form of \"key1=value1;key2=value2;...\". Only artifacts without the specified properties are affected.", components.SetMandatoryFalse()), | ||
| repoOnly: components.NewBoolFlag(repoOnly, "[Default: true] When false, artifacts inside sub-folders in Artifactory will be affected.", components.WithBoolDefaultValueFalse()), | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. default should be false, there are more users using --repo-only false instead of true |
||
|
|
||
| // Build Publish and Append specific commands flags | ||
| buildUrl: components.NewStringFlag(buildUrl, "[Optional] Can be used for setting the CI server build URL in the build-info.", components.SetMandatoryFalse()), | ||
|
|
||
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be changed based on repo-only default value false