diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-January/010949.html')
| -rw-r--r-- | zarb-ml/mageia-dev/2012-January/010949.html | 148 | 
1 files changed, 148 insertions, 0 deletions
| diff --git a/zarb-ml/mageia-dev/2012-January/010949.html b/zarb-ml/mageia-dev/2012-January/010949.html new file mode 100644 index 000000000..5dd53795c --- /dev/null +++ b/zarb-ml/mageia-dev/2012-January/010949.html @@ -0,0 +1,148 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> +   <TITLE> [Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement +   </TITLE> +   <LINK REL="Index" HREF="index.html" > +   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RFC%3A%20task-obsolete%20and%20README.%2A.urpmi%20enhancement&In-Reply-To=%3C4F047604.4040100%40free.fr%3E"> +   <META NAME="robots" CONTENT="index,nofollow"> +   <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> +   <LINK REL="Previous"  HREF="010940.html"> +   <LINK REL="Next"  HREF="010950.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> +   <H1>[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement</H1> +    <B>Luc Menut</B>  +    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RFC%3A%20task-obsolete%20and%20README.%2A.urpmi%20enhancement&In-Reply-To=%3C4F047604.4040100%40free.fr%3E" +       TITLE="[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement">lmenut at free.fr +       </A><BR> +    <I>Wed Jan  4 16:53:40 CET 2012</I> +    <P><UL> +        <LI>Previous message: <A HREF="010940.html">[Mageia-dev] BS down for now +</A></li> +        <LI>Next message: <A HREF="010950.html">[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement +</A></li> +         <LI> <B>Messages sorted by:</B>  +              <a href="date.html#10949">[ date ]</a> +              <a href="thread.html#10949">[ thread ]</a> +              <a href="subject.html#10949">[ subject ]</a> +              <a href="author.html#10949">[ author ]</a> +         </LI> +       </UL> +    <HR>   +<!--beginarticle--> +<PRE>Hello, + +We have recently discussed here about task-obsolete. +<A HREF="http://www.mail-archive.com/mageia-dev@mageia.org/msg09762.html">http://www.mail-archive.com/mageia-dev@mageia.org/msg09762.html</A> +<A HREF="https://bugs.mageia.org/show_bug.cgi?id=3786">https://bugs.mageia.org/show_bug.cgi?id=3786</A> + +I like the idea. +But I think that we need to inform the user about the package(s) that we  +will obsolete and remove on his system (and why: security, ..). +So I tried to use README.*.urpmi to do this. +But I found that currently, urpmi and rpmdrake don't handle very well  +optional README.*.urpmi (%ghost); they always display information's  +screen, even if the file doesn't exist. + +So, I propose here 2 enhancements for README.*.urpmi (POC patch for  +urpm/install.pm, and task-obsolete.spec in attachment): + +1) add support for optional README.*.urpmi (%ghost in spec): +This will allow to build this README.*.urpmi at install time in %pre,  +%post or %trigger only when it's necessary. +One use case from the recent past in my mind: +we have no way to inform users that still use nspluginwrapper + i586  +flashplayer on x86_64 (and only them), that this is now deprecated and  +they should replace the i586 by the x86_64 flashplayer, +<A HREF="https://bugs.mageia.org/show_bug.cgi?id=2146#c22">https://bugs.mageia.org/show_bug.cgi?id=2146#c22</A> +<A HREF="https://bugs.mageia.org/show_bug.cgi?id=2146#c25">https://bugs.mageia.org/show_bug.cgi?id=2146#c25</A> + +2) handle README.*.(obsolete|deprecated).urpmi +In order to display informations about the deprecated or obsoleted  +package(s), I suggest to handle 2 new kinds of README.*.urpmi: +- README."nameObsoletedPackage".obsolete.urpmi to inform about the  +package we obsolete by task-obsolete +e.g. java-1.6.0-sun*, <A HREF="https://bugs.mageia.org/show_bug.cgi?id=3101">https://bugs.mageia.org/show_bug.cgi?id=3101</A> + +- README."nameDeprecatedPackage".deprecated.urpmi to inform about  +package that we considere as deprecated, but we have no reason (no  +vulnerability, security, ...) to force uninstallation (task-deprecated?). + +What do you think ? + + + + +--  +Luc Menut +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: urpm-add_ghost_and_deprecated_obsolete_README_urpmi.patch +Type: text/x-patch +Size: 615 bytes +Desc: not available +URL: </pipermail/mageia-dev/attachments/20120104/19ecfd68/attachment.bin> +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: task-obsolete.spec +Type: text/x-rpm-spec +Size: 1124 bytes +Desc: not available +URL: </pipermail/mageia-dev/attachments/20120104/19ecfd68/attachment-0001.bin> +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> +    <HR> +    <P><UL> +        <!--threads--> +	<LI>Previous message: <A HREF="010940.html">[Mageia-dev] BS down for now +</A></li> +	<LI>Next message: <A HREF="010950.html">[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement +</A></li> +         <LI> <B>Messages sorted by:</B>  +              <a href="date.html#10949">[ date ]</a> +              <a href="thread.html#10949">[ thread ]</a> +              <a href="subject.html#10949">[ subject ]</a> +              <a href="author.html#10949">[ 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> | 
