ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] rebuild for soname set-versions
Date: Thu, 21 Oct 2010 14:26:09 +0300
Message-ID: <20101021112608.GA4158@dad.imath.kiev.ua> (raw)
In-Reply-To: <20101021111517.GA29138@mw.mithraen.ru>

On Thu, Oct 21, 2010 at 03:15:17PM +0400, Денис Смирнов wrote:
> IV> выдаст отсортированный по частичному порядку "зависит от" список.
> У меня же не нужны "настоящие" зависимости :)
> Все проще. Есть список типа:
> 
> abc def
> abc efg
> def abc
> 
> Смысел этого "abc надо собирать после def и efg, а def после abc".
> Вот из этого очевидно, что efg надо явно собрать раньше всех. А вот abc и
> def составляют собой цикл, который надо разрывать.
> Вот как в таком списке увидеть циклы?
можно напрямую вызвать утилиту girar-nmu-helper-pos-sort из girar-nmu 0.08/09
Только для нее ввод надо будет подготовить --
строки поменять на циферьки,
как это делает обвязка girar-nmu-helper-sort-transaction.

girar-nmu.git $ girar-nmu-helper-pos-sort 
usage: girar-nmu-pos-sort [-c] [-C outfile] <num of elements>
options:
        -c      exit if cycle detected
        -C <outfile>    output cycle information to outfile

Коддируем:
abc -> 0 
def -> 1
efg -> 2

Запускаем:
girar-nmu.git $ girar-nmu-helper-pos-sort -C cycles.out 3
0 1
0 2
1 0
^D
выдаст сортировку
2
0
1
и смотрим циклы
girar-nmu.git $ cat cycles.out
0
1


-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine



  reply	other threads:[~2010-10-21 11:26 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-20 10:11 ` [devel] [SCM] packages/metis: heads/master Dmitry V. Levin
2010-10-20  9:28   ` REAL
2010-10-20 10:26     ` [devel] rebuild for soname set-versions Dmitry V. Levin
2010-10-20  9:35       ` REAL
2010-10-20  9:44       ` REAL
2010-10-20 12:13         ` Dmitry V. Levin
2010-10-20 17:08           ` Michael Shigorin
2010-10-21  2:25             ` REAL
2010-10-21 11:40               ` Sergey Y. Afonin
2010-10-22  4:04                 ` REAL
2010-10-22 13:24               ` Michael Shigorin
2010-10-21  2:53           ` Денис Смирнов
2010-10-21  2:27             ` REAL
2010-10-21  3:44               ` Денис Смирнов
2010-10-21  3:21                 ` REAL
2010-10-21  5:41             ` Timur Batyrshin
2010-10-21  5:43               ` Денис Смирнов
2010-10-21  7:21                 ` Dmitry V. Levin
2010-10-21  7:55                   ` Vladislav Zavjalov
2010-10-21  8:48                   ` Денис Смирнов
2010-10-21 10:38                     ` Igor Vlasenko
2010-10-21 11:15                       ` Денис Смирнов
2010-10-21 11:26                         ` Igor Vlasenko [this message]
2010-10-21 12:10                           ` Денис Смирнов
2010-10-21 12:26                             ` Alexey I. Froloff
2010-10-21 12:27                               ` Денис Смирнов
2010-10-21 14:04                             ` Igor Vlasenko
2010-10-21 20:14                               ` Денис Смирнов
2010-10-21 20:34                                 ` Igor Vlasenko
2010-10-22  8:11                                   ` Денис Смирнов
2010-10-22 10:40                                     ` Igor Vlasenko
2010-10-22 10:51                                       ` Денис Смирнов
2010-10-21 13:07                     ` Dmitry V. Levin
2010-10-21 13:16                       ` Ildar Mulyukov
2010-10-21 18:02                         ` Денис Смирнов
2010-10-21 12:14                   ` Денис Смирнов
2010-10-22  4:25                     ` REAL
2010-10-22  9:13                       ` Денис Смирнов
2010-10-22  4:49                     ` REAL
2010-10-22  9:12                       ` Денис Смирнов
2010-10-21  7:07             ` REAL
2010-10-21  7:40               ` REAL
2010-10-21  9:32             ` Aleksey Avdeev
2010-10-25  8:10             ` Sergei Epiphanov

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=20101021112608.GA4158@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --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