Re: [gentoo-dev] Marking of deprecated USE flags

2013-08-09 Thread Hans de Graaff
On Fri, 2013-08-09 at 19:57 +0200, Michał Górny wrote:

> Also, please note that we're being specifically talking about things
> that are not 'deprecated' but 'removed'. We mark implementations
> 'deprecated' while still supporting them, 'removed' goes after we drop
> the support.

This is also true for ruby's ree18. It should not be marked
'deprecated'. 'obsolete' or 'removed' is fine.

Hans




Re: [gentoo-dev] Marking of deprecated USE flags

2013-08-09 Thread Michał Górny
Dnia 2013-08-09, o godz. 18:40:39
Arfrever Frehtes Taifersar Arahesis  napisał(a):

> Some people want that repoman print warnings for ebuilds, whose effective 
> IUSE contains deprecated
> USE flags (e.g. USE flags corresponding to old versions of Python/Ruby). I 
> suggest that deprecation
> of USE flags be specified by " (DEPRECATED)" suffix in descriptions of given 
> flags in profiles/use.desc
> and profiles/desc/*.desc files.
> 
> Any opinions about syntax?

Lowercase, please. Don't make this special magical keyword, let it
resemble something natural.

Also, please note that we're being specifically talking about things
that are not 'deprecated' but 'removed'. We mark implementations
'deprecated' while still supporting them, 'removed' goes after we drop
the support.

Most importantly, we don't want people to start removing 'deprecated'
impls from PYTHON_COMPAT randomly as that's only going to cause a lot
of mayhem by unsatisfied USE-deps. They can remove them after they're
'removed' as then eclass ignores them and there's no dep problem.
But we'll remove them ourselves since we have a script for that.

-- 
Best regards,
Michał Górny


signature.asc
Description: PGP signature


Re: [gentoo-dev] Marking of deprecated USE flags

2013-08-09 Thread yac
On Fri, 9 Aug 2013 18:40:39 +0200
Arfrever Frehtes Taifersar Arahesis  wrote:

> Some people want that repoman print warnings for ebuilds, whose
> effective IUSE contains deprecated USE flags (e.g. USE flags
> corresponding to old versions of Python/Ruby). I suggest that
> deprecation of USE flags be specified by " (DEPRECATED)" suffix in
> descriptions of given flags in profiles/use.desc and
> profiles/desc/*.desc files.
> 
> Any opinions about syntax?

Is there a use case for something like (DEPRECATED BY X) ; X being
another use flag or maybe bugid ?

> Example:
> 
> Index: profiles/desc/python_single_target.desc
> ===
> RCS
> file: /var/cvsroot/gentoo-x86/profiles/desc/python_single_target.desc,v
> retrieving revision 1.5 diff -u -r1.5 python_single_target.desc
> --- profiles/desc/python_single_target.desc 5 Aug 2013 14:20:47
> -   1.5 +++ profiles/desc/python_single_target.desc 9 Aug
> 2013 16:27:37 - @@ -4,14 +4,14 @@
>  
>  # This file contains descriptions of PYTHON_SINGLE_TARGET USE_EXPAND
> flags. 
> -python2_5 - Build for Python 2.5 only
> +python2_5 - Build for Python 2.5 only (DEPRECATED)
>  python2_6 - Build for Python 2.6 only
>  python2_7 - Build for Python 2.7 only
> -python3_1 - Build for Python 3.1 only
> +python3_1 - Build for Python 3.1 only (DEPRECATED)
>  python3_2 - Build for Python 3.2 only
>  python3_3 - Build for Python 3.3 only
> -jython2_5 - Build for Jython 2.5 only
> +jython2_5 - Build for Jython 2.5 only (DEPRECATED)
>  jython2_7 - Build for Jython 2.7 only
> -pypy1_9 - Build for PyPy 1.9 only
> +pypy1_9 - Build for PyPy 1.9 only (DEPRECATED)
>  pypy2_0 - Build for PyPy 2.0 only
>  pypy2_1 - Build for PyPy 2.1 only
> Index: profiles/desc/python_targets.desc
> ===
> RCS file: /var/cvsroot/gentoo-x86/profiles/desc/python_targets.desc,v
> retrieving revision 1.9
> diff -u -r1.9 python_targets.desc
> --- profiles/desc/python_targets.desc   5 Aug 2013 14:20:47
> -   1.9 +++ profiles/desc/python_targets.desc   9 Aug 2013
> 16:27:37 - @@ -4,15 +4,15 @@
>  
>  # This file contains descriptions of PYTHON_TARGETS USE_EXPAND flags.
>  
> -python2_5 - Build with Python 2.5
> +python2_5 - Build with Python 2.5 (DEPRECATED)
>  python2_6 - Build with Python 2.6
>  python2_7 - Build with Python 2.7
> -python3_1 - Build with Python 3.1
> +python3_1 - Build with Python 3.1 (DEPRECATED)
>  python3_2 - Build with Python 3.2
>  python3_3 - Build with Python 3.3
>  python3_4 - Build with Python 3.4
> -jython2_5 - Build with Jython 2.5
> +jython2_5 - Build with Jython 2.5 (DEPRECATED)
>  jython2_7 - Build with Jython 2.7
> -pypy1_9 - Build with PyPy 1.9
> +pypy1_9 - Build with PyPy 1.9 (DEPRECATED)
>  pypy2_0 - Build with PyPy 2.0
>  pypy2_1 - Build with PyPy 2.1
> Index: profiles/desc/ruby_targets.desc
> ===
> RCS file: /var/cvsroot/gentoo-x86/profiles/desc/ruby_targets.desc,v
> retrieving revision 1.3
> diff -u -r1.3 ruby_targets.desc
> --- profiles/desc/ruby_targets.desc 23 Jun 2013 12:31:14
> -  1.3 +++ profiles/desc/ruby_targets.desc 9 Aug 2013
> 16:27:37 - @@ -6,7 +6,7 @@
>  
>  rbx - Build with Rubinius
>  jruby - Build with JRuby
> -ree18 - Build with Ruby Enterprise Edition 1.8.x
> +ree18 - Build with Ruby Enterprise Edition 1.8.x (DEPRECATED)
>  ruby18 - Build with MRI Ruby 1.8.x
>  ruby19 - Build with MRI Ruby 1.9.x
>  ruby20 - Build with MRI Ruby 2.0.x
> 
> --
> Arfrever Frehtes Taifersar Arahesis



signature.asc
Description: PGP signature


[gentoo-dev] Marking of deprecated USE flags

2013-08-09 Thread Arfrever Frehtes Taifersar Arahesis
Some people want that repoman print warnings for ebuilds, whose effective IUSE 
contains deprecated
USE flags (e.g. USE flags corresponding to old versions of Python/Ruby). I 
suggest that deprecation
of USE flags be specified by " (DEPRECATED)" suffix in descriptions of given 
flags in profiles/use.desc
and profiles/desc/*.desc files.

Any opinions about syntax?

Example:

Index: profiles/desc/python_single_target.desc
===
RCS file: /var/cvsroot/gentoo-x86/profiles/desc/python_single_target.desc,v
retrieving revision 1.5
diff -u -r1.5 python_single_target.desc
--- profiles/desc/python_single_target.desc 5 Aug 2013 14:20:47 -   
1.5
+++ profiles/desc/python_single_target.desc 9 Aug 2013 16:27:37 -
@@ -4,14 +4,14 @@
 
 # This file contains descriptions of PYTHON_SINGLE_TARGET USE_EXPAND flags.
 
-python2_5 - Build for Python 2.5 only
+python2_5 - Build for Python 2.5 only (DEPRECATED)
 python2_6 - Build for Python 2.6 only
 python2_7 - Build for Python 2.7 only
-python3_1 - Build for Python 3.1 only
+python3_1 - Build for Python 3.1 only (DEPRECATED)
 python3_2 - Build for Python 3.2 only
 python3_3 - Build for Python 3.3 only
-jython2_5 - Build for Jython 2.5 only
+jython2_5 - Build for Jython 2.5 only (DEPRECATED)
 jython2_7 - Build for Jython 2.7 only
-pypy1_9 - Build for PyPy 1.9 only
+pypy1_9 - Build for PyPy 1.9 only (DEPRECATED)
 pypy2_0 - Build for PyPy 2.0 only
 pypy2_1 - Build for PyPy 2.1 only
Index: profiles/desc/python_targets.desc
===
RCS file: /var/cvsroot/gentoo-x86/profiles/desc/python_targets.desc,v
retrieving revision 1.9
diff -u -r1.9 python_targets.desc
--- profiles/desc/python_targets.desc   5 Aug 2013 14:20:47 -   1.9
+++ profiles/desc/python_targets.desc   9 Aug 2013 16:27:37 -
@@ -4,15 +4,15 @@
 
 # This file contains descriptions of PYTHON_TARGETS USE_EXPAND flags.
 
-python2_5 - Build with Python 2.5
+python2_5 - Build with Python 2.5 (DEPRECATED)
 python2_6 - Build with Python 2.6
 python2_7 - Build with Python 2.7
-python3_1 - Build with Python 3.1
+python3_1 - Build with Python 3.1 (DEPRECATED)
 python3_2 - Build with Python 3.2
 python3_3 - Build with Python 3.3
 python3_4 - Build with Python 3.4
-jython2_5 - Build with Jython 2.5
+jython2_5 - Build with Jython 2.5 (DEPRECATED)
 jython2_7 - Build with Jython 2.7
-pypy1_9 - Build with PyPy 1.9
+pypy1_9 - Build with PyPy 1.9 (DEPRECATED)
 pypy2_0 - Build with PyPy 2.0
 pypy2_1 - Build with PyPy 2.1
Index: profiles/desc/ruby_targets.desc
===
RCS file: /var/cvsroot/gentoo-x86/profiles/desc/ruby_targets.desc,v
retrieving revision 1.3
diff -u -r1.3 ruby_targets.desc
--- profiles/desc/ruby_targets.desc 23 Jun 2013 12:31:14 -  1.3
+++ profiles/desc/ruby_targets.desc 9 Aug 2013 16:27:37 -
@@ -6,7 +6,7 @@
 
 rbx - Build with Rubinius
 jruby - Build with JRuby
-ree18 - Build with Ruby Enterprise Edition 1.8.x
+ree18 - Build with Ruby Enterprise Edition 1.8.x (DEPRECATED)
 ruby18 - Build with MRI Ruby 1.8.x
 ruby19 - Build with MRI Ruby 1.9.x
 ruby20 - Build with MRI Ruby 2.0.x

--
Arfrever Frehtes Taifersar Arahesis


signature.asc
Description: This is a digitally signed message part.