GNU bug report logs - #23624
Closing a blocker does not update bugreport.cgi for bug it blocks

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: debbugs.gnu.org; Severity: minor; Reported by: Glenn Morris <rgm@HIDDEN>; dated Thu, 26 May 2016 17:11:02 UTC; Maintainer for debbugs.gnu.org is help-debbugs@HIDDEN.

Message received at 23624-quiet <at> debbugs.gnu.org:


Received: (at 23624-quiet) by debbugs.gnu.org; 26 May 2016 17:58:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 26 13:58:07 2016
Received: from localhost ([127.0.0.1]:40811 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b5zXr-0000Zz-9E
	for submit <at> debbugs.gnu.org; Thu, 26 May 2016 13:58:07 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58174)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1b5zXp-0000ZW-Kc
 for 23624-quiet <at> debbugs.gnu.org; Thu, 26 May 2016 13:58:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1b5zXj-0008ST-NA
 for 23624-quiet <at> debbugs.gnu.org; Thu, 26 May 2016 13:58:00 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41769)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1b5zXj-0008SM-KF
 for 23624-quiet <at> debbugs.gnu.org; Thu, 26 May 2016 13:57:59 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1b5zXh-0003vl-LX; Thu, 26 May 2016 13:57:57 -0400
From: Glenn Morris <rgm@HIDDEN>
To: 23624-quiet <at> debbugs.gnu.org
Subject: Re: Closing a blocker does not update bugreport.cgi for bug it blocks
References: <9z1t4ou4mx.fsf@HIDDEN>
X-Spook: La Familia Cancelled USCOI Leak JSOFC3IP Plume Denial of
X-Ran: 4AIJ+b3^'DW^(Z=C5./+L(]&=v{f%ynh.Z&{<:R$$O<Y|?J*t0(fq@u1|-ls=O*n!$UE(w
X-Hue: yellow
X-Attribution: GM
Date: Thu, 26 May 2016 13:57:57 -0400
In-Reply-To: <9z1t4ou4mx.fsf@HIDDEN> (Glenn Morris's message of
 "Thu, 26 May 2016 13:10:30 -0400")
Message-ID: <c960u066sa.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23624-quiet
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)


These may be the relevant lines from bugreport.cgi:

# the log should almost always be newer, but just in case
my $log_mtime = +(stat $buglog)[9] || time;
my $status_mtime = +(stat $bug_status)[9] || time;
my $mtime = strftime '%a, %d %b %Y %T GMT', gmtime(max($status_mtime,$log_mtime));

if ($q->request_method() eq 'HEAD' and not defined($att) and not $mbox)
{
     print $q->header(-type => "text/html",
                      -charset => 'utf-8',
                     (length $mtime)?(-last_modified => $mtime):(),
                     );
     exit 0;
}


Further down, we have:

my @blockedby= split(/ /, $status{blockedby});
$status{blockedby_array} = [];
if (@blockedby && $status{"pending"} ne 'fixed' && ! length($status{done})) {
    for my $b (@blockedby) {
        my %s = %{get_bug_status($b)};
        next if $s{"pending"} eq 'fixed' || length $s{done};
        push @{$status{blockedby_array}},{bug_num => $b, subject => $s{subject}, status => \%s};
   }
}

So, one would have to get the status array before the HEAD section, and
when blockedby is non-nil, check the mtimes for those bugs too, and use
the latest of all of them.




Message received at quiet <at> debbugs.gnu.org:


Received: (at quiet) by debbugs.gnu.org; 26 May 2016 17:10:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 26 13:10:39 2016
Received: from localhost ([127.0.0.1]:40789 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b5ynv-0007t7-P5
	for submit <at> debbugs.gnu.org; Thu, 26 May 2016 13:10:39 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49058)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1b5ynu-0007ss-DB
 for quiet <at> debbugs.gnu.org; Thu, 26 May 2016 13:10:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1b5yno-0005Od-Df
 for quiet <at> debbugs.gnu.org; Thu, 26 May 2016 13:10:33 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41281)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1b5yno-0005OX-AK
 for quiet <at> debbugs.gnu.org; Thu, 26 May 2016 13:10:32 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1b5ynm-00062d-JS; Thu, 26 May 2016 13:10:30 -0400
From: Glenn Morris <rgm@HIDDEN>
To: quiet <at> debbugs.gnu.org
Subject: Closing a blocker does not update bugreport.cgi for bug it blocks
X-Spook: Matamoros Comirex assassination Rule Psix crypto anarchy
X-Ran: :S05^sVZ;H@L'dkR)LXL7wHGLE;:7K6H!)~#,{^UQd@d^cd"ipoxkpF/|T;J;*-Gz*'#=q
X-Hue: green
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 26 May 2016 13:10:30 -0400
Message-ID: <9z1t4ou4mx.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: quiet
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)

Package: debbugs.gnu.org
Severity: minor

If open bug#456 blocks bug#123, and you have the bugreport.cgi page for
#123 open, then close #456 and refresh #123's page, #456 is still listed
as a blocker. You have to shift-reload #123's page to get it to update.

Closing #456 does not *directly* affect the status of #123.
In contrast, removing #456 from the list of blockers does.




Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.