⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@tangkong
Copy link
Contributor

Description

An attempt at guiding a user through adding an ssh key to their account. A very untested script at the moment, I'm a bit reluctant to wipe my own key / agent settings to test it fully.

Needs a lot of work, but I figured I'd toss it up here for visibility's sake

Needs

  • Testing, in general
  • a bash wrapper that sources pcds-conda for pexpect, gh, click etc

Motivation and Context

Inspired by Zach's ioc-deploy efforts.

Uses a combination of subprocess.run for commands that don't interact, and pexpect.spawn for interactive commands. (Many commands don't print to stdout, but rather directly to the tty, I think)

Initially attempted to use click to make the process more interactive, but click's involvement decreased as development continued.

How Has This Been Tested?

Not really

Where Has This Been Documented?

This PR.

@tangkong tangkong marked this pull request as draft July 25, 2024 16:08
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

Successfully merging this pull request may close these issues.

1 participant