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

COMP: Fix main project source dir colliding with built-in extension of same name #7724

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jamesobutler
Copy link
Contributor

@jamesobutler jamesobutler commented May 3, 2024

Here is my situation of names utilized for a Slicer custom app, the custom app's application name and the name of an extension packaged into the custom app:

MyNameApp (Slicer custom app) (github.com/MyOrg/MyNameApp)
MyName.exe (MyNameApp's application name)
MyName (extension name included in custom app) (github.com/MyOrg/MyName)

The following could collide:
${Slicer_MAIN_PROJECT_APPLICATION_NAME}_SOURCE_DIR ${${extension_name}_SOURCE_DIR}

The issue was discovered when MainApplicationRepositoryRevision and MainApplicationRepositoryURL reported info for the extension of same name instead of the application.

MyNameApp (Slicer custom app)
MyName.exe (MyNameApp's application name)
MyName (extension name included in custom app)

The following could collide:
${Slicer_MAIN_PROJECT_APPLICATION_NAME}_SOURCE_DIR
${${extension_name}_SOURCE_DIR}

The issue was discovered when MainApplicationRepositoryRevision and MainApplicationRepositoryURL reported info for the extension of same name instead of the application.
@jamesobutler jamesobutler requested a review from jcfr May 3, 2024 02:11
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

1 participant