ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Zubkov <igor.zubkov@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] Дубликаты пакетов в репозитории
Date: Tue, 5 Jul 2016 22:54:59 +0300
Message-ID: <CAJXf7QP8OHiWQ1SdfbHQEEofOWa-kz+HVPOCTPi8tS1VBePHVQ@mail.gmail.com> (raw)

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}).

Это в консоли prometheus2.0. Я могу могу показать список этих пакетов.

Эта проблема не относится только к 4.0 бранчу. Нужны имена всех всех
этих пакетов? И во всех бранчах?

-- 
Igor Zubkov
http://hi.im/ice

             reply	other threads:[~2016-07-05 19:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-05 19:54 Igor Zubkov [this message]
2016-07-05 19:59 ` Dmitry V. Levin
2016-07-05 21:13 ` Alexey Tourbin
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=CAJXf7QP8OHiWQ1SdfbHQEEofOWa-kz+HVPOCTPi8tS1VBePHVQ@mail.gmail.com \
    --to=igor.zubkov@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