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-25-g9bdd081
Date: Tue, 27 Sep 2016 12:54:00 -0000	[thread overview]
Message-ID: <20160927125424.13104.qmail@sourceware.org> (raw)




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

commit 9bdd081e6dbedbb8e9f4772091ea1d36a58cc421
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Tue Sep 27 13:47:30 2016 +0100

    Actually permit the keep-count and keep-days keys in override.hint
    
    The processing of them was implemented, but not the parsing...


Diff:
---
 calm/hint.py |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/calm/hint.py b/calm/hint.py
index 68abbd7..cf0d94a 100755
--- a/calm/hint.py
+++ b/calm/hint.py
@@ -62,6 +62,11 @@ versionkeys = {
     'test': 'val',
 }
 
+overridekeys = {
+    'keep-count': 'val',
+    'keep-days': 'val',
+}
+
 hintkeys = {}
 
 hintkeys[setup] = merge_dicts(commonkeys, versionkeys, {
@@ -76,7 +81,7 @@ hintkeys[pvr] = merge_dicts(commonkeys, {
     'build-depends': 'optval',
 })
 
-hintkeys[override] = versionkeys
+hintkeys[override] = merge_dicts(versionkeys, overridekeys)
 
 # valid categories
 categories = ['accessibility',


                 reply	other threads:[~2016-09-27 12:54 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=20160927125424.13104.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).