Re: Packaging rack-based applications for Fedora

2011-02-15 Thread Mamoru Tasaka
Vít Ondruch wrote, at 02/15/2011 11:44 PM +9:00: >> But even if you put everything to %_datadir, if the required file is not >> found >> ruby will search it under loadpath, and if it is not found ruby will complain >> "it was not found". Unless you specify first all loadpaths (including files >>

Re: Packaging rack-based applications for Fedora

2011-02-15 Thread Vít Ondruch
Dne 15.2.2011 14:34, Mamoru Tasaka napsal(a): > Vít Ondruch wrote, at 02/15/2011 09:26 PM +9:00: Pros: 1) Ruby load path pollution is avoided. 1a) Since every gem is automatically added into load path, there might be unnecessary conflicts. For example the deltacloud-core has som

Re: Packaging rack-based applications for Fedora

2011-02-15 Thread Mamoru Tasaka
Mamoru Tasaka wrote, at 02/15/2011 10:34 PM +9:00: > Vít Ondruch wrote, at 02/15/2011 09:26 PM +9:00: > Sorry but actually I am very tired of the discussion of "as this is > application" > or "as this is a module" or so. This is actually one of the annoyance I > frequently > meet during review re

Re: Packaging rack-based applications for Fedora

2011-02-15 Thread Mamoru Tasaka
Vít Ondruch wrote, at 02/15/2011 09:26 PM +9:00: >>> Pros: >>> 1) Ruby load path pollution is avoided. >>> 1a) Since every gem is automatically added into load path, there might >>> be unnecessary conflicts. For example the deltacloud-core has some >>> Sinatra extension in lib/sinatra/ folder and t

Re: Packaging rack-based applications for Fedora

2011-02-15 Thread Vít Ondruch
Dne 15.2.2011 13:39, Lukas Zapletal napsal(a): > On 02/15/2011 01:26 PM, Vít Ondruch wrote: > 1b) Every gem added to Ruby slows down ruby require performance. >> Performance is everytime good reason and should not be overseen. > Hi, this ^ is interesting. I am just starting with Ruby. Do you h

Re: Packaging rack-based applications for Fedora

2011-02-15 Thread Vít Ondruch
BTW: Redmine package: https://bugzilla.redhat.com/show_bug.cgi?id=499959 Redmine is apparently going to be installed into %{_datadir}. The only difference is how was the original source obtained. For deltacloud-core it is gem while for redmine it is tar.gz, but at the end, it could be zip or wh

Re: Packaging rack-based applications for Fedora

2011-02-15 Thread Lukas Zapletal
On 02/15/2011 01:26 PM, Vít Ondruch wrote: >>> 1b) Every gem added to Ruby slows down ruby require performance. > Performance is everytime good reason and should not be overseen. Hi, this ^ is interesting. I am just starting with Ruby. Do you have any links to read regarding these performance pr

Re: Packaging rack-based applications for Fedora

2011-02-15 Thread Vít Ondruch
Dne 15.2.2011 12:35, Mamoru Tasaka napsal(a): Well, Vít Ondruch wrote, at 02/15/2011 07:08 PM +9:00: Dne 10.2.2011 18:33, David Lutterkort napsal(a): On Thu, 2011-02-10 at 17:12 +0100, Michal Fojtik wrote: * Where should be these application installed? My preference is to install them inside

Re: Packaging rack-based applications for Fedora

2011-02-15 Thread Michal Fojtik
On 15/02/11 20:49 +0900, Mamoru Tasaka wrote: >Michal Fojtik wrote, at 02/11/2011 01:12 AM +9:00: >> Hi, >> >> I want to ask if there are any policies or guidelines for packaging >> 'rack-based' (Sinatra/Rails/..) projects for Fedora. >> >> Since I started packaging Deltacloud API (Sinatra app) I g

Re: Packaging rack-based applications for Fedora

2011-02-15 Thread Mamoru Tasaka
Michal Fojtik wrote, at 02/11/2011 01:12 AM +9:00: > Hi, > > I want to ask if there are any policies or guidelines for packaging > 'rack-based' (Sinatra/Rails/..) projects for Fedora. > > Since I started packaging Deltacloud API (Sinatra app) I got into > situlation that I want to install it as a g

Re: Packaging rack-based applications for Fedora

2011-02-15 Thread Mamoru Tasaka
Well, Vít Ondruch wrote, at 02/15/2011 07:08 PM +9:00: > Dne 10.2.2011 18:33, David Lutterkort napsal(a): >> On Thu, 2011-02-10 at 17:12 +0100, Michal Fojtik wrote: >>> * Where should be these application installed? >>> >>> My preference is to install them inside /usr/lib or /usr/share directory.

Re: Packaging rack-based applications for Fedora

2011-02-15 Thread Vít Ondruch
Dne 10.2.2011 18:33, David Lutterkort napsal(a): > On Thu, 2011-02-10 at 17:12 +0100, Michal Fojtik wrote: >> * Where should be these application installed? >> >> My preference is to install them inside /usr/lib or /usr/share directory. > I wouldn't do that - it's only extra work during packaging,