summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110119/002258.html
blob: e17eb4354cb9ff9ea4b1e39bcf5ab1fad06783eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] [RFC] Ruby packaging policy
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20Ruby%20packaging%20policy&In-Reply-To=%3C20110119195347.GB4382%40shikamaru.fr%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002266.html">
   <LINK REL="Next"  HREF="002259.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [RFC] Ruby packaging policy</H1>
    <B>Remy CLOUARD</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20Ruby%20packaging%20policy&In-Reply-To=%3C20110119195347.GB4382%40shikamaru.fr%3E"
       TITLE="[Mageia-dev] [RFC] Ruby packaging policy">shikamaru at mandriva.org
       </A><BR>
    <I>Wed Jan 19 20:58:25 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002266.html">[Mageia-dev] importing spec-helper [build-system progress]
</A></li>
        <LI>Next message: <A HREF="002259.html">[Mageia-dev] On importing /soft
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2258">[ date ]</a>
              <a href="thread.html#2258">[ thread ]</a>
              <a href="subject.html#2258">[ subject ]</a>
              <a href="author.html#2258">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Mon, Jan 10, 2011 at 01:49:30AM +0100, Michael Scherer wrote:
&gt;<i> Le vendredi 07 janvier 2011 &#224; 23:45 +0100, Remy CLOUARD a &#233;crit :
</I>&gt;<i> &gt; You can find the page here:
</I>&gt;<i> &gt; <A HREF="http://wiki.mandriva.com/en/Policies/Ruby">http://wiki.mandriva.com/en/Policies/Ruby</A>
</I>[...]
&gt;<i> This cause problem since we do have rpm present twice ( without people
</I>&gt;<i> noticing, as I dicovered when trying to use gitorious ). More ever, this
</I>&gt;<i> is confusing for packagers. There is also potential breakage if someone
</I>&gt;<i> start to do tarball, then gems, etc etc. 
</I>&gt;<i> 
</I>&gt;<i> I have already expressed my opinion on the subject, and still maintain
</I>&gt;<i> it :
</I>&gt;<i> 
</I>&gt;<i> ruby rpm should be ruby-*.
</I>&gt;<i> 
</I>Ok, so I assume ruby rpm should be packaged as a gem or as a regular
package, but not both (sounds sensible anyway)

[...]

Now, I&#8217;ve made an erb template to match what we discussed up till now.

You can see the result here
<A HREF="http://wiki.mandriva.com/en/Ruby_packaging_policy#Samples">http://wiki.mandriva.com/en/Ruby_packaging_policy#Samples</A>

A few comments about this spec:
- devel package is generated to pull the development dependencies, maybe
  it could be created also whenever there are additional files that are
  not in the require_paths node of the YAML specification.


There are several things that need to be fixed:
- in gem2rpm, version requirements should translate the ~&gt; operator
  (it means &gt;= X.Y and &lt; Z)
- in rubygems.rb, files that are not in require_paths are deleted. So we
  have to support test_files so that they can be included in the devel
  packages

Regarding the specification, I would like to generalize tests, but that
will not be an easy task, because of circular dependencies, don&#8217;t know
how to circumvent the issue, because even if I first do the import
without the check for the bootstrap, It&#8217;s likely that the problem will
arise when upgrading the package, requiring to disable the test first
and then activate it again&#8230;

Regards,
-- 
R&#233;my CLOUARD
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: &lt;/pipermail/mageia-dev/attachments/20110119/e30a85f5/attachment.asc&gt;
</PRE>



<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002266.html">[Mageia-dev] importing spec-helper [build-system progress]
</A></li>
	<LI>Next message: <A HREF="002259.html">[Mageia-dev] On importing /soft
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2258">[ date ]</a>
              <a href="thread.html#2258">[ thread ]</a>
              <a href="subject.html#2258">[ subject ]</a>
              <a href="author.html#2258">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>