]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 5498: cachemgr documentation improvements (#2109) auto master
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Sat, 5 Jul 2025 15:55:34 +0000 (15:55 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 7 Jul 2025 08:30:56 +0000 (08:30 +0000)
Be more explicit in documenting squid's well-known-prefix
for cache manager in the release notes

doc/release-notes/release-7.sgml.in
scripts/update-contributors.pl

index 906511edd9400137e36282a4d9f89c9bfb9d85b9..42a84eb06189311e0ebb15357b3e8b9328ceda05 100644 (file)
@@ -47,13 +47,17 @@ The Squid-@SQUID_RELEASE@ change history can be <url url="https://github.com/squ
 
 <sect2>Removal of the <em>squidclient</em> tool.
 <p>Popular command-line tools such as <em>curl</em> or <em>wget</em>
-   provide equivalent features.
+   provide equivalent features. To access the cache manager, administrators
+   can use for instance the command
+   <em>curl -u user:&lt;cachemgr_passwd&gt; http://&lt;squid_hostname:squid_port&gt;/squid-internal-mgr/&lt;section&gt;</em>
+   where <em>section</em> is the name of the desired cache manager report.
+   To list available reports, use the report name <em>menu</em>.
 
 <sect2>Removal of the <em>cachemgr.cgi</em> tool.
 <p>Access to the Cache Manager API is available by sending HTTP(S) requests
-   directly to Squid with the URL-path prefix <em>/squid-internal-mgr/</em>.
-   A plethora of tools, such as curl, wget, or any web browser, can be used
-   instead of cachemgr.cgi.
+   directly to Squid with the URL-path prefix <em>/squid-internal-mgr/</em>
+   as described above. As Squid cache manager uses native HTTP(S),
+   it is now possible to access it directly with a web browser.
 
 <sect2>Removal of the <em>cache_object:</em> URI scheme.
 <p>This custom scheme does not conform to RFC 3986 URI sytax. It has been replaced
index 3657318450aac0d85099ee6795a4a6d2e53baf46..804c45f3b832b921533a1eb501a63026b04be91c 100755 (executable)
@@ -134,7 +134,9 @@ sub worseThan
 sub isManuallyExcluded
 {
     my ($c) = @_;
-    return lc(contributorToString($c)) =~ /squidadm/; # a known bot
+    return true if lc(contributorToString($c)) =~ /squidadm/; # a known bot
+    return true if lc(contributorToString($c)) =~ /Copilot@users.noreply.github.com/; # a known bot
+    return false;
 }
 
 sub contributorToString