diff options
Diffstat (limited to 'zarb-ml/mageia-dev/20110119/002258.html')
-rw-r--r-- | zarb-ml/mageia-dev/20110119/002258.html | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110119/002258.html b/zarb-ml/mageia-dev/20110119/002258.html new file mode 100644 index 000000000..e17eb4354 --- /dev/null +++ b/zarb-ml/mageia-dev/20110119/002258.html @@ -0,0 +1,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: +><i> Le vendredi 07 janvier 2011 à 23:45 +0100, Remy CLOUARD a écrit : +</I>><i> > You can find the page here: +</I>><i> > <A HREF="http://wiki.mandriva.com/en/Policies/Ruby">http://wiki.mandriva.com/en/Policies/Ruby</A> +</I>[...] +><i> This cause problem since we do have rpm present twice ( without people +</I>><i> noticing, as I dicovered when trying to use gitorious ). More ever, this +</I>><i> is confusing for packagers. There is also potential breakage if someone +</I>><i> start to do tarball, then gems, etc etc. +</I>><i> +</I>><i> I have already expressed my opinion on the subject, and still maintain +</I>><i> it : +</I>><i> +</I>><i> ruby rpm should be ruby-*. +</I>><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’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 ~> operator + (it means >= X.Y and < 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’t know +how to circumvent the issue, because even if I first do the import +without the check for the bootstrap, It’s likely that the problem will +arise when upgrading the package, requiring to disable the test first +and then activate it again… + +Regards, +-- +Ré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: </pipermail/mageia-dev/attachments/20110119/e30a85f5/attachment.asc> +</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> |