ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Java autoreq/autoprov draft
Date: Thu, 15 Feb 2007 12:24:00 +0300
Message-ID: <20070215092400.GF9824@localhost.localdomain> (raw)
In-Reply-To: <679044850702061421q6ae68ee1j6f263daae18620e2@mail.gmail.com>

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

On Wed, Feb 07, 2007 at 01:21:37AM +0300, Damir Shayhutdinov wrote:
> > А разве нельзя залезать в .jar, разбирать .class файлы и находить все
> > объекты, которые в них используются? Так получится Requires.
> > А Provides вообще получаются анализом содержимого .jar файла.
> >
> > Примеры зависимости: Java(org.apache.xpath.XPath)
> > Правда получится довольно много этих самых Provides и Requires :( Зато
> > автоматом.
> Появилась идея получше. Так как минимальной файловой единицей в Java
> является .jar-файл, то Provides/Requires можно в принципе
> организовывать на них.
> 
> Вот например в пакете jakarta-oro
> 
> rpm -ql jakarta-oro | fgrep .jar
> /usr/share/java/jakarta-oro.jar
> 
> находится один .jar файл.
> 
> Поэтому можно присвоить пакету jakarta-oro следующие auto provides:
> 
> Java(jakarta-oro)
> 
> Это выглядит довольно легко.
> 
> Теперь сложная часть - поиск Requires.
> 
> Для этого надо сначала пройтись по всем .jar файлам в /usr/share/java
> и составить списки всех .class файлов находящихся в них.

То есть предлагается ставить только такие зависимости Requires, которые
заведомо удовлетворены в сборочной среде?  Сомнительно.

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

  parent reply	other threads:[~2007-02-15  9:24 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-06 22:21 Damir Shayhutdinov
2007-02-07  5:37 ` Ildar Mulyukov
2007-02-07  8:23   ` Damir Shayhutdinov
2007-02-07 12:56     ` Ildar Mulyukov
2007-02-07 16:47     ` Igor Vlasenko
2007-02-08  9:51     ` Igor Vlasenko
2007-02-08 10:13       ` Damir Shayhutdinov
2007-02-08 10:36         ` Igor Vlasenko
2007-02-08 12:17           ` Damir Shayhutdinov
2007-02-08 12:56             ` Igor Vlasenko
2007-02-15 10:27               ` Alexey Tourbin
2007-02-15 11:07             ` Alexey Tourbin
2007-02-15 14:36               ` Igor Vlasenko
2007-02-15 14:45                 ` Damir Shayhutdinov
2007-02-15 15:02                   ` Igor Vlasenko
2007-02-15 17:36                 ` Alexey Tourbin
2007-02-15 20:55                   ` Igor Vlasenko
2007-02-19  5:31                     ` Eugene Prokopiev
2007-02-22 16:19             ` [devel] ant Igor Vlasenko
2007-02-15 10:00         ` [devel] Java autoreq/autoprov draft Alexey Tourbin
2007-02-15  9:42   ` Alexey Tourbin
2007-02-15 18:15     ` Alexey Tourbin
2007-02-15  9:24 ` Alexey Tourbin [this message]
2007-02-15  9:34   ` Damir Shayhutdinov
2007-02-15  9:55     ` Alexey Tourbin
2007-02-15 10:18       ` Damir Shayhutdinov
2007-02-15 10:24         ` Alexey Tourbin

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=20070215092400.GF9824@localhost.localdomain \
    --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