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-46-g213a2d8 Date: Fri, 20 Oct 2023 16:51:51 +0000 (GMT) [thread overview] Message-ID: <20231020165151.C68F93858D39@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=213a2d8f4584d336f12c6271792c4a01ed804899 commit 213a2d8f4584d336f12c6271792c4a01ed804899 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Fri Oct 20 17:37:09 2023 +0100 Use source package of actual version, not best version in vaulting Use the source package of the actual version being considered, not the best version, when determining if a package is owned by a source package to be vaulted. (Source package can change between versions, if sources are split or merged) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=4ec27f5a72a43faef3aabb782b894fd2d4f95f85 commit 4ec27f5a72a43faef3aabb782b894fd2d4f95f85 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Fri Oct 20 17:35:34 2023 +0100 Downgrade a piece of debug logging Diff: --- calm/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calm/package.py b/calm/package.py index e45874c..a9aff3d 100755 --- a/calm/package.py +++ b/calm/package.py @@ -1570,7 +1570,7 @@ def mark_fn(packages, po, v, certain_age, vault_requests): requires = po.version_hints[v].get('depends', '').split(', ') if re.match(r'^python(|2|27)-', pn): if any(ep in requires for ep in past_mistakes.expired_provides) or po.obsolete: - logging.info("package '%s' version '%s' not retained as it requires a provide known to be expired" % (pn, v)) + logging.debug("package '%s' version '%s' not retained as it requires a provide known to be expired" % (pn, v)) return Freshness.conditional # - explicitly marked as 'noretain' @@ -1582,7 +1582,7 @@ def mark_fn(packages, po, v, certain_age, vault_requests): # - marked via 'calm-tool vault' # - es = po.srcpackage(bv, suffix=False) + es = po.srcpackage(v, suffix=False) if es in vault_requests: if v in vault_requests[es]: logging.info("package '%s' version '%s' not retained due vault request" % (pn, v))
reply other threads:[~2023-10-20 16:51 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=20231020165151.C68F93858D39@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: linkBe 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).