Eugene Mirotin
08b3db717e
use individual methods promisification instead of promisifyAll
2017-03-27 12:14:55 +03:00
Eugene Mirotin
6cf32e445a
isolate the sudo-runnable command
2017-03-27 11:43:35 +03:00
Eugene Mirotin
cba105a41b
suppress warning during the device init OS download
2017-03-23 15:27:54 +03:00
Tim Perry
69dff0c603
Merge pull request #450 from resin-io/420-add-sentry
...
Add sentry error tracking
2017-03-23 13:11:15 +01:00
Tim Perry
f05b04a6a1
Move sentry DSN to config
2017-03-23 13:10:15 +01:00
Tim Perry
88d8112402
Add sentry error tracking
2017-03-23 12:59:42 +01:00
Kostas Lekkas
f940d7428c
Point to forums instead of gitter
...
change-type: patch
2017-03-23 12:19:59 +02:00
Eugene Mirotin
b629c3601e
implement the version menu
2017-03-22 15:45:05 +03:00
Eugene Mirotin
3619b2f117
allow specifying the version
2017-03-22 13:28:46 +03:00
Eugene Mirotin
4231f50c4c
download the non-preview version by default
2017-03-22 12:55:55 +03:00
Eugene Mirotin
95fff4b7c4
build bare modules
2017-03-22 12:46:06 +03:00
Eugene Mirotin
b3aa3d35f7
fix resin local push help message and lint errors
2017-03-21 12:06:05 +03:00
Kostas Lekkas
73dd625ede
Require superuser for scan commands, also introduce docker timeout
2017-03-10 17:59:54 +00:00
Kostas Lekkas
08db3ace03
Bump resin-sync@7.0.0: use experimental rds which requires superuser permissions
2017-03-10 17:59:54 +00:00
Kostas Lekkas
7ad468dc54
Implement 'resin local stop'
2017-03-09 23:49:56 +00:00
Kostas Lekkas
7aee4d6d7f
Filter our devices that do not expose docker socket
2017-03-09 20:54:11 +00:00
Kostas Lekkas
53bf314820
Remove app create from primary commands
2017-03-08 23:41:35 +00:00
Kostas Lekkas
1ae1a15259
Implement 'resin local'
2017-03-08 23:41:35 +00:00
Kostas Lekkas
20ed8c9169
Implement 'resin local push'
2017-03-08 23:41:32 +00:00
Kostas Lekkas
977e3fb0ff
Implement 'resin local ssh'
2017-03-08 23:41:29 +00:00
Kostas Lekkas
c5df32f952
Implement 'resin local scan'
2017-03-08 22:43:23 +00:00
Kostas Lekkas
f5cd3375f2
Implement 'resin local promote'
2017-03-08 22:43:23 +00:00
Kostas Lekkas
3b4c8f2a01
Implement 'resin local logs'
2017-03-08 22:43:23 +00:00
Kostas Lekkas
356042557e
Implement 'resin local flash'
2017-03-08 22:43:21 +00:00
Kostas Lekkas
00753a5776
Implement 'resin local configure'
2017-03-08 18:43:34 +00:00
Kostas Lekkas
fb06249b08
resin ssh: handle undefined uuid parameter
...
change-type: patch
2017-03-03 17:25:51 +02:00
Kostas Lekkas
2fde6241c2
Support resin sync for remote resin.io AUFS devices
...
change-type: minor
2017-02-01 15:52:17 +02:00
Tim Perry
b629ee6164
Move to preconfigured resin sdk
2017-01-25 19:33:43 +01:00
Tim Perry
7a4de5357e
Fix some issues with Resin-SDK usage after initial testing
2017-01-25 19:25:12 +01:00
Eugene Mirotin
7a0e8beb07
update for the new resin.models.device.generateUniqueKey
2017-01-25 19:25:12 +01:00
Eugene Mirotin
f17cbb1205
use the new SDK factory
2017-01-25 19:25:12 +01:00
Kostas Lekkas
d473509675
Docs: fix requirements for resin ssh and resin sync
...
change-type: patch
2017-01-18 18:04:37 +02:00
Juan Cruz Viotti
6954da4a24
Merge pull request #407 from resin-io/add-shutdown-command
...
Actually add the shutdown command
2016-11-01 12:42:21 -04:00
Pablo Carranza Velez
c18e8f1dbd
Actually add the shutdown command
2016-11-01 12:42:29 -03:00
Juan Cruz Viotti
01cad3c048
Fix Boolean options can't have parameters
error
...
This error was introduced as part of
`9cf42462c029e038e09efc961736946be8bfcb9b`, since the `forceUpdateLock`
option being used in the `reboot` command contains a `parameter`
property despite being declared a boolean.
Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
2016-10-28 12:11:57 -04:00
Pablo Carranza Velez
9cf42462c0
Add a device shutdown command, and allow forcing reboot and shutdown
2016-10-27 18:39:31 -03:00
Juan Cruz Viotti
c6e669fa6b
Bring back devices supported
command
...
Fixes: https://github.com/resin-io/resin-cli/issues/394
Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
2016-09-25 19:49:06 -04:00
Kostas Lekkas
16a1741374
resin sync: always display device selection dialog when uuid is not passed as an argument
...
Closes #375
2016-09-15 13:09:25 +03:00
Kostas Lekkas
e0a2217b94
resin sync/ssh: always display selection dialog, even for a single online device
...
Closes #373
2016-09-15 13:09:25 +03:00
Kostas Lekkas
7bd8a683b2
resin sync: remove quotes from --source/--destination help as it implies they're required
...
Closes #372
2016-09-15 13:09:25 +03:00
Kostas Lekkas
6b00bbc73a
resin sync: add --after option
2016-09-15 13:09:25 +03:00
Kostas Lekkas
42d0b52df7
resin ssh: disable ControlMaster ssh option
...
This change was necessary because our ssh gateway does not
support ControlMaster mode.
Closes #366
2016-09-15 13:09:25 +03:00
Kostas Lekkas
97c768edcd
resin sync: add --skip-gitignore option. Improve help section wording
2016-09-15 13:09:25 +03:00
Kostas Lekkas
10a0924cd7
resin sync: load uuid from .resin-sync.yml if possible
2016-09-15 13:09:25 +03:00
Kostas Lekkas
fdb8bf6967
resin sync: add --destination option and require --source if .resin-sync.yml is missing
...
Closes #359
2016-09-15 13:09:25 +03:00
Kostas Lekkas
af8d20ea3f
resin sync/ssh: only accept uuid as destination
...
Also change --port option alias to '-p' from '-t'
2016-09-15 13:09:25 +03:00
Juan Cruz Viotti
8b485b5ad5
Attempt to get device type from the image first partition
...
New images will ship a `device-type.json` file in the first partition,
which we can use instead of querying the API for certain configuration
and initialisation commands.
If the file is not found, or is malformed, we still fallback to the API.
Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
2016-09-14 11:06:17 -07:00
Praneeth Bodduluri
cb386d15aa
Add OS version to devices,device commands and Supervisor Version to devices command
2016-08-10 18:42:34 +05:30
Praneeth Bodduluri
7b0415a270
Switch to more human-like command name and follow convention from dashboard
2016-08-09 22:44:40 +05:30
Praneeth Bodduluri
3adb8f19bd
Implement device enableDeviceUrl/disableDeviceUrl/hasDeviceUrl/getDeviceUrl
2016-08-09 18:45:24 +05:30