Skip to content
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

Misc extensions tweaks #7749

Merged
merged 4 commits into from
May 15, 2024
Merged

Misc extensions tweaks #7749

merged 4 commits into from
May 15, 2024

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented May 15, 2024

These changes are ready to be reviewed & integrated.

List of changes:

  • Ensure ExtractExtensionDescriptionFromJson sets empty output variable: This ensures that output variables are defined in the parent scope event if they are empty.
  • Remove obsolete requirements from SlicerExtensionPackageAndUploadTarget
    • Follow-up of 437e338 (ENH: Switch extension index entry format from "s4ext" to "json", 2024-03-13).
    • It removes setting of EXTENSION_CATEGORY and EXTENSION_ENABLED into the SCRIPT_ARGS_FILE. These variables are now extracted from the ".json" file copied into the extension build directory.
  • Improve error reporting in slicer_generate_extension_description_test: Since using "cmake -E compare_files" does not report any details, this commit explicitly report that the baseline and generated files do not match.
  • Improve readability of metadata keys in qSlicerExtensionsManagerModel

This changes were created while working on the following pull request:

jcfr added 4 commits May 14, 2024 22:02
…riable

This ensures that output variables are defined in the parent scope event
if they are empty.
…adTarget

Follow-up of 437e338 (`ENH: Switch extension index entry format from
"s4ext" to "json"`, 2024-03-13).

It removes setting of `EXTENSION_CATEGORY` and `EXTENSION_ENABLED` into the
`SCRIPT_ARGS_FILE`. These variables are now extracted from the ".json" file
copied into the extension build directory.
…n_test

Since using "cmake -E compare_files" does not report any details, this
commit explicitly report that the baseline and generated files do not match.
@jcfr jcfr requested review from jamesobutler and lassoan May 15, 2024 02:05
@jcfr jcfr enabled auto-merge (rebase) May 15, 2024 02:07
@jcfr jcfr requested a review from sjh26 May 15, 2024 14:02
Copy link
Member

@pieper pieper left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@jcfr jcfr merged commit 332732c into Slicer:main May 15, 2024
9 checks passed
@jcfr jcfr deleted the misc-extensions-tweaks branch May 15, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants