From 757881ed372b4b47df915b645a573d6431511986 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 21 Jun 2023 16:13:08 -0400 Subject: sbolint: error if slack-desc has "(short description of app)" --- NEWS | 1 + sbolint | 2 ++ 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index 910d526..c5c8a7d 100644 --- a/NEWS +++ b/NEWS @@ -23,6 +23,7 @@ sbolint: standard input. This is actually not new, but was undocumented before. - If doinst.sh exists, it's checked for correct usage of config(), preserve_perms(), and gtk-update-icon-cache. +- If the slack-desc still has "(short description of app)", that's an error. New in 0.8.2: ============= diff --git a/sbolint b/sbolint index d95b3bd..26c45c5 100755 --- a/sbolint +++ b/sbolint @@ -880,6 +880,8 @@ sub check_slackdesc { log_error("slack-desc:$lineno: trailing whitespace after colon, on otherwise-blank line"); } elsif(length($text) && $text !~ /^ /) { log_error("slack-desc:$lineno: missing whitespace after colon, on non-blank line"); + } elsif(/\(short description of app\)/) { + log_error("slack-desc:$lineno: bad description: literally 'short description of app'"); } else { # The world is not ready for this: ###if($text =~ /\s$/) { -- cgit v1.2.3