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

Improve alias / UID behavior #46

Closed
26 tasks done
chrisputnam9 opened this issue Jun 28, 2022 · 0 comments
Closed
26 tasks done

Improve alias / UID behavior #46

chrisputnam9 opened this issue Jun 28, 2022 · 0 comments

Comments

@chrisputnam9
Copy link
Owner

chrisputnam9 commented Jun 28, 2022

Todo:

  • Turn off syncing
  • During clean, make sure each host has a 'additional_aliases' key
  • New Fxn - create map of host alias to host key and warn if any duplicates
  • During writeSSH, use new alias map instead of getHosts
  • During add, check for duplicate alias
    • Testing with ca pssh add "/home/chris/.pssh/ssh_config_work.json" 1.1.1.1 google cmp
    • If duplicate alias, note the other host
    • If duplicate alias, guide through alternate or automate
  • Fix up 'list' - show additional aliases
  • Fix up 'edit' - support looking for alternate alias
  • After 'edit' - make sure save works as expected (not creating new)
  • During clean, make sure key is same as main alias - warn if changing
  • During edit, make sure key is same as main alias - warn if changing
    • Get keys first
    • Prompt which file if multiple
    • After edit, check for key change & collision
    • Update warning prompt to list - try again or cancel
  • During edit, check for duplicate alias
  • Fix edit from list -> search
  • After 'edit' & 'delete' - make sure list displays properly (Not Array,Array)
  • Figure out why 'test' added to cmp gives warning, but not error, and not afterward
  • Merge alias_additional from multiple files
  • During clean, check for duplicate alias
  • Have export create a separate host entry for every available alias
    • Debug - eg. at not working
  • Make sure search includes keys & all aliases
  • Turn syncing back on when confident all is working well ([email protected]:/wpfx/webpagefx-ssh-config.git) #57

Related Issues:

@chrisputnam9 chrisputnam9 added this to the Current Sprint milestone Jun 28, 2022
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

No branches or pull requests

1 participant