summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110107/002007.html
blob: 7e5bace5b1235d9e7ac6f737e3ae300cc4141146 (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
<!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=%3C20110107224500.GB3471%40shikamaru.fr%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002006.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=%3C20110107224500.GB3471%40shikamaru.fr%3E"
       TITLE="[Mageia-dev] [RFC] Ruby packaging policy">shikamaru at mandriva.org
       </A><BR>
    <I>Fri Jan  7 23:45:00 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002006.html">[Mageia-dev] Mageia policies
</A></li>
        
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2007">[ date ]</a>
              <a href="thread.html#2007">[ thread ]</a>
              <a href="subject.html#2007">[ subject ]</a>
              <a href="author.html#2007">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Hello there,

It&#8217;s been quite some time since I started working on ruby modules, and
I&#8217;ve been working on the policy too.

You can find the page here:
<A HREF="http://wiki.mandriva.com/en/Policies/Ruby">http://wiki.mandriva.com/en/Policies/Ruby</A>

Now, there are some things that still need to be clarified.

The most controversial part is the naming convention.

Many ruby modules are packaged via gem, and fedora introduced a strange
naming convention, calling their package rubygem-%{gemname}. This
convention was soon followed by other rpm-based distro such as opensuse
and momonga, and we also have some of them.

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

Is it ok to add development dependencies as Suggests ? Shall we do a
-devel subpackage that will pull these dependencies. The advantage of
doing this is that automated installs will not add these dependencies
where they aren&#8217;t needed, but this will cause spec files to be more
complicated to maintain (unless we add proper support for this in
gem2rpm)

About files:
shall we keep the gem in the cache directory ? I&#8217;m not sure this is
really useful, up till now I added it, but it makes the package a bit
bigger

Shall we do a -doc subpackage for big packages ? I think it may be
interesting for package that have a lot of documentation and that are
part of an ecosystem (ie, gems required for other packages like
gitorious)

Normally %gem_* macros should take care of that, but we might have to
make it evolve.

Do you see something I haven&#8217;t thought of ?

I will provide an example spec in this policy in the following days, and
will take care of making the necessary changes to the existing packages
once we agree with the above points.

Thanks in advance,

Best 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/20110107/933c05c1/attachment.asc&gt;
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002006.html">[Mageia-dev] Mageia policies
</A></li>
	
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2007">[ date ]</a>
              <a href="thread.html#2007">[ thread ]</a>
              <a href="subject.html#2007">[ subject ]</a>
              <a href="author.html#2007">[ 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>