Skip to content

Stacked loading of config files#1573

Merged
derselbst merged 2 commits intoissue-1538from
config-file
Aug 2, 2025
Merged

Stacked loading of config files#1573
derselbst merged 2 commits intoissue-1538from
config-file

Conversation

@derselbst
Copy link
Member

Previously, fluidsynth only loaded a single config-file. If none was provided via the -f flag, it would load the user config, if that didn't work, it would try the system config.

During #1538 we found that it would be more desirable to load all config files, allowing the user to stack the settings. With this PR, fluidsynth will always attempt to load the system-wide config first (containing coarse system-wide configuration settings), followed by loading the user config (containing user-specific settings, like a GM bank), optionally followed a command-line provided config file.

@derselbst derselbst added this to the 2.5 milestone May 20, 2025
@sonarqubecloud
Copy link

@derselbst derselbst marked this pull request as ready for review July 26, 2025 10:09
@sonarqubecloud
Copy link

@derselbst derselbst merged commit 17875e6 into issue-1538 Aug 2, 2025
63 of 88 checks passed
@derselbst derselbst deleted the config-file branch August 2, 2025 08:43
derselbst added a commit that referenced this pull request Aug 2, 2025
derselbst added a commit that referenced this pull request Aug 3, 2025
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.

1 participant