Commit Graph

538 Commits

Author SHA1 Message Date
resin-io-versionbot[bot]
710a938b3f v6.6.1 2017-08-28 09:34:59 +00:00
Alexis Svinartchouk
be7c1d278e Update resin-preload to 3.1.4
Connects-To: #649

Change-Type: patch
2017-08-28 10:49:08 +02:00
resin-io-versionbot[bot]
a5128cd49e v6.6.0 2017-08-28 08:42:44 +00:00
resin-io-versionbot[bot]
0158d1da48 v6.5.3 2017-08-24 12:25:11 +00:00
Tim Perry
4cdf3acf42 v6.5.2 2017-08-22 19:22:05 +02:00
Alexis Svinartchouk
b07a394592 Add progress bars and spinners for resin preload.
Connects-To: #628

Change-Type: minor
2017-08-22 18:42:20 +02:00
Alexis Svinartchouk
c6c2f0bedc Don't try preloading the same build twice in an image.
Connects to #626

Change-Type: patch
2017-08-21 19:24:30 +02:00
Tim Perry
74d6cfb8d2 v6.5.1 2017-08-21 11:33:12 +02:00
Tim Perry
9beb6de7d8 Move to prepublishOnly to speed up npm install a little 2017-08-18 15:56:35 +02:00
Tim Perry
74743745c4 v6.5.0 2017-08-18 15:45:45 +02:00
Tim Perry
224dfce4a8 Merge pull request #624 from resin-io/remove-babel
Remove unused babel dependency
2017-08-17 11:40:15 +02:00
Tim Perry
f8f1f52662 Remove unused babel dependency 2017-08-16 19:41:56 +02:00
Tim Perry
e204707ee0 Upgrade to lodash v4 2017-08-16 18:58:46 +02:00
Tim Perry
340b2d5572 Update npm package description 2017-08-16 11:47:43 +02:00
Cameron Diver
dc1b3c3239
Allow the looking up of applications with the owner
change-type: minor
Connects-to: #594
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-08-14 17:00:33 +01:00
Alexis Svinartchouk
4665a72baf Use forked global-scoket-ng that doesn't proxy connection to socket files.
Connects to #618

Change-Type: patch
2017-08-11 17:02:17 +02:00
Alexis Svinartchouk
22b3c39b2b Integrate resin-preload
* split docker connection options from lib.utils.docker.appendOptions

Connects to #609
Connects to https://github.com/resin-io/resin-preload/pull/81

Change-Type: minor
2017-08-11 15:43:07 +02:00
Tim Perry
30cca93283 v6.4.0 2017-08-11 13:31:53 +02:00
Eugene Mirotin
1b86741fa2 v6.3.1 2017-08-08 11:37:22 +03:00
Eugene Mirotin
6cca43a09e v6.3.0 2017-08-03 18:05:27 +03:00
Eugene Mirotin
4329857a16 update resin-sync 2017-08-03 18:01:45 +03:00
Eugene Mirotin
d803cfab3a v6.2.0 2017-07-27 14:07:05 +03:00
Eugene Mirotin
22e0b4b9dc Support the new OS with resin-sample.ignore connection file 2017-07-27 14:01:49 +03:00
Tim Perry
759baf3eda v6.1.1 2017-07-18 18:09:32 +02:00
Tim Perry
64b6549fde v6.1.0 2017-06-30 20:49:08 +02:00
Tim Perry
4aadfe9326 Upgrade resin-sync to fix node 8 bug
Connects-To: #543
Change-Type: patch
2017-06-30 19:49:35 +02:00
Kostas Lekkas
d93b82a269
Bump resin-sync@8.0.0
- resin sync: do not explicitly disable ControlMaster SSH option
- resin sync: whitelist collaborators

fixes #422
change-type: minor
2017-06-29 11:56:01 +03:00
Tim Perry
8d3987fc70 Fix issue where emulated builds broke Docker ARG commands 2017-06-27 15:06:06 +02:00
Tim Perry
4fa8d86f02 v6.0.0 2017-06-26 13:38:22 +02:00
Tim Perry
410390a9ae Remove Buffer polyfill, require Node v6+, and print warnings in older versions 2017-06-22 18:59:50 +02:00
Tim Perry
11079caf26 v5.11.1 2017-06-22 18:19:53 +02:00
Tim Perry
2875bd672e Add a polyfill to fix local configure in older (<6) Node versions 2017-06-22 13:38:38 +02:00
Eugene Mirotin
378f894da3 v5.11.0 2017-06-19 01:16:04 +03:00
Eugene Mirotin
c891d690ec update lockfile 2017-06-19 01:14:08 +03:00
Eugene Mirotin
e8b44d7250 Forced update to the newest resin-sdk 2017-06-15 16:40:46 +03:00
Eugene Mirotin
9fb5b52069 update dependencies 2017-06-15 16:39:55 +03:00
Tim Perry
df3c5ca07f Gzip while streaming, rather than gzipping the buffer up front
Connects-To: #549
2017-06-15 12:01:22 +02:00
Cameron Diver
f2862f7fe2
Add emulated build option to resin build
This commit adds the ability to run a Docker build for an architecture
which is not the host architecture, using qemu-linux-user. Currently
this is only supported for linux.

Added:
* Installation of qemu which supports propagated execve flags
* Copying of qemu binary into the build context
* Transposing the given Dockerfile to use the qemu binary
* Intercepting of the build stream, so the output looks *almost* exactly
  the same.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-06-14 12:06:03 +01:00
Eugene Mirotin
5ea263ef2e Add package-lock.json 2017-06-08 13:52:47 +03:00
Tim Perry
31419b399e
v5.10.2 2017-05-31 13:08:04 +01:00
Tim Perry
e5ed6fab85
v5.10.1 2017-05-22 21:59:12 +02:00
Tim Perry
5b651c7821
v5.10.0 2017-05-22 15:44:28 +02:00
Eugene Mirotin
4b5240d8cd check for proxytunnel presence 2017-05-19 02:10:14 +03:00
Eugene Mirotin
b88f7a993c escape params 2017-05-19 01:25:01 +03:00
Eugene Mirotin
880fb43fd9 some fixes 2017-05-18 15:12:52 +03:00
Eugene Mirotin
fa71df7c70 use upstream dependency 2017-05-12 18:09:43 +03:00
Eugene Mirotin
bc79832e1d resin ssh proxy support 2017-05-12 18:09:43 +03:00
Cameron Diver
d249ac168a
Fix the not-enough-unicorns bug
Add successful build indicator in the form of a unicorn.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-05-04 13:18:25 +01:00
Eugene Mirotin
afafa22694 v5.9.1 2017-05-01 14:19:21 +03:00
Eugene Mirotin
2df4422748 v5.9.0 2017-05-01 14:14:37 +03:00
Eugene Mirotin
8866f47805 proxy support 2017-05-01 14:00:50 +03:00
Eugene Mirotin
1d8382e91d v5.8.1 2017-04-27 16:24:57 +03:00
Cameron Diver
04c2333a54
v5.8.0 2017-04-26 12:20:30 +01:00
Cameron Diver
f50ae65560
Add cloud-builder builder output parity to build and deploy
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-04-25 13:13:11 +01:00
Cameron Diver
d3772386bf
Add ability to build and deploy image locally using resin-cli
Using `resin build` a user can now build an image on their own docker
daemon. The daemon can be accessed via a local socket, a remote host and
a remote host over a TLS socket. Project type resolution is supported.
Nocache and tagging of images is also supported.

Using `resin deploy` a user can now deploy an image to their fleet. The
image can either be built by `resin-cli`, plain Docker, or from a remote
source.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-04-23 14:31:45 +01:00
Eugene Mirotin
225d3acf9e log unhandled exceptions 2017-04-21 13:10:30 +03:00
Eugene Mirotin
75d10286ad v5.7.2 2017-04-18 12:15:11 +03:00
Eugene Mirotin
380a94f0f8 update to modules that have native node v4 support 2017-04-14 14:48:19 +03:00
Tim Perry
0cce2a7ab7
Move to a consistent resin-token by upgrading to new v6 SDK and resin-cli-auth 2017-04-07 21:26:56 +02:00
Tim Perry
965aa7e4d4
v5.7.1 2017-04-03 16:07:32 +02:00
Tim Perry
63e1313f44
Handle non-semver OS versions 2017-04-03 15:36:04 +02:00
Eugene Mirotin
96a7a24738 v5.7.0 2017-03-28 14:43:31 +03:00
Eugene Mirotin
77b30409bb update resin-device-init to pull in etcher-image-write 2017-03-28 14:37:13 +03:00
Eugene Mirotin
857c5204b9 v5.6.1 2017-03-23 15:52:06 +03:00
Tim Perry
88d8112402
Add sentry error tracking 2017-03-23 12:59:42 +01:00
Eugene Mirotin
d90874dbef v5.6.0 2017-03-23 01:36:08 +03:00
Eugene Mirotin
b25034978b use the published depdendencies 2017-03-23 01:24:25 +03:00
Eugene Mirotin
b629c3601e implement the version menu 2017-03-22 15:45:05 +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
9f3108c5e7
5.5.0 2017-03-10 18:19:45 +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
2125cf9649
5.4.0 2017-03-09 23:56:10 +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
eea9a2f723
5.3.0 2017-03-03 18:14:48 +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
5bbb055cd9
Formally depend on the new resin-sdk release 2017-01-25 19:25:12 +01:00
Eugene Mirotin
b690060bc4
update deps and remove unused 2017-01-25 19:25:12 +01:00
Kostas Lekkas
f9a4f8c375 v5.2.4 2017-01-18 19:14:52 +02:00
Juan Cruz Viotti
49664b815d v5.2.3 2017-01-04 13:54:09 -04:00
Eugene Mirotin
099cf997cb add missing dependency - fix #411 2016-12-16 17:21:05 +03:00
Juan Cruz Viotti
e8183d4031 v5.2.2 2016-11-01 14:38:55 -04:00
Juan Cruz Viotti
e013986dba v5.2.1 2016-10-28 12:17:25 -04:00
Juan Cruz Viotti
c9919a90a8 v5.2.0 2016-10-27 17:47:43 -04:00
Pablo Carranza Velez
0f4eca2ff0 Update resin-sdk to 5.4.0 2016-10-27 12:02:37 -03:00
Pablo Carranza Velez
afe98ff37d Update coffee-script to 1.11.1 2016-10-26 11:55:39 -03:00
Juan Cruz Viotti
ce026ea387 v5.1.0 2016-09-25 19:55:55 -04:00
Kostas Lekkas
7953f6f690 5.0.0 2016-09-15 19:45:23 +03:00
Kostas Lekkas
81d8974213 resin-sync: update to resin-sync@3.0.0 2016-09-15 13:09:25 +03:00
Juan Cruz Viotti
7d606568f6 v4.5.0 2016-09-14 11:09:43 -07: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
Juan Cruz Viotti
ce50d8b73d Upgrade resin-device-init to v2.1.0
Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
2016-09-14 11:03:51 -07:00
Juan Cruz Viotti
2088cbe896 v4.4.0 2016-08-11 10:35:19 -04:00
Juan Cruz Viotti
5f8c261288 v4.3.0 2016-08-11 10:21:41 -04:00
Juan Cruz Viotti
aeba64b1ee v4.2.1 2016-07-26 13:04:21 -04:00
Juan Cruz Viotti
ea44c0571b Upgrade resin-sdk to v5.3.5
This version contains a fix for `undefined` logs. See:

- https://github.com/resin-io/resin-sdk/pull/217
- https://github.com/resin-io/resin-device-logs/pull/14

Fixes: https://github.com/resin-io/resin-cli/issues/370
Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
2016-07-26 13:01:25 -04:00
Juan Cruz Viotti
69c98f4afb v4.2.0 2016-06-22 16:19:31 -04:00
Juan Cruz Viotti
0d7d6de7cd v4.1.0 2016-06-22 09:46:18 -04:00
Juan Cruz Viotti
1c5945d3ae v4.0.3 2016-05-17 10:00:04 -04:00
Kostas Lekkas
e8fa76266f 4.0.2 2016-04-27 01:33:09 +03:00
Kostas Lekkas
17550f9bc9 Update resin sync version to 2.0.2 2016-04-27 01:29:45 +03:00
Juan Cruz Viotti
44f80f7a39 v4.0.1 2016-04-26 12:40:20 -04:00
Kostas Lekkas
6beb6ff44e 4.0.0 2016-04-26 16:17:01 +03:00
Kostas Lekkas
8e93577f90 Use resin-sync v2.0.1 and resin-sdk v5.3.0 2016-04-26 15:55:21 +03:00
Kostas Lekkas
9400d4027a Update resin-settings-client version 2016-04-25 14:47:15 +03:00
Juan Cruz Viotti
1c66efb4fa v3.0.2 2016-04-08 13:30:40 -04:00
Juan Cruz Viotti
325304aebe Fix shorter uuids not working with the os configure command
`resin-device-init`, which is used by the `os configure` command was
still running an older SDK version, that didn't support shorter uuids.

Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
2016-04-08 13:28:21 -04:00
Juan Cruz Viotti
6e3c2ef168 v3.0.1 2016-03-29 11:30:11 -04:00
Juan Cruz Viotti
4aa8362be9 v3.0.0 2016-03-28 09:29:31 -04:00
Juan Cruz Viotti
e9b8c38eeb Integrate sync plugin in the Resin CLI 2016-03-28 09:21:25 -04:00
Juan Cruz Viotti
3a839c947e Upgrade resin-device-config to v3.0.0 2016-03-21 15:01:59 -04:00
Juan Cruz Viotti
a522c70f92 Upgrade most outdated dependencies 2016-03-07 08:44:10 -04:00
Juan Cruz Viotti
f295837840 v2.7.0 2016-03-07 08:34:32 -04:00
Juan Cruz Viotti
6405c6bb6f Implement device reboot command
Fixes: https://github.com/resin-io/resin-cli/issues/319
2016-03-04 09:38:11 -04:00
Juan Cruz Viotti
84ed20d3ec Implement config generate command
This command allows the user to generate a config.json file and either
print it to stdout or save it to a file.
2016-02-26 22:37:15 -04:00
Juan Cruz Viotti
9870727e36 v2.6.2 2016-02-19 08:36:25 -04:00
Juan Cruz Viotti
3953b00e77 v2.6.1 2016-02-12 14:41:37 -04:00
Juan Cruz Viotti
356d2ef6b2 Inject analytics in Capitano 2016-02-12 14:34:16 -04:00
Juan Cruz Viotti
aedb9c732f Upgrade resin-cli-form to v1.4.0 2016-02-11 12:49:56 -04:00
Juan Cruz Viotti
da1b446b3b Upgrade Resin Image Manager to v4.0.0 2016-01-26 15:38:58 -04:00
Juan Cruz Viotti
35bba04b16 Show parsed device status in device command 2016-01-26 12:16:55 -04:00
Juan Cruz Viotti
de0649c980 v2.6.0 2016-01-21 15:59:52 -04:00
Juan Cruz Viotti
70b2ba3ab9 Upgrade Resin Image Manager to v3.2.6 2016-01-21 15:49:44 -04:00
Juan Cruz Viotti
96f0b5fbd6 Remove tests tasks and CI configuration
We don't have any tests in this repository
2016-01-21 10:16:54 -04:00
Juan Cruz Viotti
69e031da28 Upgrade Resin SDK to v5.0.1
This breaking change doesn't affect the CLI in any way, so we can
upgrade directly.
2016-01-21 10:13:15 -04:00
Juan Cruz Viotti
9cfce68489 Change license to Apache 2.0 2016-01-03 23:58:51 -04:00
Juan Cruz Viotti
b0ab23dad4 v2.5.0 2015-12-11 21:30:02 -04:00
Juan Cruz Viotti
26e3cb7957 Add timestamp to logs lines 2015-12-11 20:28:29 -04:00
Juan Cruz Viotti
0f8d6a98e3 v2.4.0 2015-12-01 14:43:53 -04:00
Juan Cruz Viotti
9a89e3c3ca Perform automatic token exchange with the dashboard 2015-11-25 09:25:08 -04:00
Juan Cruz Viotti
647ed1e7aa Remove unused dependencies 2015-11-24 00:06:44 -04:00
Juan Cruz Viotti
65646d1206 v2.3.0 2015-11-20 13:01:58 -04:00
Juan Cruz Viotti
f52dd2976f Implement settings command
This command allows the user to list all detected settings.
2015-11-15 22:08:02 -04:00
Juan Cruz Viotti
c3b5a768e1 Handle Windows permissions elevation automatically 2015-11-12 13:30:48 -04:00
Juan Cruz Viotti
111ea44b40 Resin CLI v2.2.0 2015-11-12 08:33:51 -04:00
Juan Cruz Viotti
ba318f2939 Implement device move command
This command allows to user to move a device to another application he
owns.
2015-11-12 07:47:16 -04:00
Juan Cruz Viotti
4fc7a4e436 Make use of resin-config-json for config commands
This module encapsulates the low level details of `config.json` I/O and
tests them extensively.

See: https://github.com/resin-io/resin-config-json
2015-11-11 10:04:46 -04:00
Juan Cruz Viotti
89c5bb3080 Resin CLI v2.1.0 2015-11-11 08:31:32 -04:00
Juan Cruz Viotti
3b35aed3bf Implement config write command
This command allows the user to overwrite properties of the config.json
file.
2015-11-10 14:28:18 -04:00
Juan Cruz Viotti
5509a3e9fd Implement config read command
This command is used to read a config.json from a provisioned device
2015-11-10 12:53:34 -04:00
Juan Cruz Viotti
c866f6e46c Use president to provide sudo functionality 2015-10-26 09:47:49 -04:00
Juan Cruz Viotti
9260c8dce2 Resin CLI v2.0.1 2015-10-26 08:46:16 -04:00
Juan Cruz Viotti
1cbd33679f Resin CLI v2.0.0 2015-10-26 08:08:20 -04:00
Juan Cruz Viotti
f66cd00646 Remove project directory creation in quickstart
The last part of `quickstart` feels weird. By consensus, we remove the
part that attempts to create a project directory and leave that step to
the user.
2015-10-21 11:18:29 -04:00
Juan Cruz Viotti
5498e45a35 Merge pull request #246 from resin-io/jviotti/refactor/rindle
Use rindle instead of custom waitStream
2015-10-21 11:15:12 -04:00
Juan Cruz Viotti
7a4f551a47 Use rindle instead of custom waitStream 2015-10-21 10:17:10 -04:00
Juan Cruz Viotti
6a7d1b0c70 Remove unused npm dependency 2015-10-21 10:02:08 -04:00
Juan Cruz Viotti
8913fb515b Implement user/password login with 2FA support 2015-10-21 08:28:20 -04:00
Juan Cruz Viotti
ceb8dada1d Remove unused resin-device-config 2015-10-19 15:26:09 -04:00
Juan Cruz Viotti
71ee0a6cf7 Support drive option in os initialize
This allows the user to bypass the drive selection dialog.

This option can be used along with `--yes` to make the command
completely non-interactive. For example:

	$ resin os initialize rpi.img 'raspberry-pi' --drive /dev/disk2 --yes
2015-10-15 08:14:35 -04:00
Juan Cruz Viotti
fa7b104762 Resin CLI v1.1.0 2015-10-13 12:37:50 -04:00
Juan Cruz Viotti
e5e871ddcd Upgrade SDK to v3.0.0
Breaking changes in this version:

- `resin.models.device.generateUUID()` is now async.
2015-10-12 08:34:22 -04:00
Juan Cruz Viotti
90be01b05d Make os initialize take a device type instead of a uuid 2015-09-30 14:31:23 -04:00
Juan Cruz Viotti
8234f7675a Uncompress zip packages in os download
When downloading an operating system image, if the image is a zip
package, uncompress it automatically.
2015-09-30 10:16:24 -04:00
Juan Cruz Viotti
f6d8f12ba2 Implement os download command
This command download an unconfigured image to both the cache and to the
specified location by the `--output` option.
2015-09-29 13:03:14 -04:00
Juan Cruz Viotti
21e916679c Update author email to @resin.io 2015-09-21 09:15:27 -04:00
Juan Cruz Viotti
eb4c2f62a7 Resin CLI v1.0.0 2015-09-11 21:21:44 +03:00
Juan Cruz Viotti
904b9f07fb Highlight errors in red
- Move error translation logic to resin-io/resin-cli-errors.
- Force `process.exit()`.
2015-09-11 14:47:38 +03:00
Juan Cruz Viotti
64c8420c9d Implement device specs. Fix #99
Support for all devices. Tested in the following ones:

- Intel Edison.
- Raspberry Pi 2.
- Parallella.
2015-09-11 13:02:59 +03:00
Juan Cruz Viotti
79afa79fd9 Use settings from the SDK during login
This enforces all clients to use the Resin Settings Client version that
the SDK provides, reducing incompatibilities caused by different modules
requiring different Resin Settings Client versions.
2015-09-08 09:06:03 +03:00
Juan Cruz Viotti
ec5f6a7cd8 Upgrade Resin SDK to v2.7.2 2015-09-07 11:25:01 +03:00
mike
b0650530cc Resin CLI Events integration. Fix #103 2015-09-05 19:15:31 +03:00
Juan Cruz Viotti
5de0f66d7a Don't check for available updates when running as root
`update-notifier` persist its update check results in a file, which is
then read when running again the application.

If this file gets written when the application is being run as root, we
get ugly EPERM issues.
2015-08-20 16:54:22 -04:00
Juan Cruz Viotti
a3cbc549d8 Upgrade Resin CLI Form to v1.2.1
This version contains a fix for a bug that prevented `when` properties
from working as expected.
2015-08-20 15:55:57 -04:00
Juan Cruz Viotti
dc513a08f6 Update Resin CLI Form to v1.2.0
This version includes support for the `drive` input type.
2015-08-20 11:55:53 -04:00
Juan Cruz Viotti
7f4863da86 Upgrade Nplugm to v3.0.0
This new version supports promises and contains speed improvements.
2015-08-19 11:27:28 -04:00
Juan Cruz Viotti
f19588032f Notify the user if there is an available update
For this we use the `update-notifier` module with its default settings.

This module will print a nice banner prompting the user to run the
corresponding npm command to update.
2015-08-18 08:53:06 -04:00
Juan Cruz Viotti
f63391acf9 Make use of projectsDirectory SDK setting in Quickstart
We were currently building this path ourselves, hardcoding the place of
the resin local per user directory instead of relying on the foundations
that `resin-settings-client` give us.
2015-08-17 09:06:27 -04:00
Juan Cruz Viotti
9adda22921 Upgrade Resin SDK to v2.4.1
This new version contains fixes for the following issues:

- https://github.com/resin-io/resin-cli/issues/87
- https://github.com/resin-io/resin-cli/issues/120
2015-08-17 08:42:17 -04:00
Juan Cruz Viotti
7a8a3c851b Merge pull request #138 from resin-io/refactor/help
Refactor help module
2015-08-17 08:02:15 -04:00
Juan Cruz Viotti
0807b6a2d9 Upgrade Resin SDK to v2.4.0
This release fixes:

- Check if device exists before removing it "resin device rm <uuid>"
	- https://github.com/resin-io/resin-cli/issues/123

- Check if app exists before removing it "resin app rm <appName>"
	- https://github.com/resin-io/resin-cli/issues/114

- Command does not display correct output "resin key <id>"
	- https://github.com/resin-io/resin-cli/issues/112

Since it includes the following PRs:

- https://github.com/resin-io/resin-sdk/pull/103
- https://github.com/resin-io/resin-sdk/pull/107
2015-08-14 12:17:59 -04:00
Juan Cruz Viotti
e9ec6c67b2 Validate that email address is valid during signup. Fix #111
For this we use a third party dependency from npm called `valid-email`
to avoid hardcoding and having to mantain a regular expression.
2015-08-13 15:22:22 -04:00
Juan Cruz Viotti
1bc78edf71 Refactor help module
Main changes:

- Use the `columnify` module to display the commands instead of using
manual parsing.

- Extract logic to create a string representation from an option
signature to Capitano, and reuse here.

See https://github.com/resin-io/capitano/pull/28

Some bugs were caught and fixes during the refactoring:

- In command help, if the command didn't exist, we reused default
Capitanos command not found function which uses `process.exit(1)`. This
was changed to pass a custom error to `done()`, so the command fails
correctly when using programatically.

- General help didn't call `done()` at all, thus causing problems if
using the command programatically someday.
2015-08-13 14:19:07 -04:00
Juan Cruz Viotti
09fe4b11ad Merge pull request #139 from resin-io/jviotti/feature/drive-widget
Use Visuals drive widget in device init
2015-08-13 12:35:41 -04:00
Juan Cruz Viotti
4157f21e06 Merge pull request #140 from resin-io/jviotti/cleanup/elevate
Remove outdated Windows elevation mechanism
2015-08-13 12:23:26 -04:00
Juan Cruz Viotti
e60c0605e5 Use Visuals drive widget in device init
- Replace custom `drivelist` logic in "device init" with the new `drive`
widget.
2015-08-13 11:56:16 -04:00
Juan Cruz Viotti
085781fa18 Upgrade Resin CLI Visuals to v1.1.0
This version contains the `drive` widget.
2015-08-13 11:55:31 -04:00
Juan Cruz Viotti
3d36e5f5d3 Remove outdated Windows elevation mechanism
This functionality is outdated and not using anymore due to limitations
in the way it was addressed.

The module and dependencies are removed for now, and will be added back
in the future, once a better approach is planned.
2015-08-13 11:45:50 -04:00
Juan Cruz Viotti
57319f26a6 Slim down unused functionality 2015-08-12 08:17:46 -04:00
Juan Cruz Viotti
dc030f4cd1 Implement Quickstart command 2015-08-04 20:16:55 +03:00
Juan Cruz Viotti
d24b871964 Merge pull request #131 from resin-io/remove/selfupdate
Remove selfupdate functionality
2015-08-04 09:53:48 -04:00
Juan Cruz Viotti
d423a6ea24 Remove selfupdate functionality
We added this because we thought that knowledge of the supported device types, along with the configuration procedures was going to be encoded in the CLI.

With device specs, this is not longer the case.
2015-08-03 12:20:42 -04:00
Juan Cruz Viotti
4211333e4e Remove man pages 2015-08-03 12:08:49 -04:00
mike
5b5d1be52f Integrate resin-cli-form 2015-07-27 19:50:47 +03:00
mike
64d83dccfb Add promise support for Resin-SDK dependency 2015-07-24 00:24:17 +03:00
Juan Cruz Viotti
58c7ff1f1b Upgrade dependencies 2015-07-15 09:01:50 -04:00
mike
6fb25dea88 Upgrade resin-cli-visuals dependencies 2015-07-14 18:18:19 +03:00
mike
46fa4ee2a2 Upgrade Resin VCS dependencies 2015-07-11 00:03:20 +03:00
Juan Cruz Viotti
076c3428ee Upgrade Resin CLI Visuals to v0.3.2 2015-07-09 13:43:20 -04:00
Juan Cruz Viotti
24edb867fa Upgrade Resin CLI Visuals to v0.3.1 2015-07-09 09:46:08 -04:00
Juan Cruz Viotti
5619bdbb67 Resin CLI v0.11.1 2015-06-15 10:09:10 -04:00
Juan Cruz Viotti
8fa906dd48 Upgrade Resin CLI Visuals and use it's new capabilities 2015-06-11 12:46:56 -04:00
Juan Cruz Viotti
73736abdea Merge pull request #68 from resin-io/feature/config
Implement config command
2015-06-11 07:57:31 -04:00
Juan Cruz Viotti
9ab411bade Resin CLI v0.11.0 2015-06-10 12:52:28 -04:00
Juan Cruz Viotti
ef33156de7 Implement config command 2015-06-10 12:34:42 -04:00
Juan Cruz Viotti
2bfeb7f42c Associate a device before first boot 2015-06-04 10:10:15 -04:00
Juan Cruz Viotti
fdd0e4a966 Implement config injection 2015-06-04 08:06:37 -04:00