From scan-admin at coverity.com Sun Dec 1 11:39:15 2019 From: scan-admin at coverity.com (scan-admin at coverity.com) Date: Sun, 01 Dec 2019 11:39:15 +0000 (UTC) Subject: Coverity Scan: Analysis completed for varnish Message-ID: <5de3a6629f057_2b282ae0c3490f4c87780@appnode-2.mail> Your request for analysis of varnish has been completed successfully. The results are available at https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRaZSCEJOPR4AEUn0hVASTtlJ23U2ffwbN1LtJbHcOCfQg-3D-3D_wrU9d1VlqIiuL6N0zVMze4Ep-2FR7u99vtLlE-2BlH3ENQAO1r-2FL0pRPvkQAx-2FfdYGCFyFdMlWywd4Ub8M4QpueSI2StKSjObkxXJqlzmu449CYZ1UJUqS-2FwK3h5F0TRhts7h3ogB2M2s7RKUNpN94NABsqZClzAIKnXOM6HLTLL5Y3RsrAFEc2EXFaADBzBPyoqrbQamNQswYApQcSeum911Mu204XiipBOg-2BYFVuZneRk-3D Build ID: 283675 Analysis Summary: New defects found: 0 Defects eliminated: 15 From sefidmou at yahoo.com Tue Dec 3 18:03:55 2019 From: sefidmou at yahoo.com (al sefid) Date: Tue, 3 Dec 2019 18:03:55 +0000 (UTC) Subject: Caching a resource after specific number of requests References: <558895272.8253744.1575396235450.ref@mail.yahoo.com> Message-ID: <558895272.8253744.1575396235450@mail.yahoo.com> Hello there! Is there any functionality like proxy_cache_min_uses in the Varnish cache that caches a resource after specific number of requests to that resource?Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: From dridi at varni.sh Thu Dec 5 12:16:25 2019 From: dridi at varni.sh (Dridi Boukelmoune) Date: Thu, 5 Dec 2019 12:16:25 +0000 Subject: 2019Q4 packaging update Message-ID: Greetings, Today I back-ported patches that have been living happily in the weekly branch and now we only rely on Python3 dependencies also for 6.x releases. In the process I tried Debian 10 and RHEL 8 and we can now build Varnish 6.3 on those systems without any obvious problems. The devel might be in the details, like for example difference in memory footprint with an updated jemalloc, or for that matter any other dependency update on those platforms. Currently we can't build 6.0 LTS releases on RHEL 8 because /usr/bin/python is no longer provided by the distribution, on purpose, so any script using plain unversioned python in its shebang will fail to run at either build or run time. This work was done for the 6.3 release so it's only a matter of back-porting existing patches to 6.0 and while we could get away with appending a '3' to our shebangs we would miss some of the Python2 cleanup that was done in the process. Dridi From dridi at varni.sh Wed Dec 11 11:49:02 2019 From: dridi at varni.sh (Dridi Boukelmoune) Date: Wed, 11 Dec 2019 11:49:02 +0000 Subject: [6.0] 4ca376fab Switch to python3 in all our scripts shebangs In-Reply-To: <20191211113706.7ACB6A3FBF@lists.varnish-cache.org> References: <20191211113706.7ACB6A3FBF@lists.varnish-cache.org> Message-ID: On Wed, Dec 11, 2019 at 11:37 AM Dridi Boukelmoune wrote: > > > commit 4ca376fab22e126b4e0a89d1773c379d1af23d0e > Author: Dridi Boukelmoune > Date: Tue Mar 12 10:30:35 2019 +0100 > > Switch to python3 in all our scripts shebangs This is a back-port of a commit from when trunk switched to python3 only. Since python2 is going EOL soon, and 6.0 LTS will outlive it, I skipped the pull request step since: - patch applied without a conflict - it fixes all shebangs in 6.0 - our scripts are already py3-ready I sent another email to this list to inform you that RHEL 8 bans the unversioned /usr/bin/python version so in addition to saying goodbye to py2 on all active branches this is also a necessary step to enable el8 support in the future. For this reason I'm cross-posting on both dev and commit mailing lists. I'll leave it to Reza (CC'd) to include this in the changelog. Our 6.x packaging already requires python3 anyway, it's just that if python2 is present in the build root it will no longer be used implicitly (or at all). Dridi > diff --git a/bin/varnishtest/huffman_gen.py b/bin/varnishtest/huffman_gen.py > index ab6b30e87..dd4f8e1e8 100755 > --- a/bin/varnishtest/huffman_gen.py > +++ b/bin/varnishtest/huffman_gen.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > > import re > import sys > diff --git a/bin/varnishtest/witness.py b/bin/varnishtest/witness.py > index a4f0fffa6..af4a56e55 100644 > --- a/bin/varnishtest/witness.py > +++ b/bin/varnishtest/witness.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > # > # This script is in the public domain > # > diff --git a/doc/sphinx/vtc-syntax.py b/doc/sphinx/vtc-syntax.py > index ba7bd6bd7..6d4946d32 100644 > --- a/doc/sphinx/vtc-syntax.py > +++ b/doc/sphinx/vtc-syntax.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > # > # Copyright (c) 2006-2016 Varnish Software AS > # All rights reserved. > diff --git a/include/generate.py b/include/generate.py > index e7d547593..c1ea3bcbb 100755 > --- a/include/generate.py > +++ b/include/generate.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > # > # Copyright (c) 2006 Verdens Gang AS > # Copyright (c) 2006-2015 Varnish Software AS > diff --git a/include/tbl/style.py b/include/tbl/style.py > index a88c475a3..0e7f657fb 100644 > --- a/include/tbl/style.py > +++ b/include/tbl/style.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > # > # Very basic style-checker for include/tbl files. > > diff --git a/lib/libvarnishapi/generate.py b/lib/libvarnishapi/generate.py > index d1357c985..ea4ebd02a 100755 > --- a/lib/libvarnishapi/generate.py > +++ b/lib/libvarnishapi/generate.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > #- > # Copyright (c) 2006 Verdens Gang AS > # Copyright (c) 2006-2015 Varnish Software AS > diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py > index 31edaa4a7..919e1569a 100755 > --- a/lib/libvcc/generate.py > +++ b/lib/libvcc/generate.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > # > # Copyright (c) 2006 Verdens Gang AS > # Copyright (c) 2006-2015 Varnish Software AS > diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py > index e92cf521e..14f93b11d 100755 > --- a/lib/libvcc/vmodtool.py > +++ b/lib/libvcc/vmodtool.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > # > # Copyright (c) 2010-2016 Varnish Software > # All rights reserved. > diff --git a/lib/libvcc/vsctool.py b/lib/libvcc/vsctool.py > index f1e0d02ab..e65b0072f 100644 > --- a/lib/libvcc/vsctool.py > +++ b/lib/libvcc/vsctool.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > # -*- encoding: utf-8 -*- > # > # Copyright (c) 2017 Varnish Software AS > diff --git a/tools/gcov_digest.py b/tools/gcov_digest.py > index 188fb499d..3fbfdf946 100644 > --- a/tools/gcov_digest.py > +++ b/tools/gcov_digest.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > # > # Copyright (c) 2017 Varnish Software AS > # All rights reserved. > diff --git a/tools/include_wash.py b/tools/include_wash.py > index 973d5d6ad..94c11ba2c 100644 > --- a/tools/include_wash.py > +++ b/tools/include_wash.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/env python > +#!/usr/bin/env python3 > > from __future__ import print_function > > _______________________________________________ > varnish-commit mailing list > varnish-commit at varnish-cache.org > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit From nils.goroll at uplex.de Mon Dec 23 08:25:00 2019 From: nils.goroll at uplex.de (Nils Goroll) Date: Mon, 23 Dec 2019 09:25:00 +0100 Subject: centos_8 branch Message-ID: Hi, should we really start adding branches to the varnish-cache repo again? Nils -- ** * * UPLEX - Nils Goroll Systemoptimierung Scheffelstra?e 32 22301 Hamburg tel +49 40 28805731 mob +49 170 2723133 fax +49 40 42949753 xmpp://slink at jabber.int.uplex.de/ http://uplex.de/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: From guillaume at varnish-software.com Mon Dec 23 08:28:39 2019 From: guillaume at varnish-software.com (Guillaume Quintard) Date: Mon, 23 Dec 2019 08:28:39 +0000 Subject: centos_8 branch In-Reply-To: References: Message-ID: Hi, I open that one just to work on it with Dridi being able to look on it as I progress. but I can move it back to my repo before opening the PR if you prefer. Let me know -- Guillaume Quintard On Mon, Dec 23, 2019 at 8:25 AM Nils Goroll wrote: > Hi, > > should we really start adding branches to the varnish-cache repo again? > > Nils > > -- > > ** * * UPLEX - Nils Goroll Systemoptimierung > > Scheffelstra?e 32 > 22301 Hamburg > > tel +49 40 28805731 > mob +49 170 2723133 > fax +49 40 42949753 > > xmpp://slink at jabber.int.uplex.de/ > > http://uplex.de/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dridi at varni.sh Mon Dec 23 08:57:25 2019 From: dridi at varni.sh (Dridi Boukelmoune) Date: Mon, 23 Dec 2019 08:57:25 +0000 Subject: centos_8 branch In-Reply-To: References: Message-ID: On Mon, Dec 23, 2019 at 8:29 AM Guillaume Quintard wrote: > > Hi, > > I open that one just to work on it with Dridi being able to look on it as I progress. but I can move it back to my repo before opening the PR if you prefer. I thought you opened a branch to do CircleCI trial&error commits without polluting the master branch's history. If that doesn't work in your private fork, I don't mind a temporary branch in the canonical repository. Dridi