You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a part of the configuration of RMT, users can create and edit /etc/rmt.conf file to overwrite specific configurations for their needs (overwriting, then, a file such as this). On this note, there are some configuration values that are usually tweaked like database values (see the database section on the config/rmt.yml file) or SCC credentials (see the scc section on the config/rmt.yml file).
Having to explicitly edit this file manually is not exactly too friendly to new users or customers in general. Thus, we could add a new command, bin/rmt-cli setup, which would save the changes to this file after going through an interactive process. The intended workflow would be:
User runs bin/rmt-cli setup.
It suggests to copy ./config/rmt.yml to etc/rmt.conf file if etc/rmt.conf is not present.
It interactively prompts for specific values like database and SCC credentials. The prompt should be clever enough to suggest default values or previously saved values. Otherwise, for things like SCC credentials suggest where to look for them.
After all of this is done, the command should show the pairs of key-values and ask for confirmation.
When confirmation is done, write the file and restart the RMT process (or ask the user to do it).
Note
Repository Mirroring Tool (RMT) is an open-source project and we can make it even better with your help and feedback. Keep in mind that your feedback and all communication around it will be publicly accessible by anyone. Make sure that you don't expose any personal or private information.
Description
As a part of the configuration of RMT, users can create and edit
/etc/rmt.conf
file to overwrite specific configurations for their needs (overwriting, then, a file such as this). On this note, there are some configuration values that are usually tweaked like database values (see thedatabase
section on theconfig/rmt.yml
file) or SCC credentials (see thescc
section on theconfig/rmt.yml
file).Having to explicitly edit this file manually is not exactly too friendly to new users or customers in general. Thus, we could add a new command,
bin/rmt-cli setup
, which would save the changes to this file after going through an interactive process. The intended workflow would be:bin/rmt-cli setup
../config/rmt.yml
toetc/rmt.conf
file ifetc/rmt.conf
is not present.Note
Repository Mirroring Tool (RMT) is an open-source project and we can make it even better with your help and feedback. Keep in mind that your feedback and all communication around it will be publicly accessible by anyone. Make sure that you don't expose any personal or private information.
Please, check our contribution guide in order to submit your changes.
The text was updated successfully, but these errors were encountered: