public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jturney@sourceware.org>
To: cygwin-apps-cvs@sourceware.org
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20220704-25-g175aeb6
Date: Tue, 18 Oct 2022 18:56:22 +0000 (GMT)	[thread overview]
Message-ID: <20221018185622.CF6053858D3C@sourceware.org> (raw)




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=175aeb644de5e9271394d56176ba2de8cec2f082

commit 175aeb644de5e9271394d56176ba2de8cec2f082
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Tue Oct 18 19:54:39 2022 +0100

    Turn license expression not normalized error into a warning


Diff:
---
 calm/hint.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calm/hint.py b/calm/hint.py
index ead719e..b3e9a70 100755
--- a/calm/hint.py
+++ b/calm/hint.py
@@ -306,7 +306,7 @@ def hint_file_parse(fn, kind, strict=False):
                             if not le.normalized_expression:
                                 warnings.append('errors in license expression: %s' % (le.errors))
                             elif le.original_expression != le.normalized_expression:
-                                errors.append("license expression: '%s' normalizes to '%s'" % (value, le.normalized_expression))
+                                warnings.append("license expression: '%s' normalizes to '%s'" % (value, le.normalized_expression))
 
                     # warn if value starts with a quote followed by whitespace
                     if re.match(r'^"[ \t]+', value):


                 reply	other threads:[~2022-10-18 18:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221018185622.CF6053858D3C@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).