Allow for overriding CONFIG_SITE with a *.local#66
Allow for overriding CONFIG_SITE with a *.local#66jwlodek wants to merge 1 commit intoepics-modules:masterfrom
Conversation
newville
left a comment
There was a problem hiding this comment.
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.