From owner-freebsd-www@FreeBSD.ORG Sun Sep 17 19:35:28 2006 Return-Path: X-Original-To: www@FreeBSD.org Delivered-To: freebsd-www@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DD7D16A622; Sun, 17 Sep 2006 19:35:28 +0000 (UTC) (envelope-from danger@cvsup.sk.freebsd.org) Received: from cvsup.sk.freebsd.org (cvsup.sk.freebsd.org [193.87.16.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB54E43D45; Sun, 17 Sep 2006 19:35:27 +0000 (GMT) (envelope-from danger@cvsup.sk.freebsd.org) Received: from cvsup.sk.freebsd.org (danger@localhost [127.0.0.1]) by cvsup.sk.freebsd.org (8.13.8/8.13.4) with ESMTP id k8HJTsYI056609; Sun, 17 Sep 2006 21:29:54 +0200 (CEST) (envelope-from danger@cvsup.sk.freebsd.org) Received: (from danger@localhost) by cvsup.sk.freebsd.org (8.13.8/8.13.3/Submit) id k8HJTsrI056600; Sun, 17 Sep 2006 21:29:54 +0200 (CEST) (envelope-from danger) Date: Sun, 17 Sep 2006 21:29:54 +0200 From: Daniel Gerzo To: www@FreeBSD.org Message-ID: <20060917192954.GA86615@cvsup.sk.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline User-Agent: Mutt/1.5.12-2006-07-14 Cc: Daniel Gerzo Subject: [RFC]: query-pr-summary.cgi default behavior change X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Sep 2006 19:35:28 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello people, I don't like the default behavior of query-pr-summary.cgi which lists all open PR in the GNATS. This produces around 1.2M of html, which takes some time to load. It does not eat our bandwidth, it also makes in my opinion unneeded load on GNATS. The following patch makes this script to show the form by default. Please comment, if it's okay with you, I will just go ahead and pass in through my mentors and then commit. Index: query-pr-summary.cgi =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /bsd_mirror/cvsup/sup/FreeBSD/www/en/cgi/query-pr-summary.cgi,v retrieving revision 1.55 diff -u -r1.55 query-pr-summary.cgi --- query-pr-summary.cgi 12 Sep 2006 21:53:18 -0000 1.55 +++ query-pr-summary.cgi 17 Sep 2006 19:20:01 -0000 @@ -17,7 +17,7 @@ require './cgi-style.pl'; require 'getopts.pl'; =20 -if ($ENV{'QUERY_STRING'} eq 'query') { +if (!$ENV{'QUERY_STRING'} or $ENV{'QUERY_STRING'} eq 'query') { print &html_header("Query $project problem reports"); &displayform; print &html_footer; --=20 Best Regards, Daniel Gerzo mailto:danger@FreeBSD.org --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFDaIxpjhloOLa1gsRAkG0AKCKO6QCNC7LUcZyrCkp2bXx8At/4wCeNg73 lrNaTYxabXe7fjTpMcOdosU= =FhVQ -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--