Skip to content

Conversation

@moroten
Copy link
Contributor

@moroten moroten commented Mar 26, 2025

When having multiple configuration files, the ~/.config directory gets cleaner when they are all gathered in the subdirectory bb_clientd. Adding an automatic migration for now to move bb_clientd.jsonnet from ~/.config/ into ~/.config/bb_clientd/. Note that any potential load statements might fail if those files are not moved.

@moroten
Copy link
Contributor Author

moroten commented Mar 27, 2025

@EdSchouten Do you have any opinion on moving the config into the subdirectory ~/.config/bb_clientd/bb_clientd.jsonnet? Some voices came up wanting to gather the files together.

@moroten moroten force-pushed the config-subdirectory branch 3 times, most recently from 70d81a8 to 41fe925 Compare April 8, 2025 19:52
When having multiple configuration files, the ~/.config directory gets
cleaner when they are all gathered in the subdirectory bb_clientd.
Adding an automatic migration for now to move bb_clientd.jsonnet from
~/.config/ into ~/.config/bb_clientd/. Note that any potential load
statements might fail if those files are not moved.
@moroten moroten force-pushed the config-subdirectory branch from 41fe925 to e2132db Compare April 8, 2025 20:05
@moroten
Copy link
Contributor Author

moroten commented Apr 9, 2025

Another variant is to have ~/.config/buildbarn/bb_clientd.jsonnet. Less duplicated words.

@EdSchouten
Copy link
Member

Nah, let's just stick to the existing naming. It's fine. :-)

@EdSchouten EdSchouten merged commit 4c6f8ab into buildbarn:master Apr 9, 2025
1 check passed
@moroten moroten deleted the config-subdirectory branch April 9, 2025 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants