public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20230209-26-g6ad4c4f
@ 2023-05-03 20:38 Jon Turney
  0 siblings, 0 replies; only message in thread
From: Jon Turney @ 2023-05-03 20:38 UTC (permalink / raw)
  To: cygwin-apps-cvs




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

commit 6ad4c4fde1af6d299836ab32ee1aae13eb48f427
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed May 3 17:08:06 2023 +0100

    Don't list obsoleted packages in rebuild report


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

diff --git a/calm/reports.py b/calm/reports.py
index 1773840..f659cf5 100644
--- a/calm/reports.py
+++ b/calm/reports.py
@@ -219,6 +219,9 @@ def provides_rebuild(args, packages, reportfile, provide_package):
                 if d == pp_provide:
                     continue
 
+                if po.obsoleted_by:
+                    continue
+
                 # requires an old provide
                 pr = types.SimpleNamespace()
                 pr.pn = p


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-03 20:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-03 20:38 [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20230209-26-g6ad4c4f Jon Turney

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).