ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Mikhail Yakshin <greycat@altlinux.org>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] I: rubygems and ruby-rails
Date: Thu, 01 Sep 2005 10:01:40 +0400
Message-ID: <43169944.50502@altlinux.org> (raw)
In-Reply-To: <20050901054322.GB9457@immo.ru>

Alexey I.Froloff пишет:
> * Mikhail Yakshin <greycat@> [050901 01:37]:
> 
>>Во-вторых, хочу представить общественности примерный драфт 
>>rubygems-полиси для упаковки gem'ов в ALT:
> 
> rubygems - совершенно уродская система именно из-за расположения
> самих gem'ов.  Насколько я помню, там получается свалка из
> бинарных и небинарных файлов в %_datadir...

Получается. Только в %_libdir.

> Ещё rubygems позволяет установить несколько версий однго пакета -
> это тоже не нужно в нормалььной системе.

rpm тоже позволяет. Даже apt, с allow duplicate. И что теперь? %)

> Лучше из gem'ов собирать честные rpm пакеты, а метод requre_gem
> переписать чтобы работал как require.
> 
> P.S. От своих пакетов я первым делом отрываю rubygems ;-)

Зачем проделывать дважды работу, уже проделанную тем, кто собирал gem? 
Такие радикальные меры как "поотрывать gem" - это сложно и чревато, 
особенно, когда мы имеем в виду не один пакет, а как rails - под десяток 
пакетов, с не очень тривиальным графом зависимостей.

Под самим rails - 6 библиотек и одна утилита (rake). Потом сам rails. 
Потом немерянное количество добавочных библиотек (дополнительных 
генераторов, расширений, модулей и т.п.), которое можно доставлять 
средствами gem. Зачем от этого отказываться? С каждым следующим пакетом 
отрывать все эти gem-зависимости будет все сложнее и сложнее. Это 
примерно как если бы мы не распаковывали tarball'ы и делали

./configure; make; make install

а делали первым делом

rm -f configure

и потом в спеке прямо вызывали вручную компиляторы и потом все руками 
копировали для устанавок.

-- 
WBR, Mikhail Yakshin AKA GreyCat
ALT Linux [http://www.altlinux.ru] [xmpp:greycat@altlinux.org]


  reply	other threads:[~2005-09-01  6:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-31 21:36 Mikhail Yakshin
2005-09-01  5:43 ` Alexey I.Froloff
2005-09-01  6:01   ` Mikhail Yakshin [this message]
2005-09-01  7:07     ` Alexey I.Froloff
2005-09-01  9:31       ` Mikhail Yakshin
2005-09-01  9:42         ` Alexey I.Froloff
2005-09-01 10:17           ` Mikhail Yakshin
2005-09-01 10:37             ` [sisyphus] " Michael Shigorin
2005-09-01 10:52             ` [sisyphus] " Alexey I.Froloff
2005-09-01 11:11             ` Alexey I.Froloff
2005-09-01  8:52 ` [sisyphus] " Michael Shigorin
2005-09-01  9:26   ` Alexey I.Froloff
2005-09-01  9:30     ` Michael Shigorin
2005-09-01 10:02       ` Mikhail Yakshin
2005-09-01 11:45 ` [sisyphus] " Kirill A.Shutemov
2005-09-01 11:59   ` Alexey I.Froloff

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=43169944.50502@altlinux.org \
    --to=greycat@altlinux.org \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git