Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update multiple servers at once #58

Open
smcclennon opened this issue Jul 19, 2022 · 0 comments
Open

Update multiple servers at once #58

smcclennon opened this issue Jul 19, 2022 · 0 comments
Labels
Enhancement New feature or request

Comments

@smcclennon
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Servicing multiple servers with pluGET requires swapping out or editing of configuration files and then re-running pluGET.

Describe the solution you'd like

  1. Use the server address as the YAML key and indent all of its connection options under that key in the config file
  2. If more than one server is defined in the config file, upon entering a pluGET command such as update all, all server hosts should be printed and the user should be asked which servers to apply the command to. User input examples: 1 for server 1. 1, 3 for servers 1 and 3. 1-3 for servers 1, 2 and 3. 1,4-6 for servers 1, 4, 5 and 6.

Configuration example:

Remote:
  host.com:
    Port: 21
    Connection: ftp
    Username: foo
    Password: fh29d
    SeparateDownloadPath: true
    PathToSeperateDownloadPath: /plugins_pluGET
  play.differentserver.net:
    Port: 22
    Connection: sftp
    Username: bar
    Password: 29fna
    SeparateDownloadPath: false
    PathToSeperateDownloadPath:

I have not included Local in this configuration example as I haven't used and don't understand how it works.

Describe alternatives you've considered
Multiple config files, one for each server. pluGET detects them all on startup and asks which ones to use. User input is the same as the previous solution, except numbers correlate to configuration files instead of servers.

@smcclennon smcclennon added the Enhancement New feature or request label Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant