hctom / drubo

Robo-based task runner for Drupal
MIT License
2 stars 0 forks source link

Make config file name and location configurable #2

Open ademarco opened 7 years ago

ademarco commented 7 years ago

At the moment users are forced to follow Drubo's conventions about how to name configuration file and where such configuration should be stored.

It could hep adoption to allow them to be configurable. If is interesting for you I could give it a try.

hctom commented 7 years ago

Sorry for the late reply :(

Which configuration files are you talking about? The global .drubo.yml project config file or the environment-specific files currently located in .drubo/config/[*/]. I guess the base path to the latter ones may of course be configurable. For the filename itself I am not really sure. If you only want the filename to be configurable (e.g. settings.yml instead of config.yml) this should also be fine, but in my opinion the full file path should not be configurable in order to "force" users to have all their environment-specific Drubo config located in a single place with a machine-readable structure.

What do you think?