This is the mail archive of the cygwin-apps-cvs mailing list for the cygwin-apps project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-1-g8f82a55




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

commit 8f82a551da77e431fc56cb24e3553cd923563006
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Thu Jul 7 16:47:59 2016 +0100

    Requiring a source-only package is an error
    
    Also, make that check, and check for self-requires even if
    -okmissing=required-package is used.


Diff:
---
 calm/package.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/calm/package.py b/calm/package.py
index 2ad2c7e..d1e79dd 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -283,7 +283,7 @@ def validate_packages(args, packages):
 
                 # a package should not appear in it's own requires
                 if r == p:
-                    lvl = logging.WARNING if p not in past_mistakes.self_requires else logging.INFO
+                    lvl = logging.WARNING if p not in past_mistakes.self_requires else logging.DEBUG
                     logging.log(lvl, "package '%s' requires itself" % (p))
 
                 # all packages listed in requires must exist (unless okmissing


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]