From: "Mauricio Fernández" Date: 2004-06-25T07:15:54+09:00 Subject: Re: rubygems thoughts On Fri, Jun 25, 2004 at 06:01:52AM +0900, Jim Weirich wrote: > > Leaving the build process to the developers seems natural to me, and it > > would make your (Gems developers) job easier and more clear. All you > > would have to do it install what the control file tells you to. Let the > > developers create their directories in the way they want, and generate the > > control file, Gems could just bundle it all up and handle the > > distribution tasks (download, install, uninstall, etc.). > > > > I hope that made sense. It seems like a lot to ask for, but it should > > eliminate a whole lot of code surrounding the gem build process. If what > > I'm thinking came out right, it should amount to more control to the > > developers, less work for you guys and good meta information for everyone. > > I will confess that I've read the above several times and am a bit > confused. Are you refering to the process of bundling up the package > files in to a gemfile, or the process where a gem file is installed onto > a system. I think he's referring to a 2-stage install, like the one in FreeBSD's ports or Debian (incidentally, that's what rpa-base does too), where during the package build phase the things to be installed are placed under a temp. directory, which is then packed into the "binary" package. Installation involves then unpacking the later under some prefix. The main advantage compared to Rubygems' current behavior is that you can relocate files, etc... > I think it is the former, but then I'm not sure what part of the build > process you think gem performs. I am not aware of any directories added > by the "gem -b" command. Could you give an example? Currently this sort of things have to be handled externally to RubyGems (for instance with Rake), since it can at most reject some of the files in the sourcedir when building the gem, i.e. it works like tar --exclude .... cf -- Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com 'Mounten' wird f�r drei Dinge benutzt: 'Aufsitzen' auf Pferde, 'einklinken' von Festplatten in Dateisysteme, und, nun, 'besteigen' beim Sex. -- Christa Keil