Re: [gentoo-portage-dev] A seemingly bug found when emerging @preserved-rebuild

2008-07-01 Thread Mike Frysinger
On Tuesday 01 July 2008, Marius Mauch wrote: > On Wed, 2 Jul 2008 02:41:14 +0800 > > Is this a bug? or did I miss something here? > > Thanks for your time! > > The 'bug' here is that USE=multislot shouldn't exist. not really. the SLOT syntax should be sufficiently flexible, but seeing as it isnt

Re: [gentoo-portage-dev] A seemingly bug found when emerging @preserved-rebuild

2008-07-01 Thread Zhang Le
On 21:05 Tue 01 Jul , Marius Mauch wrote: > On Wed, 2 Jul 2008 02:41:14 +0800 > Zhang Le <[EMAIL PROTECTED]> wrote: > > > Is this a bug? or did I miss something here? > > Thanks for your time! > > The 'bug' here is that USE=multislot shouldn't exist. People using it > should be able to deal w

Re: [gentoo-portage-dev] A seemingly bug found when emerging @preserved-rebuild

2008-07-01 Thread Zhang Le
On 21:05 Tue 01 Jul , Marius Mauch wrote: > On Wed, 2 Jul 2008 02:41:14 +0800 > Zhang Le <[EMAIL PROTECTED]> wrote: > > > Is this a bug? or did I miss something here? > > Thanks for your time! > > The 'bug' here is that USE=multislot shouldn't exist. People using it > should be able to deal w

Re: [gentoo-portage-dev] A seemingly bug found when emerging @preserved-rebuild

2008-07-01 Thread Marius Mauch
On Wed, 2 Jul 2008 02:41:14 +0800 Zhang Le <[EMAIL PROTECTED]> wrote: > Is this a bug? or did I miss something here? > Thanks for your time! The 'bug' here is that USE=multislot shouldn't exist. People using it should be able to deal with resulting breakages on their own Marius -- gentoo-portag

[gentoo-portage-dev] A seemingly bug found when emerging @preserved-rebuild

2008-07-01 Thread Zhang Le
Hi, guys, The problem is like this: If "multislot" USE flag is enabled, the installed gcc's SLOT will be $CHOST-$majorver.$minorver.$microver. But in metadata cache, the SLOT is $majorver.$minorver. So when emerge @preserved-rebuild, emerge will complain "can't find ebuild for =sys-deve

Re: [gentoo-portage-dev] Re: [PATCH 6/6] Add deprecation warnings to classes that have has_key() methods.

2008-07-01 Thread Alec Warner
You should hardcode the warning somewhere. also quote 'in', eg. 'please use the \'in\' operator' -Alec On Tue, Jul 1, 2008 at 5:09 AM, Ali Polatel <[EMAIL PROTECTED]> wrote: > These don't apply to the trunk anymore. > Updated patches can be found at: http://dev.gentoo.org/~hawking/py3k/portage/

[gentoo-portage-dev] Re: [PATCH 6/6] Add deprecation warnings to classes that have has_key() methods.

2008-07-01 Thread Ali Polatel
These don't apply to the trunk anymore. Updated patches can be found at: http://dev.gentoo.org/~hawking/py3k/portage/ -- Regards, Ali Polatel -- gentoo-portage-dev@lists.gentoo.org mailing list

[gentoo-portage-dev] [PATCH 6/6] Add deprecation warnings to classes that have has_key() methods.

2008-07-01 Thread Ali Polatel
--- pym/portage/__init__.py |4 pym/portage/cache/mappings.py | 12 +++- pym/portage/cache/template.py |4 3 files changed, 19 insertions(+), 1 deletions(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 9e29435..1564aba 100644 --- a/pym/por

[gentoo-portage-dev] [PATCH 5/6] Replace has_key() with the in operator (bin)

2008-07-01 Thread Ali Polatel
--- bin/dispatch-conf |6 +++--- bin/dohtml|6 +++--- bin/glsa-check|4 ++-- bin/repoman | 14 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bin/dispatch-conf b/bin/dispatch-conf index 28516c9..a8159cd 100755 --- a/bin/dispatch-conf

[gentoo-portage-dev] [PATCH 4/6] Replace has_key() with the in operator (portage.elog)

2008-07-01 Thread Ali Polatel
--- pym/portage/elog/__init__.py |4 ++-- pym/portage/elog/filtering.py|2 +- pym/portage/elog/messages.py |4 ++-- pym/portage/elog/mod_mail.py |2 +- pym/portage/elog/mod_mail_summary.py |2 +- 5 files changed, 7 insertions(+), 7 deletions(-)

[gentoo-portage-dev] [PATCH 3/6] Replace has_key() with the in operator (portage.dbapi)

2008-07-01 Thread Ali Polatel
--- pym/portage/dbapi/__init__.py |2 +- pym/portage/dbapi/bintree.py |2 +- pym/portage/dbapi/vartree.py | 16 pym/portage/dbapi/virtual.py |8 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/pym/portage/dbapi/__init__.py b/pym/portage/d

[gentoo-portage-dev] [PATCH 2/6] Replace has_key() with the in operator (portage.cache)

2008-07-01 Thread Ali Polatel
--- pym/portage/cache/metadata_overlay.py |2 +- pym/portage/cache/sql_template.py |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/cache/metadata_overlay.py b/pym/portage/cache/metadata_overlay.py index 13d1278..e25759c 100644 --- a/pym/portage/cache/

[gentoo-portage-dev] [PATCH 1/6] Replace has_key() with the in operator (portage)

2008-07-01 Thread Ali Polatel
This is a series of patches to use the in operator instead of the has_key() method for dictionaries. The has_key() method is deprecated in python2.6 and removed in python3.0. I've also added DeprecationWarning's to classes that have a has_key() method so people writing code using portage will be n

[gentoo-portage-dev] [4/4] proto-GLEPS for Tree-signing

2008-07-01 Thread Robin H. Johnson
Attached. -- Robin Hugh Johnson Gentoo Linux Developer & Infra Guy E-Mail : [EMAIL PROTECTED] GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 GLEP: xx+5 Title: Manifest2 filetypes Version: $Revision: 1.15 $ Last-Modified: $Date: 2008/07/01 08:52:34 $ Author: Robin Hugh Johnson

[gentoo-portage-dev] [3/4] proto-GLEPS for Tree-signing

2008-07-01 Thread Robin H. Johnson
Attached. -- Robin Hugh Johnson Gentoo Linux Developer & Infra Guy E-Mail : [EMAIL PROTECTED] GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 GLEP: xx+4 Title: Manifest2 hash policies and security implications Version: $Revision: 1.10 $ Last-Modified: $Date: 2008/07/01 07:18:4

[gentoo-portage-dev] [2/4] proto-GLEPS for Tree-signing

2008-07-01 Thread Robin H. Johnson
Attached. -- Robin Hugh Johnson Gentoo Linux Developer & Infra Guy E-Mail : [EMAIL PROTECTED] GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 GLEP: xx+1 Title: Security of distribution of Gentoo software - Infrastructure to User distribution - MetaManifest Version: $Revision:

[gentoo-portage-dev] [1/4] proto-GLEPS for Tree-signing

2008-07-01 Thread Robin H. Johnson
Attached. -- Robin Hugh Johnson Gentoo Linux Developer & Infra Guy E-Mail : [EMAIL PROTECTED] GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 GLEP: xx Title: Security of distribution of Gentoo software - Overview Version: $Revision: 1.8 $ Last-Modified: $Date: 2008/07/01 07:03

[gentoo-portage-dev] [0/4] proto-GLEPS for Tree-signing

2008-07-01 Thread Robin H. Johnson
Hi folks, it's that time again, time for the proto-gleps on tree-signing. Barring two minor TODO items, I have completed all of the series dealing with distribution issues and Manifest2. The developer issues and gnupg management issues remain, but they don't block the Manifest2 and distribution pa