From ae54d20caf7246c5d844357a33c302f623cba394 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 23 Aug 2019 17:06:45 -0700 Subject: [PATCH 1/6] use Debbugs::Common::open_compressed_file instead --- scanlib.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanlib.pm b/scanlib.pm index 5ce31a8..9171f84 100644 --- a/scanlib.pm +++ b/scanlib.pm @@ -57,7 +57,7 @@ sub glob_compressed_fh { if (not @fn) { die "No files exist which match glob '$fn'"; } - my $fh = open_compressed_file($fn[0]) or + my $fh = Debbugs::Common::open_compressed_file($fn[0]) or die "Unable to open $fn for reading: $!"; return $fh; } -- 2.39.2 From 9416fce1aea75431e96b95393eb312b224b8ebb3 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 22 Oct 2022 09:16:32 -0700 Subject: [PATCH 2/6] switch from tempfile to mktemp -d (stop deprecation warnings) - Also update release date to bullseye from stretch --- dograph | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/dograph b/dograph index 889a696..9fc3b56 100755 --- a/dograph +++ b/dograph @@ -4,25 +4,17 @@ set -e cd /org/bugs.debian.org/bugscan -tmp=`tempfile` -tmp2=`tempfile` -tmp3=`tempfile` +tempdir=`mktemp -d` find counts -type f -not -iname '*.bad'| sort | xargs grep '^' /dev/null | - sed 's/^.*count-//;s/ .*$//;s/:/ /' >"$tmp" + sed 's/^.*count-//;s/ .*$//;s/:/ /' >"$tempdir/rc_bugs_total" find counts -type f -not -iname '*.bad'| sort | xargs egrep '^(.* ){6}' /dev/null | tr ":-" " " | - cut -d" " -f2,9 >"$tmp2" + cut -d" " -f2,9 >"$tempdir/rc_bugs_next_release" find counts -type f -not -iname '*.bad'| sort | xargs egrep '^(.* ){7}' /dev/null | tr ":-" " " | - cut -d" " -f2,10 >"$tmp3" + cut -d" " -f2,10 >"$tempdir/rc_bugs_current_release" -#for i in counts/count-[0-9]* ; do -# date=`echo $i | sed -e s/.*count-//` -# count=`sed -e 's/ .*//' $i` -# echo $date $count >> ${tmp}2 -#done - -# This is the date of the stretch release -previous_release="201706170000" +# This is the date of the bullseye release +previous_release="202108140000" # And this is a month ago previous_month=`date +"%Y%m%d%H%M" --date="1 month ago"` @@ -37,8 +29,11 @@ set terminal png set yrange [0:] #set xtics 2678400 #set nomxtics +# release critical bugs set linetype 1 lc rgb "dark-violet" lw 1 +# RC bugs next release set linetype 2 lc rgb "#009e73" lw 1 +# RC bugs current release set linetype 3 lc rgb "#56b4e9" lw 1 set linetype 4 lc rgb "#e69f00" lw 1 set linetype 5 lc rgb "#f0e442" lw 1 @@ -48,15 +43,15 @@ set linetype 8 lc rgb "black" lw 1 set linetype 9 lc rgb "gray50" lw 1 set linetype cycle 9 set output "/srv/bugs.debian.org/www/bugscan/graph.png" -plot "$tmp" using 1:2 with lines, "$tmp2" using 1:2 with lines, "$tmp3" using 1:2 with lines +plot "$tempdir/rc_bugs_total" using 1:2 with lines, "$tempdir/rc_bugs_next_release" using 1:2 with lines, "$rc_bugs_current_release" using 1:2 with lines set xrange ["$previous_release":] set output "/srv/bugs.debian.org/www/bugscan/graph-release.png" -plot "$tmp" using 1:2 with lines, "$tmp2" using 1:2 with lines, "$tmp3" using 1:2 with lines +plot "$tempdir/rc_bugs_total" using 1:2 with lines, "$tempdir/rc_bugs_next_release" using 1:2 with lines, "$rc_bugs_current_release" using 1:2 with lines set xrange ["$previous_month":] set format x "%d\n%m\n%Y" set output "/srv/bugs.debian.org/www/bugscan/graph-month.png" -plot "$tmp" using 1:2 with lines, "$tmp2" using 1:2 with lines, "$tmp3" using 1:2 with lines +plot "$tempdir/rc_bugs_total" using 1:2 with lines, "$tempdir/rc_bugs_next_release" using 1:2 with lines, "$rc_bugs_current_release" using 1:2 with lines quit EOF -rm "$tmp" "$tmp2" "$tmp3" +rm -rf "$tempdir" -- 2.39.2 From 81658389cf273e2f1c29d80fdd972c2a0591f544 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 22 Oct 2022 09:22:20 -0700 Subject: [PATCH 3/6] fix rc bugs current release missing - Load from tempdir, not empty variable --- dograph | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dograph b/dograph index 9fc3b56..935a130 100755 --- a/dograph +++ b/dograph @@ -43,14 +43,14 @@ set linetype 8 lc rgb "black" lw 1 set linetype 9 lc rgb "gray50" lw 1 set linetype cycle 9 set output "/srv/bugs.debian.org/www/bugscan/graph.png" -plot "$tempdir/rc_bugs_total" using 1:2 with lines, "$tempdir/rc_bugs_next_release" using 1:2 with lines, "$rc_bugs_current_release" using 1:2 with lines +plot "$tempdir/rc_bugs_total" using 1:2 with lines, "$tempdir/rc_bugs_next_release" using 1:2 with lines, "$tempdir/rc_bugs_current_release" using 1:2 with lines set xrange ["$previous_release":] set output "/srv/bugs.debian.org/www/bugscan/graph-release.png" -plot "$tempdir/rc_bugs_total" using 1:2 with lines, "$tempdir/rc_bugs_next_release" using 1:2 with lines, "$rc_bugs_current_release" using 1:2 with lines +plot "$tempdir/rc_bugs_total" using 1:2 with lines, "$tempdir/rc_bugs_next_release" using 1:2 with lines, "$tempdir/rc_bugs_current_release" using 1:2 with lines set xrange ["$previous_month":] set format x "%d\n%m\n%Y" set output "/srv/bugs.debian.org/www/bugscan/graph-month.png" -plot "$tempdir/rc_bugs_total" using 1:2 with lines, "$tempdir/rc_bugs_next_release" using 1:2 with lines, "$rc_bugs_current_release" using 1:2 with lines +plot "$tempdir/rc_bugs_total" using 1:2 with lines, "$tempdir/rc_bugs_next_release" using 1:2 with lines, "$tempdir/rc_bugs_current_release" using 1:2 with lines quit EOF -- 2.39.2 From ea8a94e5fdd4f676c3a084f6d8ac7d7594198c6c Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 3 Sep 2023 13:34:39 -0700 Subject: [PATCH 4/6] mipsel has been removed from Debian --- bugcfg.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bugcfg.pm b/bugcfg.pm index 1a54ba4..fa05140 100644 --- a/bugcfg.pm +++ b/bugcfg.pm @@ -31,9 +31,9 @@ for my $alias (keys %{$config{distribution_aliases}//{}}) { } # check out: -# http://release.debian.org/stretch/arch_qualify.html +# http://release.debian.org/testing/arch_qualify.html # and then generally include architectures which are currently in testing -our @architectures = qw(all amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x); +our @architectures = qw(all amd64 arm64 armel armhf i386 mips64el ppc64el s390x); our @sections = ( "main", "contrib", "non-free" ); our @priorities = @{$config{strong_severities}}; our @skiptags = ( ); -- 2.39.2 From 641f3a19cb6025484a7d3ee2d36ef9183a4e569e Mon Sep 17 00:00:00 2001 From: Paul Gevers Date: Mon, 27 Nov 2023 20:05:05 +0100 Subject: [PATCH 5/6] mips64el is currently an OUTOFSYNC arch The Release Team has put mips64el on the OUTOFSYNC list which means that versions in testing can be behind. This also means that we should be ignoring RC bugs on mips64el. See https://lists.debian.org/debian-devel-announce/2023/11/msg00005.html --- bugcfg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bugcfg.pm b/bugcfg.pm index fa05140..d53f7b8 100644 --- a/bugcfg.pm +++ b/bugcfg.pm @@ -33,7 +33,7 @@ for my $alias (keys %{$config{distribution_aliases}//{}}) { # check out: # http://release.debian.org/testing/arch_qualify.html # and then generally include architectures which are currently in testing -our @architectures = qw(all amd64 arm64 armel armhf i386 mips64el ppc64el s390x); +our @architectures = qw(all amd64 arm64 armel armhf i386 ppc64el s390x); our @sections = ( "main", "contrib", "non-free" ); our @priorities = @{$config{strong_severities}}; our @skiptags = ( ); -- 2.39.2 From f989dc4f79d4e60a8d99f8473db2a3846d1ffcd3 Mon Sep 17 00:00:00 2001 From: Paul Gevers Date: Mon, 27 Nov 2023 20:05:47 +0100 Subject: [PATCH 6/6] Add non-free-firmware to the valid sections --- bugcfg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bugcfg.pm b/bugcfg.pm index d53f7b8..efa475b 100644 --- a/bugcfg.pm +++ b/bugcfg.pm @@ -34,7 +34,7 @@ for my $alias (keys %{$config{distribution_aliases}//{}}) { # http://release.debian.org/testing/arch_qualify.html # and then generally include architectures which are currently in testing our @architectures = qw(all amd64 arm64 armel armhf i386 ppc64el s390x); -our @sections = ( "main", "contrib", "non-free" ); +our @sections = ( "main", "contrib", "non-free", "non-free-firmware" ); our @priorities = @{$config{strong_severities}}; our @skiptags = ( ); -- 2.39.2