ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] genbasedir & unique package list
Date: Mon, 7 Dec 2009 09:37:19 +0300
Message-ID: <20091207063718.GA9694@altlinux.org> (raw)
In-Reply-To: <4B1C918B.9040908@mmedia2.kemsu.ru>

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

On Mon, Dec 07, 2009 at 12:24:27PM +0700, REAL wrote:
> Alexey Tourbin пишет:
> >Там ещё есть /usr/bin/rpmdups и rpmrdups, чем 
> >отличаются не помню.
> 
> Если бы ещё хотя бы описание какое-то 
> было... Оно даже --help не понимает.

$ rpm -qi rpm-utils
+ rpmdups,rpmrdups - generates list of duplicated packages;

[at@altair ~]$ rpmpeek /ALT/5.0/files/SRPMS/incominger-code-0.0.1-alt1.src.rpm zsh
root@altair .private/at/rpmpeek.iq7SlCB9 # tar xf incominger-0.0.1.tar.bz2
root@altair .private/at/rpmpeek.iq7SlCB9 # grep -C1 -r rpmrdups incominger-0.0.1/
incominger-0.0.1/helper/dups-for n in `ls -1 |grep ".src.rpm\$" |cut -c1 |LC_COLLATE=C sort -u`; do
incominger-0.0.1/helper/dups:    rpmrdups "$n"*.src.rpm | cut -d\  -f2- | tr \  \\n | xargs -r $TEST rm $verbose -f --
incominger-0.0.1/helper/dups-done
--
incominger-0.0.1/bin/gaffer-    [ -n "$list" ] && 
incominger-0.0.1/bin/gaffer:    rpmrdups "$f" $list | cut -d\  -f2- | fgrep -qs "$fn" &&
incominger-0.0.1/bin/gaffer-    $TEST rm -f -- "$f" &&
--
incominger-0.0.1/bin/check-for n in `ls -1 "$src/" |grep ".src.rpm\$" |cut -c1 |LC_COLLATE=C sort -u`; do
incominger-0.0.1/bin/check:    rpmrdups "$n"*.src.rpm | cut -d\  -f2- | tr \  \\n | 
incominger-0.0.1/bin/check-    while read p; do
--
incominger-0.0.1/bin/align-    if [ "$n" -gt 1 ]; then
incominger-0.0.1/bin/align:     srpm="$(printf %s\\n "$list" | xargs -r rpmrdups |cut -d\  -f1)"
incominger-0.0.1/bin/align-    elif [ "$n" -eq 1 ]; then
root@altair .private/at/rpmpeek.iq7SlCB9 # 

> >Лучше не делать самодельных 
> >репозиториев, потому что это, хм, очень
> >сложно (и скорее всего какая-нибудь 
> >дрянь получится).  Но конечно сердцу
> >не прикажешь.
> 
> А дело не в сердце, а в том, что есть 
> ситуации, когда иного выхода нет.
> 
> PS. Ну и дряни как-то не делаем ;)

Гадость это ваша рыба заливная. :)

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

  reply	other threads:[~2009-12-07  6:37 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-04  5:28 REAL
2009-12-04  5:32 ` Alexey Tourbin
2009-12-04  5:55   ` REAL
2009-12-04  5:54     ` Alexey Tourbin
2009-12-04  6:16       ` REAL
2009-12-04  6:06         ` Alexey Tourbin
2009-12-04  6:30     ` REAL
2009-12-04 17:51   ` Rinat Bikov
2009-12-04 17:56     ` Led
2009-12-04 18:07       ` Rinat Bikov
2009-12-04 18:13         ` Dmitry V. Levin
2009-12-05  0:44           ` Rinat Bikov
2009-12-05  6:54             ` Alexey Tourbin
2009-12-07  5:24               ` REAL
2009-12-07  6:37                 ` Alexey Tourbin [this message]
2009-12-07  7:34                   ` REAL
2009-12-08 11:55                     ` [devel] [JT] HOBbI (was: genbasedir & unique package list) Michael Shigorin
2009-12-07  6:50               ` [devel] genbasedir & unique package list REAL
2009-12-07  6:39                 ` Alexey Tourbin
2009-12-04 18:14         ` Led
2009-12-04 21:17           ` Kharitonov A. Dmitry
2009-12-04 16:24 ` Led
2009-12-07  4:32   ` REAL

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=20091207063718.GA9694@altlinux.org \
    --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