From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/20110110/002044.html | 128 ++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 zarb-ml/mageia-dev/20110110/002044.html (limited to 'zarb-ml/mageia-dev/20110110/002044.html') diff --git a/zarb-ml/mageia-dev/20110110/002044.html b/zarb-ml/mageia-dev/20110110/002044.html new file mode 100644 index 000000000..f47e7a5fd --- /dev/null +++ b/zarb-ml/mageia-dev/20110110/002044.html @@ -0,0 +1,128 @@ + + + + [Mageia-dev] [RFC] Ruby packaging policy + + + + + + + + + +

[Mageia-dev] [RFC] Ruby packaging policy

+ Michael Scherer + misc at zarb.org +
+ Mon Jan 10 01:49:30 CET 2011 +

+
+ +
Le vendredi 07 janvier 2011 à 23:45 +0100, Remy CLOUARD a écrit :
+> Hello there,
+> 
+> It’s been quite some time since I started working on ruby modules, and
+> I’ve been working on the policy too.
+> 
+> You can find the page here:
+> http://wiki.mandriva.com/en/Policies/Ruby
+> 
+> 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.
+
+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
+http://lists.mandriva.com/cooker/2010-11/msg00063.php , Guillaume
+Rousse ) also raised concern about this when this discovered after being
+pushed 1 year ago without discussion
+( http://lists.mandriva.com/cooker/2010-03/msg00401.php ) . 
+
+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 )
+
+
+> I’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 ?
+
+yes. Just need a patch :)
+
+> About files:
+> shall we keep the gem in the cache directory ? I’m not sure this is
+> really useful, up till now I added it, but it makes the package a bit
+> bigger
+
+Well, what is the goal of keeping the source in two location ?
+
+> 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)
+
+That's not specific to ruby. Again, we should follow existing
+conventions.
+
+-- 
+Michael Scherer
+
+
+ + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1