How to get inheritable boolean project configurations to work

42 views
Skip to first unread message

Szabolcs Tolnai

unread,
Mar 5, 2026, 11:17:36 AM (12 days ago) Mar 5
to Repo and Gerrit Discussion
Hi,

I am trying to use InheritableBoolean as type/values for ProjectConfigEntry. It seems to work as expected up to the point where my chilld project's configuration selects "INHERIT" from the drop-down on the project's General page. After this the "INHERIT" value is saved into the project.config file and I get this back as the actually set value through the PluginConfig returned by PluginConfigFactory.getFromProjectConfigWithInheritance. To get the really inherited value I would need to walk the project's inheritance chain until I find a different than "INHERIT" value. This pretty much defeats the purpose of the  PluginConfigFactory.getFromProjectConfigWithInheritance call.

Am I missing something? Can somebody point me to the right direction of how to have inheritable plugin specific configurations which work?

Kind regards,
Szabi
Reply all
Reply to author
Forward
0 new messages