Gentoo Archives: gentoo-commits

From: "Alex Legler (a3li)" <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/proj/en/prog_lang/ruby: index.xml
Date: Sun, 02 May 2010 08:54:06
Message-Id: 20100502085403.5A6082C1E6@corvid.gentoo.org
1 a3li 10/05/02 08:54:03
2
3 Modified: index.xml
4 Log:
5 Add some more information about RUBY_TARGETS and improve package policy
6
7 Revision Changes Path
8 1.12 xml/htdocs/proj/en/prog_lang/ruby/index.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/prog_lang/ruby/index.xml?rev=1.12&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/prog_lang/ruby/index.xml?rev=1.12&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/prog_lang/ruby/index.xml?r1=1.11&r2=1.12
13
14 Index: index.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/prog_lang/ruby/index.xml,v
17 retrieving revision 1.11
18 retrieving revision 1.12
19 diff -u -r1.11 -r1.12
20 --- index.xml 2 May 2010 07:33:48 -0000 1.11
21 +++ index.xml 2 May 2010 08:54:03 -0000 1.12
22 @@ -3,41 +3,41 @@
23 <?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
24 <!DOCTYPE project SYSTEM "/dtd/project.dtd">
25 <project>
26 - <name>Ruby</name>
27 - <longname>Gentoo Resources for Ruby</longname>
28 - <date>20 Mar 2009</date>
29 -
30 - <author title="Original author">
31 - <mail>nichoj</mail>
32 - </author>
33 + <name>Ruby</name>
34 + <longname>Gentoo Ruby Project</longname>
35 + <date>02 May 2010</date>
36 +
37 + <author title="Original author">
38 + <mail>nichoj</mail>
39 + </author>
40
41 - <author title="Author">
42 + <author title="Author">
43 <mail link="graaff@g.o">Hans de Graaff</mail>
44 - </author>
45 + </author>
46
47 - <author title="Author">
48 + <author title="Author">
49 <mail link="a3li@g.o">Alex Legler</mail>
50 - </author>
51 + </author>
52
53 - <description>This project provides support for the Ruby programming language.</description>
54 + <description>This project provides support for the Ruby programming language.</description>
55
56 - <longdescription>
57 - <p>
58 - The Ruby project maintains packages for <uri link="http://www.ruby-lang.org/en/">Ruby
59 - </uri> implementations, libraries and development tools.
60 - </p>
61 - <p>
62 - This project also maintains the <uri link="http://rubygems.org/">RubyGems</uri> package,
63 - the de facto standard for packaging Ruby projects. Many Ruby packages currently in the
64 - Portage tree use this mechanism for installing.
65 - </p>
66 - <p>
67 - Highlighted packages include <uri link="http://rake.rubyforge.org">Rake</uri>,
68 - <uri link="http://rubyonrails.org/">Ruby on Rails</uri>,
69 - <uri link="http://www.capify.org/">Capistrano</uri>,
70 - and <uri link="http://rspec.info/">RSpec</uri>, to name a few.
71 - </p>
72 - </longdescription>
73 + <longdescription>
74 + <p>
75 + The Ruby project maintains packages for <uri link="http://www.ruby-lang.org/en/">Ruby
76 + </uri> implementations, libraries and development tools.
77 + </p>
78 + <p>
79 + This project also maintains the <uri link="http://rubygems.org/">RubyGems</uri> package,
80 + the de facto standard for packaging Ruby projects. Many Ruby packages currently in the
81 + Portage tree use this mechanism for installing.
82 + </p>
83 + <p>
84 + Highlighted packages include <uri link="http://rake.rubyforge.org">Rake</uri>,
85 + <uri link="http://rubyonrails.org/">Ruby on Rails</uri>,
86 + <uri link="http://www.capify.org/">Capistrano</uri>,
87 + and <uri link="http://rspec.info/">RSpec</uri>, to name a few.
88 + </p>
89 + </longdescription>
90
91 <recruitment>
92 <job>
93 @@ -81,170 +81,193 @@
94 <resource link="http://overlays.gentoo.org/proj/ruby/wiki">Ruby overlay and project wiki</resource>
95 <resource link="http://gems.stingray.a3li.info/">RubyGem ebuilds needing an update</resource>
96
97 - <task id="ruby-1.9" finished="no" lead="a3li">
98 - <name>Ruby 1.9</name>
99 - <description>Support for all Ruby packages with 1.9</description>
100 - <longdescription>
101 - <p>
102 - Ruby 1.9.1 is going to be the first stable release of Ruby 1.9, to be released in January 2009.
103 -
104 - Our infrastructure is currently being updated, so we should have ebuilds in the near future.
105 - </p>
106 - </longdescription>
107 - <startdate>12-29-2007</startdate>
108 - <milestone finished="yes">
109 - <enddate></enddate>
110 - <description>Package Ruby 1.9</description>
111 - </milestone>
112 - <milestone finished="no">
113 - <enddate></enddate>
114 - <description>Create new eclasses</description>
115 - </milestone>
116 - <milestone finished="yes">
117 - <enddate></enddate>
118 - <description>Have a working way to switch default symlinks. Done with eselect-ruby.</description>
119 - </milestone>
120 - <milestone finished="no">
121 - <enddate></enddate>
122 - <description>Verify USE_RUBY status for all packages in the tree</description>
123 - </milestone>
124 - </task>
125 -
126 + <task id="ruby-1.9" finished="no" lead="a3li">
127 + <name>Ruby 1.9</name>
128 + <description>Support for all Ruby packages with 1.9</description>
129 + <longdescription>
130 + <p>
131 + Ruby 1.9.1 is going to be the first stable release of Ruby 1.9, to be released in January 2009.
132 +
133 + Our infrastructure is currently being updated, so we should have ebuilds in the near future.
134 + </p>
135 + </longdescription>
136 + <startdate>12-29-2007</startdate>
137 + <milestone finished="yes">
138 + <enddate></enddate>
139 + <description>Package Ruby 1.9</description>
140 + </milestone>
141 + <milestone finished="yes">
142 + <enddate></enddate>
143 + <description>Create new eclasses</description>
144 + </milestone>
145 + <milestone finished="yes">
146 + <enddate></enddate>
147 + <description>Have a working way to switch default symlinks. Done with eselect-ruby.</description>
148 + </milestone>
149 + <milestone finished="no">
150 + <enddate></enddate>
151 + <description>Verify USE_RUBY status for all packages in the tree</description>
152 + </milestone>
153 + </task>
154 +
155 <extrachapter position="devs">
156 - <title>Supported Ruby implementations</title>
157 - <section>
158 - <title>Overview</title>
159 - <body>
160 - <p>
161 - In Gentoo multiple Ruby implementations can co-exist. This
162 - is supported through the RUBY_TARGETS mechanism. You can add
163 - the RUBY_TARGETS variable to your make.conf file to select
164 - which Ruby implementations you want to use on your
165 - system. By default only <c>ruby18</c> is selected.
166 - </p>
167 -
168 - <pre caption="/etc/make.conf">
169 -<var>RUBY_TARGETS</var>="ruby18 ruby19"
170 - </pre>
171 - </body>
172 - </section>
173 - <section>
174 - <title>Ruby 1.8.x (aka MRI): ruby18</title>
175 - <body>
176 - <p>
177 - This version of Ruby is our main implementation. It is
178 - available as the 1.8 slot of <c>dev-lang/ruby</c>. It is
179 - available in the stable tree, and almost all Ruby packages
180 - in the tree are available for this implementation.
181 - </p>
182 - </body>
183 - </section>
184 - <section>
185 - <title>Ruby 1.9.x: ruby19</title>
186 - <body>
187 - <p>
188 - This version of Ruby is currently still masked pending
189 - resolution of some issues. It is available as the 1.9 slot
190 - of <c>dev-lang/ruby</c>.
191 - <uri link="https://bugs.gentoo.org/show_bug.cgi?id=203706">Bug 203706</uri>
192 - tracks the remaining issues.
193 - </p>
194 - <p>
195 - In order to test Ruby 1.9 you will need to unmask the
196 - package and also the associated ruby_targets_ruby19 USE
197 - flag.
198 - </p>
199 - </body>
200 - </section>
201 - <section>
202 - <title>JRuby: jruby</title>
203 - <body>
204 - <p>
205 - This version of Ruby is based on the Java Virtual
206 - Machine. It is available as <c>dev-java/jruby</c>. It is
207 - currently only available in the testing tree.
208 - </p>
209 - </body>
210 - </section>
211 - <section>
212 - <title>Ruby Enterprise Edition: ree</title>
213 - <body>
214 - <p>
215 - This is an enhanced version of Ruby 1.8, featuring various
216 - enhancements, most notably in that it requires less memory
217 - to run. It is available as <c>dev-lang/ruby-enterprise</c>.
218 - </p>
219 - </body>
220 - </section>
221 + <title>Supported Ruby implementations</title>
222 + <section>
223 + <title>Overview</title>
224 + <body>
225 + <p>
226 + In Gentoo multiple Ruby implementations can co-exist. This
227 + is supported through the <c>RUBY_TARGETS</c> mechanism. You can add
228 + the <c>RUBY_TARGETS</c> variable to your <path>/etc/make.conf</path> file to select
229 + which Ruby implementations you want packages to be installed for on your
230 + system. By default only <c>ruby18</c> is selected.
231 + </p>
232 +
233 + <pre caption="/etc/make.conf">
234 +<comment># Installs packages for Ruby 1.8 and 1.9.</comment>
235 +<var>RUBY_TARGETS</var>=<const>"ruby18 ruby19"</const>
236 + </pre>
237 + <note>
238 + Some packages do not support all Ruby targets mentioned below.
239 + For example, even if your RUBY_TARGETS setting instructs Portage to install for
240 + both Ruby 1.8 and 1.9, but the package only supports 1.8, the package will only
241 + be installed for Ruby 1.8.
242 + Review the output of <c>emerge -pv &lt;package&gt;</c> to see for which
243 + Ruby versions the package is actually installed.
244 + </note>
245 + </body>
246 + </section>
247 + <section>
248 + <title>Ruby 1.8.x (aka MRI): ruby18</title>
249 + <body>
250 + <p>
251 + This version of Ruby is our main implementation. It is
252 + available as the 1.8 slot of <c>dev-lang/ruby</c>. It is
253 + available in the stable tree, and almost all Ruby packages
254 + in the tree are available for this implementation.
255 + </p>
256 + </body>
257 + </section>
258 + <section>
259 + <title>Ruby 1.9.x (aka MRI/YARV): ruby19</title>
260 + <body>
261 + <p>
262 + This version of Ruby is currently still masked pending
263 + resolution of some issues. It is available as the 1.9 slot
264 + of <c>dev-lang/ruby</c>.
265 + <uri link="https://bugs.gentoo.org/show_bug.cgi?id=203706">Bug 203706</uri>
266 + tracks the remaining issues.
267 + </p>
268 + <p>
269 + In order to test Ruby 1.9 you will need to unmask the
270 + package and also the associated <c>ruby_targets_ruby19</c> USE
271 + flag.
272 + </p>
273 + <impo>
274 + The Gentoo Ruby Team currently does not recommend using Ruby 1.9 for production environments.
275 + </impo>
276 + </body>
277 + </section>
278 + <section>
279 + <title>JRuby: jruby</title>
280 + <body>
281 + <p>
282 + This version of Ruby is based on the Java Virtual
283 + Machine. It is available as <c>dev-java/jruby</c>. It is
284 + currently only available in the testing tree.
285 + </p>
286 + </body>
287 + </section>
288 + <section>
289 + <title>Ruby Enterprise Edition 1.8.x: ree18</title>
290 + <body>
291 + <p>
292 + This is an enhanced version of Ruby 1.8, featuring various
293 + enhancements, most notably in that it requires less memory
294 + to run. It is available as <c>dev-lang/ruby-enterprise</c>.
295 + </p>
296 + <p>
297 + In order to test Ruby Enterprise Edition you will need to unmask the
298 + package and also the associated <c>ruby_targets_ree18</c> USE
299 + flag.
300 + </p>
301 + <p>
302 + For more information, visit <uri link="http://www.rubyenterpriseedition.com/">http://www.rubyenterpriseedition.com/</uri>.
303 + </p>
304 + </body>
305 + </section>
306 </extrachapter>
307
308 <extrachapter>
309 - <title>Policy for adding new Ruby packages</title>
310 - <section>
311 - <title>Overview</title>
312 - <body>
313 - <p>
314 -The ruby herd gets a fair amount of requests to add new packages to
315 -the dev-ruby category in portage. Unfortunately we often get a bit
316 -defensive about this and the package requests just hang about. This
317 -policy tries to outline our thinking on when to add new packages and
318 -what you can do to enhance the chances of adding a new package.
319 - </p>
320 - </body>
321 - </section>
322 - <section>
323 - <title>Which packages should go to dev-ruby</title>
324 - <body>
325 -<p>The dev-ruby category should only contain packages that provide
326 -library code (e.g. dev-ruby/mime-types) and packages that are specific
327 -to the ruby environment (e.g. dev-ruby/rake).</p>
328 -
329 -<p>Specifically, applications written in ruby should *not* go to the
330 -dev-ruby category by default, and they would not normally be
331 -maintained by the ruby herd. For example, recently cucumber has been
332 -added to the dev-util category, even though it is written in ruby and
333 -started out as a spin of from the more ruby-specific rspec. However,
334 -it now also has support for Java and it provides an application, so it
335 -is much better suited for a more targeted category of dev-util.</p>
336 -
337 -<p>For libraries and supporting code we tend to add these packages
338 -only when they are a requirement for an application that gets added to
339 -Gentoo, or a new requirement of said application.</p>
340 -
341 -<p>Other packages only get added when there is sufficient demand. We
342 -determine this by looking at the number of votes for a package, so
343 -feel free to open a bug for it and lobby a few folks to add their
344 -votes.</p>
345 - </body>
346 - </section>
347 - <section>
348 - <title>Why not add more packages?</title>
349 - <body>
350 -<p>Having this policy may seem silly. Why not just add new packages as
351 -people provide ebuilds for them?</p>
352 -
353 -<p>In part we are reluctant to add many packages because they should
354 -really fall under the responsibility of someone else. For example,
355 -sup, the ruby mail client, fits much better to the net-mail
356 -herd. After all, not all packages written in C are part of the c
357 -herd.</p>
358 -
359 -<p>In part we are also reluctant because once a package is added it
360 -will increase our workload towards the future. Version bumps, security
361 -issues, and QA within Gentoo must be kept up to date. On top of that
362 -ruby has a bit of a reputation for code that sees a few frantic
363 -releases and is than for all intents and purposes abandoned. Having
364 -packages like that in the tree adds disproportionally to our
365 -maintenance and takes away from providing you with an overall good
366 -ruby experience on Gentoo.</p>
367 - </body>
368 - </section>
369 + <title>Policy for adding new Ruby packages</title>
370 + <section>
371 + <title>Overview</title>
372 + <body>
373 + <p>
374 + The ruby herd gets a fair amount of requests to add new packages to
375 + the dev-ruby category in Portage. Unfortunately we often get a bit
376 + defensive about this and the package requests just hang about. This
377 + policy tries to outline our thinking on when to add new packages and
378 + what you can do to enhance the chances of adding a new package.
379 + </p>
380 + </body>
381 + </section>
382 + <section>
383 + <title>Which packages should go to dev-ruby?</title>
384 + <body>
385 + <p>The dev-ruby category should <b>only</b> contain the following packages:</p>
386 +
387 + <ul>
388 + <li>Library code (e.g. <c>dev-ruby/mime-types</c>)</li>
389 + <li>Packages specific to the Ruby environment (e.g. <c>dev-ruby/rake</c>)</li>
390 + </ul>
391 +
392 + <p>Specifically, <b>applications written in Ruby</b> should <b>not</b> go to the
393 + dev-ruby category by default, and they would not normally be
394 + maintained by the ruby herd. For example, recently cucumber has been
395 + added to the dev-util category, even though it is written in Ruby and
396 + started out as a spin of from the more Ruby-specific rspec. However,
397 + it now also has support for Java and it provides an application, so it
398 + is much better suited for a more targeted category of dev-util.</p>
399 +
400 + <p>For libraries and supporting code we tend to add these packages
401 + only when they are a requirement for an application that gets added to
402 + Gentoo, or a new requirement of said application.</p>
403 +
404 + <p>Other packages only get added when there is sufficient demand. We
405 + determine this by looking at the number of votes for a package, so
406 + feel free to open a bug for it and lobby a few folks to add their
407 + votes.</p>
408 + </body>
409 + </section>
410 + <section>
411 + <title>Why not add more packages?</title>
412 + <body>
413 + <p>Having this policy may seem silly. Why not just add new packages as
414 + people provide ebuilds for them?</p>
415 +
416 + <p>In part we are reluctant to add many packages because they should
417 + really fall under the responsibility of someone else. For example,
418 + sup, the ruby mail client, fits much better to the net-mail
419 + herd. After all, not all packages written in C are part of the
420 + (not even existing) c herd.</p>
421 +
422 + <p>In part we are also reluctant because once a package is added it
423 + will increase our workload towards the future. Version bumps, security
424 + issues, and QA within Gentoo must be kept up to date. On top of that
425 + ruby has a bit of a reputation for code that sees a few frantic
426 + releases and is than for all intents and purposes abandoned. Having
427 + packages like that in the tree adds disproportionally to our
428 + maintenance and takes away from providing you with an overall good
429 + ruby experience on Gentoo.</p>
430 + </body>
431 + </section>
432 </extrachapter>
433
434
435 - <dev role="lead">graaff</dev>
436 - <dev role="member">robbat2</dev>
437 - <dev role="member">a3li</dev>
438 - <dev role="member">gengor</dev>
439 + <dev role="lead">graaff</dev>
440 + <dev role="member">robbat2</dev>
441 + <dev role="member">a3li</dev>
442 + <dev role="member">gengor</dev>
443
444 </project>