Skip to content

Export and import application versions - #102

Merged
asafgabai merged 12 commits into
jfrog:mainfrom
asafgabai:export-import-app-version
Sep 15, 2026
Merged

asafgabai merged 12 commits into
jfrog:mainfrom
asafgabai:export-import-app-version

Conversation

@asafgabai

@asafgabai asafgabai commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator
  • The pull request is targeting the main branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....
  • All static analysis checks passed.
  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • All E2E tests have passed.
  • All changes are detailed at the description.

@asafgabai asafgabai added the safe to test Approve running end-to-end tests on a pull request label Sep 10, 2026
@github-actions github-actions Bot removed the safe to test Approve running end-to-end tests on a pull request label Sep 10, 2026
@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Test Results

64 tests  ±0   57 ✅ ±0   6m 29s ⏱️ -35s
 2 suites ±0    7 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 06a68e7. ± Comparison against base commit c862925.

♻️ This comment has been updated with latest results.

Comment thread go.mod Outdated
@asafgabai asafgabai added the safe to test Approve running end-to-end tests on a pull request label Sep 14, 2026
@asafgabai
asafgabai marked this pull request as ready for review September 14, 2026 11:37
@github-actions github-actions Bot removed the safe to test Approve running end-to-end tests on a pull request label Sep 14, 2026
@asafgabai asafgabai added the safe to test Approve running end-to-end tests on a pull request label Sep 14, 2026
@github-actions github-actions Bot removed the safe to test Approve running end-to-end tests on a pull request label Sep 14, 2026
return true, errorutils.CheckErrorf("application version export failed: %s", status.Message)
case exportStatusCompleted:
return true, nil
default:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep polling on STARTED / NOT_TRIGGERED; only fail on FAILED or unknown.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added NOT_TRIGGERED (AFAIK there's no STARTED status)

return commonCLiCommands.Exec(eac)
}

func parseExportDownloadFlags(ctx *components.Context) (minSplitSize int64, splitCount int, err error) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider rejecting negatives (non -1)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This parameter is owned by jfrog-client-go and is widely used across many commands in JFrog CLI. The right place to handle that is there, but I think it's out of the scope of this PR.

Comment thread apptrust/http/http_client.go Outdated
@asafgabai asafgabai added the safe to test Approve running end-to-end tests on a pull request label Sep 14, 2026
@github-actions github-actions Bot removed the safe to test Approve running end-to-end tests on a pull request label Sep 14, 2026
@asafgabai asafgabai added the safe to test Approve running end-to-end tests on a pull request label Sep 15, 2026
@github-actions github-actions Bot removed the safe to test Approve running end-to-end tests on a pull request label Sep 15, 2026
@asafgabai
asafgabai merged commit 4b31e48 into jfrog:main Sep 15, 2026
5 of 6 checks passed
@asafgabai
asafgabai deleted the export-import-app-version branch September 15, 2026 14:41
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