Skip to content

Conversation

@williamjallen
Copy link
Collaborator

Everything the legacy Config class does can be done by an equivalent Laravel helper function. As such, there is no longer a need for the Config class, and it has been marked as deprecated. I tried to simply replace each of the deprecated functions with laravel equivalents, but a few quirks with our testing suite make it a nontrivial task.

I created a new function for getting the current CDash version in the base controller class. This is now the preferred method to use for getting the version. I intend to make a separate PR once this is merged to simplify our versioning logic.

Copy link
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One quick question about a function not marked as deprecated, but otherwise looks great!

@josephsnyder josephsnyder added this pull request to the merge queue Sep 8, 2023
Merged via the queue into Kitware:master with commit 4276a8a Sep 8, 2023
@williamjallen williamjallen deleted the config-deprecation branch September 8, 2023 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants