Skip to content

Commit

Permalink
Merge pull request #1244 from zowe/next-daemon-stdin
Browse files Browse the repository at this point in the history
[next] 2-way JSON communication for daemon mode
  • Loading branch information
t1m0thyj authored Jan 11, 2022
2 parents 7975028 + c83b49a commit 2333808
Show file tree
Hide file tree
Showing 27 changed files with 4,070 additions and 3,695 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/zowe-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
description: Specify whether to run tests using the `binary` or regular `nodejs` executable
default: binary
required: false
imperative-branch:
description: Specify name of Imperative branch to checkout and build from source
required: false

jobs:
test:
Expand Down Expand Up @@ -71,6 +74,14 @@ jobs:
toolchain: stable
override: true

- name: Checkout Imperative
id: checkout-imperative
if: github.event_name == 'workflow_dispatch' && github.event.inputs.imperative-branch != ''
run: |
cd node_modules/@zowe && npx rimraf imperative
git clone --branch ${{ github.event.inputs.imperative-branch }} --depth 1 https://github.com/zowe/imperative.git
cd imperative && npm ci --ignore-scripts && npx tsc
- name: Build Source
id: build
run: npm run build --if-present
Expand Down
2 changes: 1 addition & 1 deletion __tests__/__packages__/cli-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"devDependencies": {
"@types/node": "^14.14.37",
"@zowe/imperative": "5.0.0-next.202112221912",
"@zowe/imperative": "5.0.0-next.202201102100",
"eslint": "^7.32.0",
"rimraf": "^3.0.2",
"typescript": "^4.2.3"
Expand Down
6,868 changes: 3,290 additions & 3,578 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"prepare": "husky install"
},
"dependencies": {
"@zowe/imperative": "5.0.0-next.202112221912",
"@zowe/imperative": "5.0.0-next.202201102100",
"@zowe/perf-timing": "1.0.7"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to the Zowe CLI package will be documented in this file.

## Recent Changes

- BugFix: Update Imperative to absorb bugfixes introduced in version `5.0.0-next.202201102100`.
- Enhancement: Refactored communication between Imperative daemon client and server. Previously the client only sent CLI arguments and the current working directory. Now it sends a JSON object that also includes environment variables and input piped from stdin. [#1179](https://github.com/zowe/zowe-cli/issues/1179)
- **Next Breaking**: Remove `--dcd` argument which was reserved for `--daemon-current-directory`.
- **Next Breaking**: Add user check to daemon communication

## `7.0.0-next.202112281543`

- Enhancement: update a "show attributes" flag to be `-a` instead of `--pa`. `--pa` is a "hidden" alias.
Expand Down
Loading

0 comments on commit 2333808

Please sign in to comment.