sfeed github connector: ignore null - randomcrap - random crap programs of varying quality
(HTM) git clone git://git.codemadness.org/randomcrap
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 13e8423aac6ec37a529d22168e51beeb6c776396
(DIR) parent a92cb6f7334a4c41192b3db282331f4e83bd3739
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 14 Sep 2023 22:35:02 +0200
sfeed github connector: ignore null
Diffstat:
M config/sfeed/connectors/github | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/config/sfeed/connectors/github b/config/sfeed/connectors/github
@@ -67,6 +67,9 @@ function show(issue) {
print "\t<category term=\"" xmlencode(labels[k]) "\" />";
print "</entry>";
}
+$2 == "?" {
+ next; # ignore null
+}
$1 == "[]" {
show(o);
delete o;