-
Notifications
You must be signed in to change notification settings - Fork 56
-
Notifications
You must be signed in to change notification settings - Fork 56
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
t2 provision #64
Comments
There is some contention about this in the spec. Summarizing the conversation:
|
@tcr @kevinmehall @jiahuang @ekolker @HarleyKwyn @nplus11 do any of you have opinions on this? |
Explicitly called. What does deploying code have to do with manipulating network authentication credentials? You don't necessarily want to set up credentials just because you push once over USB, and you don't necessarily push over USB before wanting to push over WiFi. |
+1 @kevinmehall any naming preferences? |
What is wrong with making it both callable and automatic?
Naming...
|
Provision seems fine, if that's standard. I'll update above. Re automation, I'm worried that if it's implicit, people don't know that it's something that needs to happen. Say your friend has been using their Tessel 2, programming it over SSH. You get excited about it and decide to try it. You install tessel and try running the same Much simpler if it's standard to plug it in to USB when you first get it, explicitly call a command to authorize you, and know exactly why you are or aren't allowed to access the device. |
Why can't |
We initially hid unauthorized devices because CLI will only work with authorized tessels (aka why show them something they cannot talk to?). However |
Seems reasonable. I'll update the I also like the idea of a more informative (use |
On what commands should a USB-connected T2 automatically call |
Definitely—this makes it clear to the user that they've made a mistake, but also includes the solution.
Anything that would otherwise fail if |
command
t2 provision
T2 CLI spec: A silent command (not exposed in CLI): [ONLY WORKS OVER USB] creates a .tessel folder with ssh keys in your home directory and uses those ssh keys to authorize you to push code to the USB-connected TesselCurrent status:
t2 setup
is a callable commandRemaining issues:
The text was updated successfully, but these errors were encountered: