-
Notifications
You must be signed in to change notification settings - Fork 23
Allow for overriding CONFIG_SITE with a *.local #66
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
base: master
Are you sure you want to change the base?
Conversation
newville
left a comment
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.
should this be an empty CONFIG_SITE.local instead of an empty RELEASE.local?
|
I think we shouldn't have either *.local as empty files, they should be ignored by this line in the gitignore: Line 14 in 90ec4d1
I think the empty RELEASE.local was committed by accident, this PR is removing it (along with loading the |
|
@jwlodek Maybe I am not understanding the goal. Your proposed Why would we require |
The normal way this is done in EPICS is that RELEASE.local and CONFIG_SITE.local are not "required", because they are included with "-include" rather than "include". That means they are optional and will only be included if they exist. Those files are also normally in .gitignore so they won't show up in a "git diff", etc. These are some examples from the asyn module: If you want to provide examples of the .local files then one way to do this is to create files like EXAMPLE_CONFIG_SITE.local.rhel7 as we do in areaDetector. |
|
If Please retain
The Anyway, such changes to the local build should be shown as a difference from the main repository, and should not be intentionally hidden from the user. |
|
The reason we prefer to have the |
Yeah, if you have a locally modified build configuration file, you would have to stash or work in another branch before pulling from the main branch. I would call that a good feature: Deliberately hiding local shims in the build system seems very odd to me. But also: |
Allow for overriding CONFIG_SITE with a
.localversion to facilitate building outside of the traditionalareaDetector/configurestructure.