[#5737] returning strings from methods/instance_methods — TRANS <transfire@...>

I was just wondering why with #methods and #instance_methods, it was

11 messages 2005/09/08

[#5796] proposed attr writer patch — Daniel Berger <Daniel.Berger@...>

Hi all,

18 messages 2005/09/16

[#5798] Makefile error in OpenSLL extension (on Windows) — noreply@...

Bugs item #2472, was opened at 2005-09-16 18:56

11 messages 2005/09/17
[#5800] Re: [ ruby-Bugs-2472 ] Makefile error in OpenSLL extension (on Windows) — nobu.nokada@... 2005/09/17

Hi,

[#5851] Re: RubyGems in Ruby HEAD — Paul van Tilburg <paul@...>

Hi all,

34 messages 2005/09/21
[#5867] Re: RubyGems in Ruby HEAD — mathew <meta@...> 2005/09/21

Paul van Tilburg wrote:

[#5870] Re: RubyGems in Ruby HEAD — Marc Dequènes (Duck) <Duck@...> 2005/09/21

[#5920] Re: RubyGems in Ruby HEAD — mathew <meta@...> 2005/09/22

Marc Dequ竪nes (Duck) wrote:

[#5926] Re: RubyGems in Ruby HEAD — Pascal Terjan <pterjan@...> 2005/09/23

On 9/22/05, mathew <meta@pobox.com> wrote:

[#5931] Re: RubyGems in Ruby HEAD — Austin Ziegler <halostatue@...> 2005/09/23

On 9/23/05, Pascal Terjan <pterjan@gmail.com> wrote:

[#5898] Delegate and Forwardable Documentation — James Edward Gray II <james@...>

I've tried to send these files through a couple of times now with

17 messages 2005/09/22
[#5911] Re: Delegate and Forwardable Documentation — James Edward Gray II <james@...> 2005/09/22

On Sep 22, 2005, at 9:02 AM, James Edward Gray II wrote:

[#5924] Re: Delegate and Forwardable Documentation — James Edward Gray II <james@...> 2005/09/23

On Sep 22, 2005, at 11:53 AM, James Edward Gray II wrote:

[#5941] Re: Delegate and Forwardable Documentation — Yukihiro Matsumoto <matz@...> 2005/09/23

Hi,

[#5942] Re: Delegate and Forwardable Documentation — James Edward Gray II <james@...> 2005/09/23

On Sep 23, 2005, at 10:54 AM, Yukihiro Matsumoto wrote:

[#5947] Re: Delegate and Forwardable Documentation — Yukihiro Matsumoto <matz@...> 2005/09/23

Hi,

[#5921] Mutually dependent libs double loading. — TRANS <transfire@...>

I'm on Ruby 1.8.2.

14 messages 2005/09/23
[#5923] Re: Mutually dependent libs double loading. — Florian Gro<florgro@...> 2005/09/23

TRANS wrote:

[#5985] Finally an answer to my RubyGems question and some small suggestions — TRANS <transfire@...>

I appreciate those that attempted to offer me some info on this issue.

9 messages 2005/09/26

[#6001] Require Namepaces and RubyGems' effect on LoadPath problem — TRANS <transfire@...>

I've added namespaces to require. Works like this:

94 messages 2005/09/26
[#6002] Re: Require Namepaces and RubyGems' effect on LoadPath problem — Austin Ziegler <halostatue@...> 2005/09/26

On 9/26/05, TRANS <transfire@gmail.com> wrote:

[#6003] Re: Require Namepaces and RubyGems' effect on LoadPath problem — TRANS <transfire@...> 2005/09/26

On 9/26/05, Austin Ziegler <halostatue@gmail.com> wrote:

[#6005] Re: Require Namepaces and RubyGems' effect on LoadPath problem — Austin Ziegler <halostatue@...> 2005/09/26

On 9/26/05, TRANS <transfire@gmail.com> wrote:

[#6007] gems is a language change, not a pkging system (Re: Require Namepaces and RubyGems' effect on LoadPath problem) — Sam Roberts <sroberts@...> 2005/09/26

Quoting halostatue@gmail.com, on Tue, Sep 27, 2005 at 06:02:07AM +0900:

[#6013] Re: gems is a language change, not a pkging system (Re: Require Namepaces and RubyGems' effect on LoadPath problem) — Austin Ziegler <halostatue@...> 2005/09/27

On 9/26/05, Sam Roberts <sroberts@uniserve.com> wrote:

[#6014] Re: gems is a language change, not a pkging system — Sam Roberts <sroberts@...> 2005/09/27

Quoting halostatue@gmail.com, on Tue, Sep 27, 2005 at 10:29:17AM +0900:

[#6015] Re: gems is a language change, not a pkging system — James Edward Gray II <james@...> 2005/09/27

On Sep 26, 2005, at 8:54 PM, Sam Roberts wrote:

[#6016] Re: gems is a language change, not a pkging system — Sam Roberts <sroberts@...> 2005/09/27

Quoting james@grayproductions.net, on Tue, Sep 27, 2005 at 11:06:01AM +0900:

[#6018] Re: gems is a language change, not a pkging system — Austin Ziegler <halostatue@...> 2005/09/27

On 9/26/05, Sam Roberts <sroberts@uniserve.com> wrote:

[#6019] Re: gems is a language change, not a pkging system — Sam Roberts <sroberts@...> 2005/09/27

Quoting halostatue@gmail.com, on Tue, Sep 27, 2005 at 11:49:14AM +0900:

[#6024] Re: gems is a language change, not a pkging system — Austin Ziegler <halostatue@...> 2005/09/27

On 9/27/05, Sam Roberts <sroberts@uniserve.com> wrote:

[#6025] Re: gems is a language change, not a pkging system — Ralph Amissah <ralph.amissah@...> 2005/09/27

> Right now, they're watching people who have pretty much sat on the side

[#6026] Re: gems is a language change, not a pkging system — Austin Ziegler <halostatue@...> 2005/09/27

On 9/27/05, Ralph Amissah <ralph.amissah@gmail.com> wrote:

[#6043] Re: gems is a language change, not a pkging system — Ralph Amissah <ralph.amissah@...> 2005/09/28

I'll greatly weaken my post, and give everyone the opportunity to head me

[#6044] Re: gems is a language change, not a pkging system — Hugh Sasse <hgs@...> 2005/09/28

On Wed, 28 Sep 2005, Ralph Amissah wrote:

[#6073] Re: gems is a language change, not a pkging system — Mauricio Fern疣dez <mfp@...> 2005/09/28

Hello,

[#6074] Re: gems is a language change, not a pkging system — Jim Weirich <jim@...> 2005/09/29

On Wednesday 28 September 2005 07:35 pm, Mauricio Fern疣dez wrote:

[#6017] Re: gems is a language change, not a pkging system — Austin Ziegler <halostatue@...> 2005/09/27

On 9/26/05, Sam Roberts <sroberts@uniserve.com> wrote:

[#6046] Re: gems is a language change, not a pkging system — "Sean E. Russell" <ser@...> 2005/09/28

On Monday 26 September 2005 22:41, Austin Ziegler wrote:

[#6050] Re: gems is a language change, not a pkging system — Hugh Sasse <hgs@...> 2005/09/28

On Wed, 28 Sep 2005, Sean E. Russell wrote:

[#6207] Re: gems is a language change, not a pkging system — "Sean E. Russell" <ser@...> 2005/10/10

On Wednesday 28 September 2005 08:54, Hugh Sasse wrote:

[#6045] Re: gems is a language change, not a pkging system (Re: Require Namepaces and RubyGems' effect on LoadPath problem) — "Sean E. Russell" <ser@...> 2005/09/28

On Monday 26 September 2005 21:29, Austin Ziegler wrote:

[#6048] Re: gems is a language change, not a pkging system (Re: Require Namepaces and RubyGems' effect on LoadPath problem) — Austin Ziegler <halostatue@...> 2005/09/28

On 9/28/05, Sean E. Russell <ser@germane-software.com> wrote:

[#6059] Re: gems is a language change, not a pkging system (Re: Require Namepaces and RubyGems' effect on LoadPath problem) — Dominique Brezinski <dominique.brezinski@...> 2005/09/28

On 9/28/05, Austin Ziegler <halostatue@gmail.com> wrote:

[#6061] Re: gems is a language change, not a pkging system (Re: Require Namepaces and RubyGems' effect on LoadPath problem) — Austin Ziegler <halostatue@...> 2005/09/28

On 9/28/05, Dominique Brezinski <dominique.brezinski@gmail.com> wrote:

[#6062] Re: gems is a language change, not a pkging system (Re: Require Namepaces and RubyGems' effect on LoadPath problem) — Dominique Brezinski <dominique.brezinski@...> 2005/09/28

For what it is worth, I live life behind an authenticated proxy, so I

[#6099] Re: gems is a language change, not a pkging system (Re: Require Namepaces and RubyGems' effect on LoadPath problem) — "Sean E. Russell" <ser@...> 2005/09/30

On Wednesday 28 September 2005 08:43, Austin Ziegler wrote:

[#6009] Re: ruby 1.8.3 (2005-09-21) [i486-linux] sisu segfault — Ralph Amissah <ralph.amissah@...>

(i) correction, segfault is with official ruby 1.8.3 (2005-09-21), not

21 messages 2005/09/27
[#6010] Fwd: ruby 1.8.3 (2005-09-21) [i486-linux] sisu segfault — Ralph Amissah <ralph.amissah@...> 2005/09/27

[sorry for duplicate post]

[#6079] Re: Fwd: ruby 1.8.3 (2005-09-21) [i486-linux] sisu segfault — ts <decoux@...> 2005/09/29

>>>>> "R" == Ralph Amissah <ralph.amissah@gmail.com> writes:

[#6081] Re: Fwd: ruby 1.8.3 (2005-09-21) [i486-linux] sisu segfault — ts <decoux@...> 2005/09/29

>>>>> "t" == ts <decoux@moulon.inra.fr> writes:

[#6082] Re: Fwd: ruby 1.8.3 (2005-09-21) [i486-linux] sisu segfault — Tanaka Akira <akr@...17n.org> 2005/09/29

In article <200509291419.j8TEJYid015419@moulon.inra.fr>,

Re: RubyGems TODO

From: Austin Ziegler <halostatue@...>
Date: 2005-09-22 04:12:58 UTC
List: ruby-core #5882
Okay. I said in the main thread on ruby-core that I'm putting together a
proposal for this. Here's the set of proposals. I would happily assist
in the development of any of these, but I am completely swamped until
after RubyConf. None of the problems are conceptually difficult and I
believe that the model that we should encourage is that package
maintainers should trust RubyGems to do its job properly, because it
does its job a *lot* better than CPAN does (IMO). To be clear, I *do
not* think that we should encourage the manual unpacking and
installation of gems and that if repackagers do that, they're doing
something that is contraindicated and they're hanging their users out to
dry.

This list, obviously, is my opinion. None of this eliminates other
possible improvements already on this thread.

1. require_gem needs to go away. We still need a way of saying that gem
   foo-1.3.5 represents foo/bar version 1.3.5, but I believe that this
   can be done with modifications to Kernel#require to accept a version
   parameter. The drawback, of course, is that this means that the
   require code has to be smarter. Eliminating require_gem will also
   eliminate the auto_require feature, something I think I'm going to
   get rid of from my own gems moving forward in any case.

2. If require_gem is eliminated and replaced with activation (per
   earlier discussions, also #4 on Chad's -core list), then we can even
   get RPA-like "stable release suite" concepts, so that you can have a
   metagem (no different than a real gem) such that you might do:

     require 'gemreview/rails', '1.0.0'

   This could activate a series of gems related to Rails produced by the
   "gemreview" team. Activation would be the equivalent of locking a
   gem's path into $LOAD_PATH.

   The search order should be:

     manually activated gems
     site_ruby
     installed gems
     ruby-lib

3. Eliminate case-sensitivity. Having a Usage gem or a RedCloth gem is
   confusing. At the same time, I will also acknowledge that there's a
   mismatch between gem names (e.g., pdf-writer, color-tools) and what
   they provide (e.g., pdf/writer and color). There's got to be a better
   way to handle gem naming issues and mapping issues. This is, IMO,
   vital to #2.

4. DATADIR must be addressed. However, it must be addressed in a Ruby
   and RubyGems way. That is to say that I need something like
   $DATA_PATH as an equivalent for $LOAD_PATH, and I need versioning.
   Ruwiki includes its documentation as a read-only wiki that's
   installed with Ruwiki. It also has a version-specific default
   package. PDF::Writer needs this less, but I absolutely need a way --
   in code -- that I can get a clean data directory that will work
   whether or not a package is installed as a gem. This is an
   opportunity to fix what I consider a Ruby problem. Also note that
   IMO, this is especially important on Win32, as what's in rbconfig MAY
   NOT be in the same place as when it was built. I don't think this is
   a huge issue, here, but it's still important. Unless the DATADIR
   solution is solved in a version-aware way, however, I will continue
   to package data relative to __FILE__, and I will continue to Not Care
   what this does to repackagers -- because I know what my application
   requires.

5. T.'s problem of detecting manual installation dependencies is a good
   one, and I'm not sure that there's a good answer. Ultimately, it's
   not a problem when *running*, but perhaps RubyGems should be a little
   more tolerant of missing gem dependencies.

6. Post-installation message capabilities. Let me give the user a
   message to see after they've installed the gem.

7. It might be useful to have a LICENCE field so that users could
   possibly develop installation policies (for those zealots who won't
   install anything that isn't GNU GPLed).

8. This is also not completely Gem related, but it would be nice, for
   extensions, to be able to detect where one's development environment
   might be on Windows.

9. External (e.g., non-Ruby) dependencies references would be useful.
   I'm thinking something like:

     spec.external_dependencies = { 'ImageMagick' => 'http://....' }

10. "Optional" dependencies. That is, things that aren't *required* to
    make the gem work, but can add additional functionality. This would
    apply to both gem dependencies (as Text::Format can use
    Text::Hyphen, but doesn't require it for basic operation) and
    external dependencies.

11. Architecture-dependent and architecture-independent directories.
    This is potentially a big shift in the way things work, as it goes
    out of the dir-per-gem-version style. Sort of. The current
    installation is something like:

      /usr/local/lib/ruby/gems/1.8/gems/foogem-1.3/lib/foo.rb
      /usr/local/lib/ruby/gems/1.8/gems/foogem-1.3/lib/foo/bar.so

    (This is approximate, nothing more. I don't have any compiled gems
    handy to verify). There's no reason that can't be changed to:

      /usr/share/lib/ruby/gems/1.8/gems/foogem-1.3/lib/foo.rb
      /usr/local/lib/ruby/i386-linux/gems/1.8/gems/lib/foo/bar.so

    or something like that. Up front, I don't really care HOW it's done.
    Since it will be in a predictable prefix location with a predictable
    path pattern, it shouldn't be significantly harder to remove on
    uninstall than the current dir-per-gem-version mechanism. In this
    way, RubyGems can help those who give a damn about FHS or LSB the
    tools they need to make things work while not forcing the rest of us
    who don't care to adapt to their particular neurosis.

    This would ideally require a "gem rebuild" command or something to
    force the arch-dependent stuff to be rebuilt.

12. Add the Rake support patch. (There's a patch available to allow
    Rake-driven extension builds.)

Incomplete, but I think it's thorough and covers the current discussion.

-austin


In This Thread

Prev Next