From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] subversion-1.3.1-alt1: rebuild failed
Date: Fri, 19 May 2006 21:39:34 +0400
Message-ID: <20060519173934.GK26020@localhost> (raw)
In-Reply-To: <446DFD0C.9030302@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 2338 bytes --]
On Fri, May 19, 2006 at 08:14:52PM +0300, Sviatoslav Sviridov wrote:
> > Нет не получите. Уведомление о невозможности пересборки высылается для
> > того, чтобы у вас появилась правдоподобное предположение о том, почему
> > пакет не удается пересобрать.
>
> Плюс для того, чтобы собственно уведомить :)
Это вторично. В первое время робот писал "please fix", а потом стал
писать "please investigate". Вот это важно: попробовать понять, почему
не собралось. Не обязательно по вашей или чьей-либо вине. Полные логи
в общем случае недоступны, но их, как мне кажется, относительно легко
получить в частном порядке.
> Понимаю, что это всего лишь мечты, но если проблема пропадает без
> участия человека, об этом тоже было бы здорово получать нотификации :) А
> то, например, получаю я такое письмо, но сразу отреагировать не могу.
> При очередной пересборке оказывается, что все в порядке (например,
> проблема была из-за сломанного пакета, который есть в BuildRequires), а
> тут я появился и начал бороться с несуществующей проблемой :)
Кстати робот аннулирует все предыдущие неудачи, если хотя бы одна из
пересборок прошла успешно. В этом смысле робот несёт с собой прощение.
Эта концепция была в своё время хорошо продумана. Вот кусок скрипта.
# blessed are blameless
-f "$logs/$log" or next;
my $now = (stat "$logs/$log")[9];
# gotta choose between good and evil
my @good = glob "$old_logs_success/$log";
my @evil = glob "$old_logs_error/$log";
my @deeds = sort { $$a[0] <=> $$b[0] }
( map { [ (stat)[9], 1 ] } @good ),
( map { [ (stat)[9], 0 ] } @evil );
# forgiveness
while (grep { $$_[1] == 1} @deeds) {
shift @deeds;
}
my $blame_since = do {
my $sin = shift @deeds;
$sin ? $$sin[0] : undef;
};
my $n_weeks;
if ($blame_since) {
my $days = ($now - $blame_since) / 3600 / 24;
$n_weeks = int($days / 7 + 0.5);
};
То есть если проблема хотя бы время от времени рассасывается, то счётчик
на ваш пакет накручиваться не будет. Так что беспокоиться в некотором
смсле не о чем.
> > У вас появилось правдоподобное предположение о том, почему пакет не
> > удалось пересобрать?
> Пока только одно: проблемы с tmpfs?
Я забыл добавить, что правдоподобное предположение должно быть
содержательным относительно изменений пакетной базы. :)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-05-19 17:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-19 16:53 ` Sviatoslav Sviridov
2006-05-19 17:03 ` Alexey Tourbin
2006-05-19 17:14 ` Sviatoslav Sviridov
2006-05-19 17:39 ` Alexey Tourbin [this message]
2006-05-19 18:18 ` Alexey Gladkov
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=20060519173934.GK26020@localhost \
--to=at@altlinux.ru \
--cc=devel@lists.altlinux.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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git