ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <alexey.tourbin@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Дубликаты пакетов в репозитории
Date: Wed, 6 Jul 2016 00:13:45 +0300
Message-ID: <CA+qzenmhP5kKRtrvTjOzimeGizQW6AUMGfnpyMKSgcObPp47GA@mail.gmail.com> (raw)
In-Reply-To: <CAJXf7QP8OHiWQ1SdfbHQEEofOWa-kz+HVPOCTPi8tS1VBePHVQ@mail.gmail.com>

2016-07-05 22:54 GMT+03:00 Igor Zubkov <igor.zubkov@gmail.com>:
> Hi,
>
> Разбираясь с проблемами packages.altlinux.org я выяснил интересные вещи.
>
> branch = Branch.find_by!(name: '4.0')
> branch.srpms.count # => 6877
> branch.srpms.select('DISTINCT srpms.name').count # => 6868
>
> Тут девять лишних пакетов. srpms.name это Name: из пакета (%{NAME}).

Действительно.

$ rsync -n rsync.altlinux.org::ALTLinux/4.0/branch/files/SRPMS/ |awk
'sub(/-[^-]+-[^-]+$/,"",$NF){print$NF}' |sort |uniq -D
dar
dar
gmorgan
gmorgan
ht
ht
libgtksourceview-sharp
libgtksourceview-sharp
memtest86+
memtest86+
muine
muine
orpheus
orpheus
stardict-sdcv
stardict-sdcv
wwwoffle
wwwoffle
$ rsync -n rsync.altlinux.org::ALTLinux/4.0/branch/files/SRPMS/ |fgrep
-wf <(!!)
-rw-r--r--        843,709 2006/12/29 02:38:18 dar-2.3.2-alt0.1.1.src.rpm
-rw-r--r--        871,980 2007/02/28 01:22:35 dar-2.3.3-alt1.src.rpm
-rw-r--r--        894,623 2005/01/18 17:25:23 gmorgan-0.23-alt0.5.1.src.rpm
-rw-r--r--        790,872 2006/07/11 17:12:33 gmorgan-0.25-alt1.src.rpm
-rw-r--r--        739,181 2006/01/07 23:06:14 ht-0.9.1-alt2.src.rpm
-rw-r--r--        774,564 2006/06/05 10:32:23 ht-0.9.2-alt1.src.rpm
-rw-r--r--        130,951 2006/10/13 13:43:17
libgtksourceview-sharp-0.10-alt4.src.rpm
-rw-r--r--        131,035 2007/03/20 15:01:07
libgtksourceview-sharp-0.10-alt5.src.rpm
-rw-r--r--        140,224 2006/02/17 20:26:48 memtest86+-1.65-alt2.src.rpm
-rw-r--r--        140,383 2006/10/23 17:18:44 memtest86+-1.65-alt3.src.rpm
-rw-r--r--        552,501 2006/12/31 01:23:57 muine-0.8.6-alt0.3.src.rpm
-rw-r--r--        553,673 2007/03/07 11:51:15 muine-0.8.6-alt1.src.rpm
-rw-r--r--        261,879 2005/01/31 15:43:38 orpheus-1.5-alt2.src.rpm
-rw-r--r--        321,524 2006/07/02 21:23:40 orpheus-1.6-alt1.src.rpm
-rw-r--r--        176,740 2006/01/26 17:31:01 stardict-sdcv-0.4-alt0.1.src.rpm
-rw-r--r--        186,013 2006/10/15 02:24:21 stardict-sdcv-0.4.2-alt0.1.src.rpm
-rw-r--r--      1,025,673 2006/03/23 21:18:34 wwwoffle-2.8e-alt1.src.rpm
-rw-r--r--      1,083,593 2006/04/10 23:48:47 wwwoffle-2.9-alt1.src.rpm
$


  parent reply	other threads:[~2016-07-05 21:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-05 19:54 Igor Zubkov
2016-07-05 19:59 ` Dmitry V. Levin
2016-07-05 21:13 ` Alexey Tourbin [this message]
2016-07-05 23:17   ` Dmitry V. Levin
2016-07-06  8:26     ` Igor Zubkov
2016-07-06  8:51     ` Dmitry V. Levin

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=CA+qzenmhP5kKRtrvTjOzimeGizQW6AUMGfnpyMKSgcObPp47GA@mail.gmail.com \
    --to=alexey.tourbin@gmail.com \
    --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