Add vipapps.py#46
Merged
axlbonnet merged 6 commits intovirtual-imaging-platform:developfrom Jun 27, 2025
Merged
Conversation
- Self-contained in vipapps/vipapps.py - Depends on vipclient, with a minor patch for generic GET/PUT requests
added 3 commits
May 28, 2025 13:33
- Add requirements.txt - Add --public=true/false to define the value of the public field when creating an app. As for --groups or --owner, this is currently only valid on creation, not on update; and it will use the same value for all apps. - Add --verbose flag and shown PUT requests bodies only when this flag is set. Previously, these messages were conditionned by --dry-run. - Remove --show-unchanged, instead show those with --verbose.
- Ignore rows with a bank descriptor - Adjust some warning and error messages
- Add settings and source fields in appversion, with related command-line flags on all relevant commands. The source field is optional if vip-portal doesn't support it yet - Preserve doi field - sync_index: Add support for per-row values for resources, settings, and source
Author
|
Some updates in vipapps.py today, everything is backwards-compatible so I pushed on the present PR :
|
added 2 commits
June 10, 2025 17:17
import_file/sync_index/sync_dir commands would previously overwrite the top-level application record when importing a new app version. This patch fixes that: a top-level application record can now only be created, once, when it doesn't exist, and never updated afterwards.
Changes in bean/Application.java, virtual-imaging-platform/VIP-portal#560: - Remove isPublic field. - Rename applicationGroups to groups (+groupNames on read). When creating a new app, only the name field is set in group objects.
Author
|
Extra commit a06ef7b : adjust for changes in the Application object in virtual-imaging-platform/VIP-portal#560. |
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.
An admin tool to manage VIP apps
--helpfor usagevipapps/vipapps.py