From what I can see in the code, the “Show Non-Stable Add-ons” only applies to the 3rd party service. The community marketplace service only checks these two:
protected boolean remoteEnabled() {
try {
Configuration configuration = configurationAdmin.getConfiguration("org.openhab.addons", null);
Dictionary<String, Object> properties = configuration.getProperties();
if (properties == null) {
// if we can't determine a set property, we use true (default is remote enabled)
return true;
}
return ConfigParser.valueAsOrElse(properties.get(CONFIG_REMOTE_ENABLED), Boolean.class, true);
} catch (IOException e) {
return true;
}
}
protected boolean includeIncompatible() {
try {
Configuration configuration = configurationAdmin.getConfiguration("org.openhab.addons", null);
Dictionary<String, Object> properties = configuration.getProperties();
if (properties == null) {
// if we can't determine a set property, we use false (default is show compatible only)
return false;
}
return ConfigParser.valueAsOrElse(properties.get(CONFIG_INCLUDE_INCOMPATIBLE), Boolean.class, false);
} catch (IOException e) {
return false;
}
}
edit: In a way, “published” is used in the community markedplace as “stable” is used 3rd party marketplace. It’s a pity with such “inconsistency”, but I don’t think I should try to do anything about that at this point.
All these things “bind” for a long time, since even if you change how things work in the latest version, older versions must continue to work. So, it’s difficult to “fix” bad designs once they have been released.
edit2: In addition to the above checks, which applies to both community and 3rd party, CommunityMarketplaceAddonService has this check:
this.showUnpublished = ConfigParser.valueAsOrElse(config.get(CONFIG_SHOW_UNPUBLISHED_ENTRIES_KEY), Boolean.class, false);
..whilte JsonAddonService has this check:
showUnstable = ConfigParser.valueAsOrElse(config.get(CONFIG_SHOW_UNSTABLE), Boolean.class, false);