Skip to content

log error if config file name is not known; standardize Release Channels config filename

Hopefully this helps with the Anti-Features case confusion:

  • antifeatures
  • antiFeatures
  • AntiFeatures

This also changes the config/channels.yml file to be named config/releaseChannels.yml since "releaseChannels" is the name used throughout the code and the index, and is clearer. This makes fdroid update throw this error:

ERROR: config/channels.yml is not a standard config file! Did you mean config/releaseChannels.yml?

I guess this could be made to be a hard-stop error, in addition to the message. fdroidserver v2.2.0 used the config/channels.yml name. Or fdroid update could fall back to using config/channels.yml, like the config.yml/config.py fallback logic.

This is draft because it is based on !1366 (merged)

Merge request reports