summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110110/002044.html
blob: f47e7a5fd7634b68a672e344d14fba07d2aa6b9c (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!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=%3C1294620570.30856.74.camel%40akroma.ephaone.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002043.html">
   <LINK REL="Next"  HREF="002046.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [RFC] Ruby packaging policy</H1>
    <B>Michael Scherer</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20Ruby%20packaging%20policy&In-Reply-To=%3C1294620570.30856.74.camel%40akroma.ephaone.org%3E"
       TITLE="[Mageia-dev] [RFC] Ruby packaging policy">misc at zarb.org
       </A><BR>
    <I>Mon Jan 10 01:49:30 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002043.html">[Mageia-dev] Importing RPM Groups
</A></li>
        <LI>Next message: <A HREF="002046.html">[Mageia-dev] New bugzilla proposal
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2044">[ date ]</a>
              <a href="thread.html#2044">[ thread ]</a>
              <a href="subject.html#2044">[ subject ]</a>
              <a href="author.html#2044">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le vendredi 07 janvier 2011 &#224; 23:45 +0100, Remy CLOUARD a &#233;crit :
&gt;<i> Hello there,
</I>&gt;<i> 
</I>&gt;<i> It&#8217;s been quite some time since I started working on ruby modules, and
</I>&gt;<i> I&#8217;ve been working on the policy too.
</I>&gt;<i> 
</I>&gt;<i> You can find the page here:
</I>&gt;<i> <A HREF="http://wiki.mandriva.com/en/Policies/Ruby">http://wiki.mandriva.com/en/Policies/Ruby</A>
</I>&gt;<i> 
</I>&gt;<i> Now, there are some things that still need to be clarified.
</I>&gt;<i> 
</I>&gt;<i> The most controversial part is the naming convention.
</I>&gt;<i> 
</I>&gt;<i> Many ruby modules are packaged via gem, and fedora introduced a strange
</I>&gt;<i> naming convention, calling their package rubygem-%{gemname}. This
</I>&gt;<i> convention was soon followed by other rpm-based distro such as opensuse
</I>&gt;<i> and momonga, and we also have some of them.
</I>
This cause problem since we do have rpm present twice ( without people
noticing, as I dicovered when trying to use gitorious ). More ever, this
is confusing for packagers. There is also potential breakage if someone
start to do tarball, then gems, etc etc. 

I have already expressed my opinion on the subject, and still maintain
it :

ruby rpm should be ruby-*.

Several people ( Pascal Terjan
<A HREF="http://lists.mandriva.com/cooker/2010-11/msg00063.php">http://lists.mandriva.com/cooker/2010-11/msg00063.php</A> , Guillaume
Rousse ) also raised concern about this when this discovered after being
pushed 1 year ago without discussion
( <A HREF="http://lists.mandriva.com/cooker/2010-03/msg00401.php">http://lists.mandriva.com/cooker/2010-03/msg00401.php</A> ) . 

Python does also have egg, and they play nice with rpm ( ie, we ship
file that make egg think our python module are installed as egg ).
Cpan also provides archives ( but that unused )


&gt;<i> I&#8217;m not against changing that convention, but this raises also other
</I>&gt;<i> questions.
</I>&gt;<i> 1) Do we also need to change the provides/requires ? ie
</I>&gt;<i> Requires: ruby(%{gemname})
</I>&gt;<i> instead of
</I>&gt;<i> Requires: rubygem(%{gemname})
</I>&gt;<i>
</I>&gt;<i> 2) is there a way to make youri watch for rubygem-%{gemname} in case we
</I>&gt;<i> opt for that change ? Or better, can youri watch for %{gemname} on
</I>&gt;<i> rubygems.org ?
</I>
yes. Just need a patch :)

&gt;<i> About files:
</I>&gt;<i> shall we keep the gem in the cache directory ? I&#8217;m not sure this is
</I>&gt;<i> really useful, up till now I added it, but it makes the package a bit
</I>&gt;<i> bigger
</I>
Well, what is the goal of keeping the source in two location ?

&gt;<i> Shall we do a -doc subpackage for big packages ? I think it may be
</I>&gt;<i> interesting for package that have a lot of documentation and that are
</I>&gt;<i> part of an ecosystem (ie, gems required for other packages like
</I>&gt;<i> gitorious)
</I>
That's not specific to ruby. Again, we should follow existing
conventions.

-- 
Michael Scherer

</PRE>




<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002043.html">[Mageia-dev] Importing RPM Groups
</A></li>
	<LI>Next message: <A HREF="002046.html">[Mageia-dev] New bugzilla proposal
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2044">[ date ]</a>
              <a href="thread.html#2044">[ thread ]</a>
              <a href="subject.html#2044">[ subject ]</a>
              <a href="author.html#2044">[ 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>