Paulo Castro
74cdd80b51
balena deploy: Fix "TypeError: images.push is not iterable"
...
Change-type: patch
2020-04-29 15:13:51 +01:00
Pagan Gazzard
6ec05e8dcf
Fix unhandled promise rejection when using balena deploy
...
Change-type: patch
2020-04-28 13:22:15 +01:00
Pagan Gazzard
0cfa1a0dfb
Convert lib/actions/device.coffee to javascript
...
Change-type: patch
2020-04-25 14:08:30 +00:00
Pagan Gazzard
e1a91035ae
Convert lib/actions/preload.coffee to javascript
...
Change-type: patch
2020-04-24 22:44:10 +00:00
Pagan Gazzard
1a851f552e
Convert lib/actions/config.coffee to javascript
...
Change-type: patch
2020-04-24 21:06:23 +00:00
Pagan Gazzard
560b0abbe7
Convert lib/utils/compose.coffee to javascript
...
Change-type: patch
2020-04-24 16:17:23 +01:00
Pagan Gazzard
23f2242e22
Convert lib/utils/docker-coffee.coffee to javascript
...
Change-type: patch
2020-04-24 15:25:20 +01:00
Pagan Gazzard
a5ce0436c7
Convert lib/actions/os.coffee to javascript
...
Change-type: patch
2020-04-24 13:38:34 +01:00
Pagan Gazzard
9f59b6dde5
Convert lib/utils/qemu.coffee to javascript
...
Change-type: patch
2020-04-24 10:20:15 +01:00
Thodoris Greasidis
3e4f9f9572
device os-update: Refactor to use the overall_progress field
...
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2020-04-23 16:10:09 +00:00
Pagan Gazzard
c3454d3abb
Remove unnecessary files
...
Change-type: patch
2020-04-23 11:21:38 +00:00
Pagan Gazzard
da5e26f37e
Convert lib/actions/local/index.coffee to typescript
...
Change-type: patch
2020-04-23 11:30:04 +01:00
Pagan Gazzard
9447195c26
Convert lib/actions/local/configure.coffee to javascript
...
Change-type: patch
2020-04-23 11:12:02 +01:00
Pagan Gazzard
9fda165d34
Convert lib/utils/tty to typescript
...
Change-type: patch
2020-04-23 09:42:23 +01:00
Scott Lowe
a2b761ec4b
Convert command scan
to TypeScript, migrate to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-22 11:13:40 +00:00
Pagan Gazzard
88e4009e88
Update to balena-release
...
Change-type: patch
2020-04-21 17:39:25 +01:00
Scott Lowe
be82bcfa63
convert commands key
, keys
, key add
, key rm
to oclif.
...
Also:
- Display keys with `name` instead of `title`.
- Check for empty key before calling API.
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-20 16:07:39 +02:00
Paulo Castro
655534469a
Review 'instanceof' usage with classes of external packages
...
Change-type: patch
2020-04-18 02:50:00 +01:00
Scott Lowe
cff9e50a22
improve input validation for key
, key rm
...
Change-type: patch
Resolves : #1728
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-15 17:08:25 +02:00
Scott Lowe
320b4864d9
device os-update: allow host OS upgrade with development balenaOS images
...
also:
fix `device os-update` incorrectly showing 0% progress
convert `device os-update` to use async/await
Change-type: minor
Resolves : #1725
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-15 15:07:10 +02:00
Scott Lowe
3aa72dde4c
Convert commands join, leave to oclif.
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-09 20:50:42 +02:00
Hugh Brown
a50ca78eef
Minor grammar fix in balena ssh documentation
...
Minor grammar fix in balena ssh documentation
Change-type: patch
Signed-off-by: Hugh Brown <hugh@balena.io>
2020-04-07 10:08:24 -07:00
Scott Lowe
bc3fe29624
Convert internal scandevices
, internal osinit
to typescript & oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-03 16:39:39 +02:00
Paulo Castro
96e28f3d45
Fix project directory validation for 'balena deploy' with pre-built image
...
Change-type: patch
2020-04-02 19:44:27 +01:00
Scott Lowe
9aa6b0bc57
Remove unused code from balena note
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-01 15:07:40 +02:00
Scott Lowe
d2fd1ec80a
Check logged in for balena build
if application specified
...
Correct eroneous -f flag in `balena build` help
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-01 12:39:30 +02:00
Paulo Castro
159cb752d1
Add '-t' option to 'balena ssh' to bypass TTY autodetection (force allocation)
...
Change-type: patch
2020-03-31 14:50:09 +01:00
Paulo Castro
a74f0413df
Handle ssh process exit codes
...
Change-type: patch
2020-03-31 14:27:30 +01:00
Pagan Gazzard
1a71bad8bb
Convert lib/actions/local/common.coffee to javascript
...
Change-type: patch
2020-03-31 11:57:47 +01:00
Paulo Castro
30738d93b0
Fix "the input device is not a TTY" when piping to 'balena ssh' (local device)
...
Change-type: patch
2020-03-30 14:45:16 +01:00
Paulo Castro
be76b8adbd
Fix 'balena ssh' on MSYS Windows shell ("unexpected end of file")
...
Resolves : #1681
Change-type: patch
2020-03-30 14:45:16 +01:00
Paulo Castro
d6a065a230
Delete unused code (ssh.coffee)
...
Change-type: patch
2020-03-30 14:45:15 +01:00
Scott Lowe
fcad35402a
Convert command note
to oclif
...
Add oclif support for piped input
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-03-30 14:47:43 +02:00
Scott Lowe
49b00e18ae
Convert command settings
to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-03-30 14:47:43 +02:00
Scott Lowe
e5d2661c96
Clarify balena device os-update
help re balenaCloud
...
Change-type: patch
Resolves : #1679
Signed-off-by: Scott Lowe <scott@balena.io>
2020-03-26 13:59:12 +01:00
Pagan Gazzard
b3b22d6399
Use balena-lint for javascript linting and add javascript type-checking
...
Change-type: patch
2020-03-25 12:12:03 +00:00
Pagan Gazzard
47e85da789
Deduplicate balenaUrl
fetching in events
...
Change-type: patch
2020-03-24 17:35:44 +00:00
Scott Lowe
8658104647
Add support for authentication checking to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-03-24 10:19:18 +01:00
Scott Lowe
f24c4a036c
Add support for root
property on oclif commands
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-03-19 19:50:17 +01:00
Scott Lowe
46b695cf22
Add support for primary/secondary oclif commands
...
Change-type: minor
Signed-off-by: Scott Lowe <scott@balena.io>
2020-03-19 15:45:04 +01:00
Pagan Gazzard
809a5fae25
Switch to native number check
...
Change-type: patch
2020-03-13 16:15:07 +00:00
Pagan Gazzard
eccb1bd9ad
Switch to native string check
...
Change-type: patch
2020-03-13 16:13:21 +00:00
Pagan Gazzard
f859d5025a
Switch to native Array.isArray
instead of aliases
...
Change-type: patch
2020-03-13 16:09:43 +00:00
Pagan Gazzard
2860535c45
Fix balena local flash
...
Change-type: patch
2020-03-12 21:34:40 +00:00
Pagan Gazzard
09a59ab03f
Remove dependency on inquirer-dynamic-list
2020-03-12 18:03:10 +00:00
Pagan Gazzard
3d2e109e7f
Update dependencies
...
Update balena-sdk from 12.26.7 to 12.29.1
Change-type: minor
2020-03-12 18:03:10 +00:00
Paulo Castro
5a80654305
Avoid Sentry reporting of selected common "expected" errors
...
Change-type: patch
2020-03-09 12:51:56 +00:00
Paulo Castro
d2df2c7b60
Fix occasional "CLI prints 'null' and exits" (replace old Raven/Sentry SDK)
...
Resolves : #1523
Connects-to: #1333
Connects-to: #1193
Change-type: patch
2020-03-09 12:51:56 +00:00
Paulo Castro
36d3d1256e
Don't send the full command line to Sentry.io
...
Resolves : #703
Change-type: patch
2020-03-09 12:51:56 +00:00
Paulo Castro
b77cb56cd0
Fix occasionally missed command tracking request (oclif commands)
...
Change-type: patch
2020-03-09 12:51:56 +00:00