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. 20210626-1-gf62c9f6 Date: Sun, 3 Oct 2021 15:22:54 +0000 (GMT) [thread overview] Message-ID: <20211003152254.7BBE63858D3C@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=f62c9f69af7345ff14a9d4a2bae99a80023626e6 commit f62c9f69af7345ff14a9d4a2bae99a80023626e6 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Sat Jun 26 14:34:31 2021 +0100 Also ignore relative URL intra-site redirects Diff: --- calm/fixes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calm/fixes.py b/calm/fixes.py index 613e361..796805a 100644 --- a/calm/fixes.py +++ b/calm/fixes.py @@ -128,7 +128,7 @@ def _fix_homepage_src_hint(hints, dirpath, _hf, tf): homepage = redirect_homepage else: # don't warn about intra-site redirects - if not redirect_homepage.startswith(homepage): + if (not redirect_homepage.startswith(homepage)) and (redirect_homepage.startswith('http')): logging.warning('homepage:%s permanently redirects to %s' % (homepage, redirect_homepage)) # changed?
reply other threads:[~2021-10-03 15:22 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=20211003152254.7BBE63858D3C@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).