Skip to content

feat/fix: support .yaml extension for the config file.#183

Open
aloysb wants to merge 2 commits intohywax:mainfrom
aloysb:fix/support-config-yaml
Open

feat/fix: support .yaml extension for the config file.#183
aloysb wants to merge 2 commits intohywax:mainfrom
aloysb:fix/support-config-yaml

Conversation

@aloysb
Copy link

@aloysb aloysb commented Aug 1, 2025

@hywax

After a little bit of pain setting mafl today I thought I would propose this PR.
I took me a little bit of digging to find out that I named my config config.yaml instead of config.yml.

Since .yaml is the official extension for yaml file, we should probably support it :)

Goal

Support .yaml extension (as well as .yml) for the config
.yaml is the official extension, but since all the docs points to .yml I don't think we should enforce it as the default or only option. But supporting config.yaml seems important.

Besides, the unraid is currently pointing to a config.yaml which would result in an error!

How to test

There isn't a test suite as far as I can tell (happy to set one up for you) so I didn't put any tests - only manually checked the code.

To do, run this branch locally with a config.yaml and ensure it works as expected!

Thanks for the good work, I love this project.

@hywax-assistant
Copy link
Collaborator

👋 @aloysb

💖 Thanks for opening this pull request!

Please follow the contributing guidelines. And we use semantic commit messages to streamline the release process.

Examples of commit messages with semantic prefixes:

  • fix: interval for sending a request in the base service
  • feat: add new NAME service
  • docs: example of using the NAME service

@aloysb aloysb changed the title Feat/support .yaml extension for the config file. feat/fix: support .yaml extension for the config file. Aug 1, 2025
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.

2 participants