ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: sisyphus@altlinux.org
Subject: [sisyphus] Re: I: Sisyphus-20050901 bugs: +11 -5 (1916)
Date: Thu, 1 Sep 2005 04:13:23 +0400
Message-ID: <20050901001322.GR22171@solemn.turbinal.org> (raw)
In-Reply-To: <20050831234929.GP22171@solemn.turbinal.org>

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

On Thu, Sep 01, 2005 at 03:49:29AM +0400, Alexey Tourbin wrote:
> > 	10 RANDOM blocker/critical/major bugs
> Ну ясно.

Сделал по-другому: список "10 RANDOM bugs" для *всех* багов, но
у blocker/critical/major bugs вероятность попадания в этот список
вдвое больше.

--- qa/qa-robot/bugs:1.18	Thu Sep  1 01:32:22 2005
+++ qa/qa-robot/bugs	Thu Sep  1 04:08:47 2005
@@ -80,12 +80,10 @@
 {
 	filter '!resolved($4,$5)' >pending.bugs 3>/dev/null
 	filter '$3~/blocker|critical|major/' <pending.bugs >bad.bugs 3>/dev/null
-	perl -MList::Util=shuffle -e 'print shuffle(<>)' bad.bugs |head -10 >random.bugs
-	if [ -s random.bugs ]; then
-		n=`wc -l <random.bugs`
-		echo "	$n RANDOM blocker/critical/major $(count "$n" "$noun")"; echo
-		xfmt1 <random.bugs
-	fi
+	echo "	10 RANDOM bugs"; echo
+	# boost bad bugs
+	perl -MList::Util=shuffle -e 'print shuffle(<>)' bad.bugs pending.bugs |
+		head -20 |sort -u |head -10 |xfmt1
 	n1=`wc -l <pending.bugs`
 	n2=`wc -l <bad.bugs`
 	subj="$subj ($n1)"

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2005-09-01  0:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-31 23:07 [sisyphus] " Alexey M. Tourbin
2005-08-31 23:49 ` [sisyphus] " Alexey Tourbin
2005-09-01  0:13   ` Alexey Tourbin [this message]

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=20050901001322.GR22171@solemn.turbinal.org \
    --to=at@altlinux.ru \
    --cc=sisyphus@altlinux.org \
    --cc=sisyphus@altlinux.ru \
    /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

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git