Attention is currently required from: fixeria, laforge, osmith, pespin.
Hello Jenkins Builder, fixeria, laforge, osmith,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43442?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by osmith
Change subject: xua_snm: Fix mask_from_affected_pc() always returning 0
......................................................................
xua_snm: Fix mask_from_affected_pc() always returning 0
A recent commit adding the mask_from_affected_pc() mistyped the aff_pc
converting it to a uint8_t, which is wrong. Fix it.
Related: Coverity CID#563282
Related: OS#7078
Fixes: 41af6a55110d6ddc5febce71d5bba3cf0f33f27e
Change-Id: Id376528802662b8ea53845158e73a1f730e6c590
---
M src/xua_snm.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/42/43442/2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/43442?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Id376528802662b8ea53845158e73a1f730e6c590
Gerrit-Change-Number: 43442
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/43445?usp=email )
Change subject: lint: checkpatch: escape gerrit markdown chars
......................................................................
lint: checkpatch: escape gerrit markdown chars
Fix that some messages look wrong in gerrit, for example:
"foo* bar" should be "foo *bar"
The asterisk symbols would be removed and the text between them would be
displayed in cursive.
Example: https://gerrit.osmocom.org/c/libosmocore/+/43443/comment/ad7b209c_7b2929c1/
Change-Id: Ic9cf1705fc17873c90b57725227a1a6a3d4cd699
---
M lint/checkpatch/checkpatch_json.py
1 file changed, 9 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/45/43445/1
diff --git a/lint/checkpatch/checkpatch_json.py b/lint/checkpatch/checkpatch_json.py
index c4ea3b0..c35c4f3 100755
--- a/lint/checkpatch/checkpatch_json.py
+++ b/lint/checkpatch/checkpatch_json.py
@@ -16,6 +16,14 @@
list_temp = {}
+def gerrit_markdown_escape(msg):
+ """Escape characters that would get interpreted as markdown syntax in
+ gerrit comments. For example: "foo* bar" should be "foo *bar" """
+ msg = msg.replace("*", "\\*")
+ msg = msg.replace("`", "\\`")
+ return msg
+
+
def update_struct(file_path, msg_output, line_number):
if file_path not in list_temp:
list_temp[file_path] = []
@@ -24,7 +32,7 @@
"robot_run_id": sys.argv[3],
"url": sys.argv[4],
"line": line_number,
- "message": msg_output,
+ "message": gerrit_markdown_escape(msg_output),
}
if error not in list_temp[file_path]:
list_temp[file_path].append(error)
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/43445?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ic9cf1705fc17873c90b57725227a1a6a3d4cd699
Gerrit-Change-Number: 43445
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>