ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] osec_rpm_reporter
Date: Sat, 26 Jan 2013 16:25:45 +0400
Message-ID: <20130126122544.GB3362@altlinux.org> (raw)
In-Reply-To: <5103BC3B.6080401@altlinux.ru>

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

On Sat, Jan 26, 2013 at 03:21:31PM +0400, Alexey Gladkov wrote:
> 25.01.2013 18:48, Dmitry V. Levin wrote:
> > А почему, кстати, osec_rpm_reporter входит в состав osec-mailreport?  Это
> > же просто фильтр, он не шлет почту, и не используется напрямую ниоткуда.
> > Понятно, что при желании osec, наверное, можно настроить на использование
> > этого фильтра, но все же?
> 
> Это исторически сложившееся дополнение к osec_reporter. Утилита
> osec_rpm_reporter принимает на вход отчёт утилиты osec_reporter. Они
> имеют смысл только вместе.

osec_rpm_reporter это чистый фильтр, stdin на входе, stdout на выходе,
и /var/lib/rpm/ сбоку для консультаций.  Он не использует osec, и osec
не использует его.  Его можно было бы установить и использовать отдельно
от osec, например:
$ echo ' - /bin/ls' | osec_rpm_reporter
	- [coreutils] /bin/ls

К чему это я говорю?  Если тебя смущает зависимость osec на perl-RPM,
адресуй свои претензии мейнтейнеру пакета osec, который (за компанию,
потому что так исторически сложилось) сделал так, что уже сейчас, вне
зависимости от strict/nonstrict deps, невозможно установить osec без
практически никем не используемого фильтра osec_rpm_reporter, который,
в свою очередь, использует perl-RPM.

Не говоря уже о том, что если бы osec_rpm_reporter действительно
использовался, то переписать его на C не составило бы труда.

> Вообще, все фильтры и отчёты соединяется в osec в виде пайпов. Они
> соединяются через конфиг файлы.

osec_rpm_reporter не использует /etc/osec/pipe.conf, это чистый фильтр.

> Именно поэтому в этом пакете не имеет смысла делать жёсткие
> зависимости. Они не нужны by-degign.

Поскольку альтернатив osec-mailreport'у нет, зависимость на реализуемый им
osec-reporter, не будучи формально строгой, является строгой фактически,
и rpmbuild просто формализует сложившееся положение вещей.


-- 
ldv

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

  reply	other threads:[~2013-01-26 12:25 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-25  9:28 [devel] I: repocop NMU Igor Vlasenko
2013-01-25  9:56 ` Yuri N. Sedunov
2013-01-28 13:22           ` Igor Vlasenko
2013-01-25  9:57 ` Aleksey Avdeev
2013-01-25 10:10   ` Igor Vlasenko
2013-01-25 10:25     ` Aleksey Avdeev
2013-01-26 10:28       ` Aleksey Avdeev
2013-01-25  9:59 ` Alexey Gladkov
2013-01-25 10:11   ` Igor Vlasenko
2013-01-25 10:53 ` Dmitry V. Levin
2013-01-25 11:07   ` Aleksey Avdeev
2013-01-25 11:34     ` Dmitry V. Levin
2013-01-25 11:58       ` Aleksey Avdeev
2013-01-25 12:07         ` [devel] I: repocop NMU [JT] Sergei Epiphanov
2013-01-25 12:11         ` [devel] I: repocop NMU Aleksey Novodvorsky
2013-01-25 12:17           ` Dmitry V. Levin
2013-01-25 12:27           ` Sergey V Turchin
2013-01-25 12:35             ` Sergey V Turchin
2013-01-25 12:40               ` Dmitry V. Levin
2013-01-25 12:42                 ` Sergey V Turchin
2013-01-25 13:00                   ` Dmitry V. Levin
2013-01-25 13:01                     ` Sergey V Turchin
2013-01-25 12:39             ` Dmitry V. Levin
2013-01-25 12:44               ` Sergey V Turchin
2013-01-25 12:13         ` Dmitry V. Levin
2013-01-25 12:26           ` Aleksey Avdeev
2013-01-25 12:10       ` Viacheslav Dubrovskyi
2013-01-25 12:13   ` Alexey Gladkov
2013-01-25 12:32     ` [devel] non-strict deps Dmitry V. Levin
2013-01-25 12:39       ` Aleksey Avdeev
2013-01-25 12:51         ` Dmitry V. Levin
2013-01-25 12:55           ` Alexey Gladkov
2013-01-25 13:00             ` Alexey Gladkov
2013-01-25 13:03               ` Dmitry V. Levin
2013-01-25 13:15                 ` Alexey Gladkov
2013-01-25 14:48                   ` [devel] osec_rpm_reporter Dmitry V. Levin
2013-01-26 11:21                     ` Alexey Gladkov
2013-01-26 12:25                       ` Dmitry V. Levin [this message]
2013-01-26 12:46                         ` Alexey Gladkov
2013-01-26 13:05                           ` Dmitry V. Levin
2013-01-26 14:38                             ` Alexey Gladkov
2013-01-25 13:01           ` [devel] non-strict deps Aleksey Avdeev
2013-01-25 14:54             ` Led
2013-01-25 15:11               ` Dmitry V. Levin
2013-01-26 11:30                 ` [devel] non-strict deps Зачем? Alexey Gladkov
2013-01-26 12:08                   ` Dmitry V. Levin
2013-01-26 12:35                     ` Alexey Gladkov
2013-01-26 13:32                       ` Dmitry V. Levin
2013-01-26 18:55                         ` Aleksey Avdeev
2013-01-28 11:33                     ` Sergey V Turchin
2013-01-25 12:46       ` [devel] non-strict deps Alexey Gladkov
2013-01-25 12:50         ` Aleksey Avdeev
2013-01-25 12:58         ` Dmitry V. Levin
2013-01-25 13:00           ` Sergey V Turchin
2013-01-25 12:59       ` Sergei Epiphanov
2013-01-25 14:49       ` Led
2013-01-25 15:09         ` Dmitry V. Levin
2013-01-25 15:28           ` Aleksey Avdeev
2013-01-25 15:32           ` Sergey V Turchin
2013-01-25 15:38             ` Dmitry V. Levin
2013-01-25 15:40               ` Sergey V Turchin
2013-01-26 13:30       ` Sergey Vlasov
2013-01-26 14:17         ` Dmitry V. Levin
2013-01-26 16:19           ` Sergey Vlasov
2013-01-26 19:05             ` Aleksey Avdeev
2013-01-26 19:21               ` Dmitry V. Levin
2013-01-26 19:36               ` Sergey Vlasov
2013-01-26 19:14             ` Dmitry V. Levin
2013-01-26 20:44               ` Aleksey Avdeev
2013-01-27  7:07               ` Sergey Vlasov
2013-01-28 17:01             ` Dmitry V. Levin
2013-01-28 13:04   ` [devel] I: repocop NMU Igor Vlasenko
2013-01-28 13:15     ` 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=20130126122544.GB3362@altlinux.org \
    --to=ldv@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