You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
projects lost when merging per-project setting in read-only configuration with active configurationย #2147
One way how to deal with this would be to change the workflow - augment the ProjectMessage to be able to set per-project properties and then retrieve the configuration so that it is persistent.
Thel workaround needs a tweak for full global (not per project) indexing - I believe the per-project setting in read-only configuration is applied after the projects are discovered however once the initial index is done, the per-project settings have to be removed from read-only configuration and set in the webapp.
Activity
vladak commentedon Jun 8, 2018
One way how to deal with this would be to change the workflow - augment the
ProjectMessageto be able to set per-project properties and then retrieve the configuration so that it is persistent.vladak commentedon Jun 8, 2018
I think this is a fall-out of how XML serialization is done. As a result, merge is not really a merge.
add set/get command for ProjectMessage
vladak commentedon Jun 11, 2018
Possibly as a fix the configuration merge needs to be more intelligent.
tulinkry commentedon Jun 11, 2018
I think some customizations in this code
https://github.com/oracle/opengrok/blob/master/src/org/opensolaris/opengrok/index/Indexer.java#L903-L920
would do the trick
Project message set/get (#2153)
vladak commentedon Jul 13, 2018
This has a workaround so stripping the stopper tag for now.
vladak commentedon Aug 31, 2018
Thel workaround needs a tweak for full global (not per project) indexing - I believe the per-project setting in read-only configuration is applied after the projects are discovered however once the initial index is done, the per-project settings have to be removed from read-only configuration and set in the webapp.