Closed emirotin closed 4 years ago
Basic support for this is already done, see resin devices supported
. Closing.
@pimterry just a heads up that the support conversation where this ticket originated from (https://app.frontapp.com/open/cnv_4c4n9h) suggested that we would look into presenting the users with any existing device type aliases as well (e.g. raspberrypi
alias for raspberry-pi
).
I'm not sure where we stand about aliases now, do we ignore them completely? If not, are they documented somewhere?
Ah, interesting, I didn't notice that before. I've renamed the issue.
We do have this info in the device types (http://img.resin.io/api/v1/device-types), so we could expose it fairly easily. Right now device supported
output looks like:
➜ resin devices supported
SLUG NAME
am571x-evm AM571X EVM (BETA)
artik10 Samsung Artik 10
artik5 Samsung Artik 5
artik710 Samsung Artik 710 (BETA)
beaglebone-black BeagleBone Black
beaglebone-green-wifi BeagleBone Green Wireless (BETA)
beaglebone-green BeagleBone Green (BETA)
colibri-imx6dl Colibri iMX6dl (BETA)
cybertan-ze250 Cybertan ZE250 (ALPHA)
...
We could add an 'aliases' column, and simply put any aliases in there, comma separated. Or we could do that, but behind a flag (--aliases
), to keep things simpler? I'm not really sure of the context around aliases and why they exist. @shaunmulligan what do you think?
With aliases.
And also mention that device types can have alternative names.
Front conversations