Skip to content

Commit a1fee72

Browse files
authored
Zowe Suite v3.4.0
2 parents fbed2b3 + 4ac4408 commit a1fee72

File tree

5 files changed

+50
-13
lines changed

5 files changed

+50
-13
lines changed

.github/workflows/SonarQube.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: SonarQube Quality Check
2+
3+
on:
4+
push:
5+
branches: [ "v3.x/staging" ]
6+
pull_request:
7+
branches: [ "v3.x/staging" ]
8+
types: [opened, synchronize, reopened, ready_for_review]
9+
10+
11+
jobs:
12+
analyze-pr:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
pull-requests: write
17+
defaults:
18+
run:
19+
working-directory: .
20+
21+
steps:
22+
- name: Checkout PR head with limited history
23+
uses: actions/checkout@v4
24+
with:
25+
ref: v3.x/staging
26+
27+
- name: Use Node.js
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: "20"
31+
32+
- name: SonarQube Scan
33+
continue-on-error: false
34+
uses: sonarsource/sonarqube-scan-action@v5
35+
env:
36+
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
37+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
38+
with:
39+
args: >
40+
-Dsonar.projectKey=zowe_launcher
41+
-Dsonar.organization=zowe
42+
-Dsonar.sources=.
43+
-Dsonar.language=c
44+
-Dsonar.cfamily.build-wrapper-output=bw-output
45+
-Dsonar.cfamily.gcov.reportsPath=.
46+
-Dsonar.exclusions=**/node_modules/**,**/dist/**,**/build/**
47+
-Dsonar.qualitygate.wait=true
48+
-Dsonar.qualitygate.timeout=600

build/build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ xlclang \
6666
-DYAML_VERSION_MAJOR=${MAJOR} \
6767
-DYAML_VERSION_MINOR=${MINOR} \
6868
-DYAML_VERSION_PATCH=${PATCH} \
69-
-DLE_MAX_SUPPORTED_ZOS=0x01030100u \
7069
-DYAML_VERSION_STRING="${VERSION}" \
7170
-DYAML_DECLARE_STATIC=1 \
7271
-D_OPEN_SYS_FILE_EXT=1 \
@@ -106,7 +105,6 @@ xlclang \
106105
-D_XOPEN_SOURCE=600 \
107106
-D_OPEN_THREADS=1 \
108107
-DNOIBMHTTP=1 \
109-
-DLE_MAX_SUPPORTED_ZOS=0x01030100u \
110108
-DNEW_CAA_LOCATIONS=1 \
111109
-DUSE_ZOWE_TLS=1 \
112110
-I "${LAUNCHER}/src/msg.h" \

build/launcher.proj.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PROJECT="launcher"
2-
VERSION=3.0.0
2+
VERSION=3.3.0
33
DEPS="QUICKJS LIBYAML COMMON"
44

55
QUICKJS="quickjs"

manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: launcher
55
# Component identifier. This identifier matches artifact path in Zowe Artifactory https://zowe.jfrog.io/.
66
id: org.zowe.launcher
77
# Component version
8-
version: 3.3.0
8+
version: 3.5.0
99
# Human readable component name
1010
title: Zowe Launcher
1111
# Human readable component description

src/main.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,6 @@ static void set_sys_messages(ConfigManager *configmgr) {
215215
//size of "ZWE_zowe_sysMessages"
216216
#define ZWE_ZOWE_SYS_MESSAGES "ZWE_zowe_sysMessages"
217217
#define ZWE_ZOWE_SYS_MESSAGES_LEN (sizeof(ZWE_ZOWE_SYS_MESSAGES) - 1)
218-
/* App-server: ZWED5015I prints config as json
219-
All zowe.sysMessages are printed, e.g. ^ "ZWED0031I",$
220-
#define ZWED5015I_JSON_CONFIG_EXTRA_CHARACTERS (sizeof(" \"\",") - 1)
221-
*/
222218

223219
static bool check_match_and_wto_message(const char* sys_message_id, const char* input_string, const bool other_messages) {
224220

@@ -234,11 +230,6 @@ static bool check_match_and_wto_message(const char* sys_message_id, const char*
234230
if (memcmp(ZWE_ZOWE_SYS_MESSAGES, input_string, ZWE_ZOWE_SYS_MESSAGES_LEN) == 0) {
235231
return false;
236232
}
237-
/* TODO: Try to ignore messages, which are short and probably output of ZWED5015I
238-
if (input_string_len <= strlen(sys_message_id) + ZWED5015I_JSON_CONFIG_EXTRA_CHARACTERS) {
239-
return false;
240-
}
241-
*/
242233
}
243234

244235
if (zl_context.trim_sys_message) {

0 commit comments

Comments
 (0)