public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Molenda <jason-gcclist@molenda.com>
To: gcc@gcc.gnu.org
Subject: Re: GNATS Login
Date: Sun, 16 Dec 2001 23:09:00 -0000	[thread overview]
Message-ID: <20011216215743.A65278@molenda.com> (raw)
In-Reply-To: <20011215022642.43799FB80D@tabris.net>; from adam@tabris.net on Fri, Dec 14, 2001 at 09:26:41PM -0500

[-- Attachment #1: Type: text/plain, Size: 1282 bytes --]

Gerald fixed the problem that the gnats login page wasn't saying,
"Enter guest/guest to log in", but I figured it wouldn't be too
hard to change gnatsweb's annoying behavior to assume a default of
guest/guest automatically.  And so it is.  cf

  http://gcc.gnu.org/cgi-bin/gnatswebber.pl?cmd=view&pr=4529&database=gcc

This is "gnatswebber.pl" instead of "gnatsweb.pl".  I've tested it
a reasonable amount, but I haven't read over gnatsweb.pl with care
so I wanted to give other people a chance to test it before I commit
the change. I'll attach the patch, it's really pretty straightforward.

This patch should also make gnatsweb usable for people who don't
accept cookies, at least for read-only access.  gnatsweb will still
try to push cookies at you when you make queries (to remember the
query you made), but it will work fine regardless of whether you
accept the cookie or not.

Jason


On Fri, Dec 14, 2001 at 09:26:41PM -0500, Adam Schrotenboer wrote:
> Something that has been getting on my nerves is that it is impossible to (at 
> least thru a direct link) read a PR w/o having a GNATS login.
> 
> Any plans to make the GNATS db available for public access?

> > The 8139too.c ICE should be fixed:
> > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4529&database=gcc

[-- Attachment #2: pa.txt --]
[-- Type: text/plain, Size: 473 bytes --]

--- gnatsweb.pl	Sat Dec 15 01:57:42 2001
+++ gnatswebber.pl	Sun Dec 16 21:39:06 2001
@@ -3501,6 +3501,13 @@ sub main
   $global_prefs{'database'}="gcc";
   #GCC-LOCAL end.
 
+  #GCC-LOCAL begin: No username/pass provided?  Default to guest/guest
+  if (!$db_prefs{'user'} || !$db_prefs{'password'}) {
+    $db_prefs{'user'} = "guest";
+    $db_prefs{'password'} = "guest";
+  }
+  #GCC-LOCAL end.
+
   # Big old switch to handle commands.
   if($cmd eq 'store query')
   {

  parent reply	other threads:[~2001-12-17  5:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-13 23:33 Linux Kernel, KDE & GCC 3.0.3 Adam Schrotenboer
2001-12-14  7:57 ` Craig Rodrigues
2001-12-14  9:12   ` Franz Sirl
2001-12-14 18:31   ` GNATS Login was " Adam Schrotenboer
2001-12-14 22:56     ` Craig Rodrigues
2001-12-15  4:30       ` Gerald Pfeifer
2001-12-15  2:00     ` Andreas Jaeger
2001-12-16 23:09     ` Jason Molenda [this message]
2001-12-16 23:16       ` GNATS Login Craig Rodrigues
2001-12-16 23:28         ` Jason Molenda
2001-12-17  8:35           ` Craig Rodrigues
2001-12-21  1:08       ` Gerald Pfeifer

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=20011216215743.A65278@molenda.com \
    --to=jason-gcclist@molenda.com \
    --cc=gcc@gcc.gnu.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: link
Be 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).