public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: jturney@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-36-g6f14430
Date: Fri, 18 Nov 2016 16:07:00 -0000	[thread overview]
Message-ID: <20161118160728.111868.qmail@sourceware.org> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2618 bytes --]




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

commit 6f144307b120c8d0ea36089076ffb02c794e22e3
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Nov 16 14:13:48 2016 +0000

    setup.hint always sets stability level hints, even if they are absent


Diff:
---
 calm/package.py                        |    2 +-
 test/testdata/uploads/pkglist.expected |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/calm/package.py b/calm/package.py
index 84699b1..b77c960 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -180,7 +180,7 @@ def read_package(packages, basedir, dirpath, files, strict=False, remove=[]):
             hints = {}
 
         # determine version overrides
-        note_absent = ('override.hint' in remove) or ('override.hint' in files)
+        note_absent = ('override.hint' in remove) or ('override.hint' in files) or legacy
 
         if 'override.hint' in files:
             # read override.hint
diff --git a/test/testdata/uploads/pkglist.expected b/test/testdata/uploads/pkglist.expected
index f36b2a4..0e4c587 100644
--- a/test/testdata/uploads/pkglist.expected
+++ b/test/testdata/uploads/pkglist.expected
@@ -6,11 +6,11 @@
                     'Like it’s you’re Markup Language™ Nokogiri’s tool―that '
                     'Bézier."',
            'category': 'Devel',
-           'requires': 'cygwin'}}, {}, False),
+           'requires': 'cygwin'}}, {'curr': None, 'prev': None, 'test': None}, False),
  'testpackage-subpackage': Package('x86/release/testpackage/testpackage-subpackage', {'testpackage-subpackage-1.0-1.tar.bz2': Tar('aff488008bee3486e25b539fe6ccd1397bd3c5c0ba2ee2cf34af279554baa195af7493ee51d6f8510735c9a2ea54436d776a71e768165716762aec286abbbf83', 195, False)}, {'1.0-1': {'sdesc': '"A test subpackage"',
            'ldesc': '"A test subpackage"',
            'category': 'Devel',
-           'external-source': 'testpackage'}}, {}, False),
+           'external-source': 'testpackage'}}, {'curr': None, 'prev': None, 'test': None}, False),
  'testpackage2-subpackage': Package('x86/release/testpackage2/testpackage2-subpackage', {'testpackage2-subpackage-1.0-1.tar.bz2': Tar('6de201dfed1d45412509c65deb34690dc2d09c6aafccfe491fd2f440f92842b9c755b61dc7bcdd4cc0c9f18cf46c2b3a1241e99c4c2a33fff5555e7b2f0b6348', 14, True)}, {'1.0-1': {'sdesc': '"A test subpackage 2"',
            'ldesc': '"A test subpackage 2"',
-           'category': 'Devel'}}, {}, False)}
+           'category': 'Devel'}}, {'curr': None, 'prev': None, 'test': None}, False)}


                 reply	other threads:[~2016-11-18 16:07 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=20161118160728.111868.qmail@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).