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. 20230209-110-g6d0234c
Date: Sat,  4 May 2024 16:41:58 +0000 (GMT)	[thread overview]
Message-ID: <20240504164159.199573858C53@sourceware.org> (raw)




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

commit 6d0234cf6e9e0bf052d669d3480549a7517b1bd1
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sat May 4 17:36:20 2024 +0100

    Also allow remembered, synthetic obsoletes: in valid_requires


Diff:
---
 calm/package.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/calm/package.py b/calm/package.py
index 98fdd34..03afeca 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -772,6 +772,11 @@ def validate_packages(args, packages, valid_provides_extra=None, missing_obsolet
             packages[p].obsoleted_by = set()
             packages[p].orphaned = False
 
+    # it's also valid to requires: packages which are named in a synthetic
+    # obsoletes:
+    for r in missing_obsolete_extra.values():
+        valid_requires.update(r)
+
     # it's also valid to obsoletes: packages which have been removed
     valid_obsoletes = set(valid_requires)
     if valid_provides_extra:


                 reply	other threads:[~2024-05-04 16:41 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=20240504164159.199573858C53@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).