Skip to content

Rename "Services" to "Utilities"#1856

Merged
josephsnyder merged 4 commits intoKitware:masterfrom
williamjallen:utils-directory
Dec 4, 2023
Merged

Rename "Services" to "Utilities"#1856
josephsnyder merged 4 commits intoKitware:masterfrom
williamjallen:utils-directory

Conversation

@williamjallen
Copy link
Collaborator

In Laravel, a "service" is a specific term used to describe service providers. CDash stores those at the default app/Providers path. Having an additional app/Services directory is confusing, because the contents therein are not services. The current contents of app/Services are simply helper classes, mostly classes with static member functions for performing various utility features. As such, I have renamed the directory to app/Utils.

I eventually plan to move some of our legacy global functions into container classes in this directory. Some of the global functions pollute our global namespace, and interfere with static analysis

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.

Looks good to me. I don't see an issue in the testing or in some brief manual exploration.

@josephsnyder josephsnyder added this pull request to the merge queue Dec 4, 2023
Merged via the queue into Kitware:master with commit 9a9a1a2 Dec 4, 2023
@williamjallen williamjallen deleted the utils-directory branch December 4, 2023 20:18
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

Comments