ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] not real rebuild errors, cf. --query-repackage; Re: rpm-4.13.0.1-alt2: Sisyphus/x86_64 test rebuild failed
Date: Tue, 3 Jul 2018 12:08:22 +0300 (MSK)
Message-ID: <alpine.LFD.2.20.1807031206010.3504@imap.altlinux.org> (raw)
In-Reply-To: <20180703084048.GA32244@altlinux.org>

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

Вот такое предложение по изменению в beehive (см. патч), чтобы приблизить 
измерение к ситуации, когда мейнтейнер хочет собрать релиз пакета, потому 
что надо исправить ошибку.

Если такое изменение можно внести, хотел бы попросить ещё разок запустить 
пересборку.

-- 
Best regards,
Ivan

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch; name=0001-use-hsh-query-repackage-to-simulate-a-maintainer-mak.patch, Size: 1262 bytes --]

From 90877c1c9f0981885b1046fe8b9abcce5298d206 Mon Sep 17 00:00:00 2001
From: Ivan Zakharyaschev <imz@altlinux.org>
Date: Tue, 3 Jul 2018 12:02:17 +0300
Subject: [PATCH] use hsh --query-repackage (to simulate a maintainer making a
 new release)

Whenever a maintainer of a package wants to make a new release of the
package (perhaps, to fix a bug), he does repackage the srpm anyway.

So, whether a plain "hsh" fails is not the best indication that the
maintainer won't be able to build a new release of a package (when he
needs to). "hsh --query-repackage" is a better measurement because it
will give less false warnings. And whenever "hsh --query-repackage"
worked susccessfully, the maintainer would succeed, too.

--query-repackage was introduced in hasher-1.0.15-alt1 on May 17 2005.
---
 remote/nectar | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/remote/nectar b/remote/nectar
index 62d0c6e..cd9d5c7 100755
--- a/remote/nectar
+++ b/remote/nectar
@@ -9,7 +9,7 @@ workdir="$TMPDIR/hasher"
 
 rm -rf -- "$workdir/repo"
 
-time hsh -- "$workdir" "$file" </dev/null ||
+time hsh --query-repackage -- "$workdir" "$file" </dev/null ||
 	exit 7
 
 # compare hasher packages and repo packages
-- 
2.10.4


  reply	other threads:[~2018-07-03  9:08 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-03  7:21 ` Ivan Zakharyaschev
2018-07-03  8:40   ` Dmitry V. Levin
2018-07-03  9:08     ` Ivan Zakharyaschev [this message]
2018-07-03 10:31       ` Dmitry V. Levin
2018-07-03 15:20         ` Ivan Zakharyaschev
2018-07-03 16:16           ` Ivan Zakharyaschev
2018-07-04 18:45           ` Dmitry V. Levin
2018-07-04 19:31             ` Ivan Zakharyaschev
2018-07-05  8:00               ` [devel] I: возможный откат Сизифа на состояние от 20180626 Dmitry V. Levin
2018-07-05  8:48                 ` Vitaly Lipatov
2018-07-05  9:07                   ` Dmitry V. Levin
2018-07-05  9:15                 ` Sergey V Turchin
2018-07-05  9:22                   ` Dmitry V. Levin
2018-07-05  9:33                     ` Sergey V Turchin
2018-07-05  9:43                     ` Michael Shigorin
2018-07-05  9:58                       ` Dmitry V. Levin
2018-07-05 11:09                         ` Michael Shigorin
2018-07-05 13:28                         ` Anton Farygin
2018-07-05 13:26                 ` Anton Farygin
2018-07-05 15:53                 ` Ivan Zakharyaschev
2018-07-05 16:18                   ` Ivan Zakharyaschev
2018-07-10  7:46                   ` Ivan Zakharyaschev
2018-07-11 10:00                     ` Ivan Zakharyaschev
2018-07-05 21:20                 ` [devel] откат python*-module-idna для починки sphinx Dmitry V. Levin
2018-07-05 21:48                   ` Dmitry V. Levin
2018-07-06  6:05                     ` Vladimir Didenko
2018-07-06  9:40                       ` [devel] python-requests Dmitry V. Levin
2018-07-06 10:00                         ` Ivan Zakharyaschev
2018-07-06 10:10                           ` Dmitry V. Levin
2018-07-06 10:29                             ` Ivan Zakharyaschev
2018-07-06  8:30                     ` [devel] откат python*-module-idna для починки sphinx Andrey Cherepanov
2018-07-06  8:59                       ` Anton Farygin
2018-07-06 10:00                       ` Dmitry V. Levin
2018-07-03  9:39     ` [devel] not real rebuild errors, cf. --query-repackage; Re: rpm-4.13.0.1-alt2: Sisyphus/x86_64 test rebuild failed Ivan Zakharyaschev
2018-07-03 10:21       ` Ivan Zakharyaschev
2018-07-03 15:18       ` Vitaly Lipatov
2018-07-03 15:24         ` Ivan Zakharyaschev
2018-07-03 11:16   ` Ivan Zakharyaschev

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=alpine.LFD.2.20.1807031206010.3504@imap.altlinux.org \
    --to=imz@altlinux.org \
    --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