Skip to content

Give warnings/errors for breaking changes in 5.0 config #747

@mrjones-plip

Description

@mrjones-plip

What feature do you want to improve?
There's some config changes that are going to change with CHT 5.0. Specifically the declarative config will be mandatory and app_url are required when token login is enabled.

There's no way to know if you need to change any of these if you're using CHT Conf.

Describe the improvement you'd like
We should either warn or error out by detecting any 5.0 settings changes. This might look like detecting a 4.x version and warning that the features will soon be deprecated or erroring out if a 5.x instance is detected and an incompatible config is being pushed.

Describe alternatives you've considered
Do nothing and hope folks read the docs.

Additional context
This came up on the Stewardship call today as a good idea that we should add. I might be capturing some of the ideas here wrong - feel free to amend!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions