buildtest icon indicating copy to clipboard operation
buildtest copied to clipboard

[FEATURE]: specify alternate location where to write configuration file

Open shahzebsiddiqui opened this issue 2 years ago • 0 comments

Please describe your feature

Based on #1489 feature where we add support for saving profiles which update the configuration file. We should have an option to specify an alternate location where to store configuration file. For instance we have buildtest config compilers find --file <file> to specify location where to write the configuration file.

Let's create an option called --write-config-file in buildtest --write-config-file build -b <b> so if one wants to save the configuration in alternate location as part of the profile step they can do buildtest --write-config-file /tmp/buildtest.yml bd -t python --save-profile=python-tests

TODO

  • [ ] Add option --write-config-file /tmp/buildtest.yml in buildtest build command
  • [ ] Add implementation support when saving profiles with --save-profile
  • [ ] Add option to bash completion script
  • [ ] Add regression test

Suggest potential solution

No response

Additional Information

No response

Post question in Slack

  • [X] I agree that I posted my question in slack before creating this issue

Is there an existing issue

  • [X] I confirm there is no existing issue for this issue

shahzebsiddiqui avatar Jun 12 '23 22:06 shahzebsiddiqui