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. 20221205-32-g345dde9
Date: Sun,  5 Feb 2023 17:40:44 +0000 (GMT)	[thread overview]
Message-ID: <20230205174044.F13C23858D32@sourceware.org> (raw)




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

commit 345dde9609b5d72595e007056952efb018273982
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sun Feb 5 16:41:55 2023 +0000

    Add 'OFSFDL' to additional license ids list

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

commit eeacb2e9bd02720a28dab6bcab6e425c5d8e80cf
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sun Jan 29 15:41:20 2023 +0000

    Add a little success feedback to vault command

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

commit 1b9b4326058894841d542c3aafbc8e1b0774fac4
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sun Jan 29 15:39:17 2023 +0000

    Fix inverted logic in mksetupini error propagation
    
    Fixes: d77b94da7803 ("Propagate any error reading packages through mksetupini")


Diff:
---
 calm/hint.py       | 1 +
 calm/mksetupini.py | 2 +-
 calm/vault.py      | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/calm/hint.py b/calm/hint.py
index 1ec86d9..28a81b0 100755
--- a/calm/hint.py
+++ b/calm/hint.py
@@ -38,6 +38,7 @@ else:
     json = license_expression.get_license_index()
     extra_licenses = [
         'Linux-man-pages-copyleft',  # requires SPDX license-list 3.15
+        'OFSFDL',                    # "Old FSF documentation license"
         'Public-Domain',
     ]
     for l in extra_licenses:
diff --git a/calm/mksetupini.py b/calm/mksetupini.py
index 9e3a006..41e7535 100755
--- a/calm/mksetupini.py
+++ b/calm/mksetupini.py
@@ -50,7 +50,7 @@ def do_main(args):
     # build package list
     packages, error = package.read_packages(args.rel_area, args.arch)
 
-    if not error:
+    if error:
         logging.error("errors reading package set, not writing setup.ini")
         return 1
 
diff --git a/calm/vault.py b/calm/vault.py
index 76cb8ad..b433660 100644
--- a/calm/vault.py
+++ b/calm/vault.py
@@ -44,6 +44,7 @@ def vault(pvr):
     args.htdocs = os.path.join(common_constants.HTDOCS, 'packages')
 
     db.vault_request_add(args, p, vr)
+    logging.info("package '%s' version '%s' marked as expirable" % (p, vr))
 
 
 def main():


                 reply	other threads:[~2023-02-05 17:40 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=20230205174044.F13C23858D32@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).