[opensuse-factory] EVMS in 10.3

2007-09-21 Thread James Oakley
According to https://bugzilla.novell.com/show_bug.cgi?id=224462 , EVMS 
installation was disabled in 10.2 and was to be reenabled in 10.3.

I'd like to try it in RC1, but it is apparently still not enabled. Is there 
any way I can enable it myself?

-- 
James Oakley
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] python-elementtree in Factory

2007-02-26 Thread James Oakley
On Friday 23 February 2007 5:07 pm, Christoph Thiel wrote:
 On Fri, Feb 23, 2007 at 02:22:27PM -0400, James Oakley wrote:
  I've noticed that python-elementtree was removed in Factory. Will it be
  returning?

 No, most likely it won't.

  It's a very popular module that's used in a lot of Python projects,
  including osc.

 osc already has code in place to use Python 2.5's xml.etree. (We just need
 to drop the python-elementtree requirement for $dist = 10.2). All other
 packages that depended on python-elementtree should have been patched to
 use xml.etree. If there are still hidden problems with this, let me know!

 Is there any functionally that existed in python-elementtree, which is not
 part of xml.etree that you relied on? (I only know of SimpleXMLWriter,
 which was only used by repoview and therefore is now being shipped with
 repoview.)

A list of differences can be found at 
http://codespeak.net/lxml/compatibility.html

I have no problem porting my code, but other people may have trouble. Why not 
make ElementTree raise a DeprecationWarning for a short period to give people 
a chance to catch up?

-- 
James Oakley
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] python-elementtree in Factory

2007-02-26 Thread James Oakley
On Monday 26 February 2007 11:12 am, Christoph Thiel wrote:
  A list of differences can be found at
  http://codespeak.net/lxml/compatibility.html

 Are you sure this is really the in-tree Python 2.5 etree.xml? It looks like
 a different thing to me -- at first glace.

Ah, you're right. lxml.etree is an ElementTree implementation under lxml, and 
xml.etree is a subset of Fredrik Lundh's module.


  I have no problem porting my code, but other people may have trouble. Why
  not make ElementTree raise a DeprecationWarning for a short period to
  give people a chance to catch up?

 I guess we can add the package back, in case it really turns out to be a
 problem. But as of today I'm not aware of any.

According to this, xml.etree is a subset of the full distribution:

http://docs.python.org/whatsnew/modules.html#SECTION000142

For myself, this is not really a problem, since I can update my code and I 
only use core features. However, there are plenty of programs that use 
ElementTree directly that are not supplied in OpenSUSE. I know of a couple of 
programs that are using local forks of some of my code using ElementTree.

-- 
James Oakley
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] python-elementtree in Factory

2007-02-26 Thread James Oakley
On Monday 26 February 2007 4:21 pm, Christoph Thiel wrote:

 The way I see it, most projects actually ship their own in-tree copy of
 ElementTree (e.g. smart does). So, most of the stuff should be alright --
 or needs to be ported to 2.5's xml.etree anyways. So, for now, I'd
 suggest we stick with the current sitation -- without python-elementtree.
 If it turns out, there is actual demand for it, we will have to reconsider.

That's cool. I'll send patches downstream to the projects using my code.

Thanks,

-- 
James Oakley
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse-factory] python-elementtree in Factory

2007-02-23 Thread James Oakley
I've noticed that python-elementtree was removed in Factory. Will it be 
returning?

It's a very popular module that's used in a lot of Python projects, including 
osc.

-- 
James Oakley
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] python-elementtree in Factory

2007-02-23 Thread James Oakley
On Friday 23 February 2007 2:36 pm, [EMAIL PROTECTED] wrote:
 Hi,

  I've noticed that python-elementtree was removed in Factory. Will it be
  returning?

 Probably not, as it's now part of the standard library.

 # rpm -ql python-xml | grep -i elementtree
 /usr/lib/python2.5/xml/etree/ElementTree.py
 /usr/lib/python2.5/xml/etree/ElementTree.pyc
 /usr/lib/python2.5/xml/etree/ElementTree.pyo
 /usr/lib/python2.5/xml/etree/cElementTree.py
 /usr/lib/python2.5/xml/etree/cElementTree.pyc
 /usr/lib/python2.5/xml/etree/cElementTree.pyo

The only problem is that it does not contain all of the functionality of the 
official release. It was renamed in this way so that they can coexist. It's 
kind of like python-xml vs. PyXML.

 Is it possible to fix these projects to use import xml.etree instead of
 import elementtree?

You can do something like this:

try:
import xml.etree as elementtree
except ImportError:
try:
import cElementTree as elementtree
except ImportError:
import elementtree

-- 
James Oakley
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Games on openSUSE 10.2 (forw)

2006-09-06 Thread James Oakley
On Wednesday 06 September 2006 7:25 am, Stefan Dirsch wrote:
 On Wed, Sep 06, 2006 at 11:55:25AM +0200, Bernhard Walle wrote:
  Hello,
 
  * Joerg Mayer [EMAIL PROTECTED] [2006-09-06 11:10]:
   don't forget pysol. It seems it was dropped for 10.1
 
  I think it's on the DVD. At least it's available in the internet
  installation sources.

 Indeed. This package still exists. The problem is that it's rather big
 for a Solitaire game (21 MB). kpat should be ok for the beginner.

How about splitting music and cardsets into separate packages?

My mom *loves* Pysol. :-)

-- 
James Oakley
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Games on openSUSE 10.2 (forw)

2006-09-06 Thread James Oakley
On Wednesday 06 September 2006 2:28 pm, Stefan Dirsch wrote:
  How about splitting music and cardsets into separate packages?

 Is Pysol really so much better than kpat?

Yes. It's complete. In the Windows world, there are lots of different 
downloadable solitaire games that are popular. For the people who have *that 
one game* they absolutely must have, Pysol has them covered.

-- 
James Oakley
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] distribution meeting - introduction and agenda

2006-08-16 Thread James Oakley
On Wednesday 16 August 2006 11:44 am, Andreas Jaeger wrote:
 * update messages general/conditional (e.g. bind)

   During update of packages they could notify users about changes via
   email and/or the SuSEplugger (until 10.0, this is not anymore in
   10.1).  Most of these are outdated and not really usefull anymore
   and should be removed.  The question is how to handle situations
   like bind where config files get rewritten and the user should be
   informed if this fails.

I believe that sending mail is still the appropriate action. As for the 
outdated messages, you can set environment variables (eg: 
SUSE_UPDATE_FROM=900, SUSE_UPDATE_TO=1020) so that %pre and %post scripts can 
determine whether a message should be sent.

-- 
James Oakley
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse-factory] Rug and Factory

2006-08-15 Thread James Oakley
I've been trying to keep up to date with Factory, but every time I try an 
update, it fails for some reason or another. It's usually Failed to parse 
XML metadata: Can't add repository at 
ftp://mirrors.kernel.org/opensuse/distribution/SL-OSS-factory/inst-source: 
Cannot create the installation source

So after many weeks, I finally have factory active in rug, but now rug 
thinks I'm up to date:

maus:~ # rug up
No updates are available.

The problem is that I'm not up to date:

maus:~ # rpm -q bash
bash-3.1-27
maus:~ # rug info bash
Catalog: 
ftp://mirrors.kernel.org/opensuse/distribution/SL-OSS-factory/inst-source
Name: bash
Version: 3.1-29
Arch: i586
Installed: No
Status: up-to-date

Why would rug think it's up-to-date when it clearly isn't? Here's my rug 
sl/ca:

maus:~ # rug sl

# | Status | Type | Name| URI
--++--+-+---
1 | Active | ZYPP | factory | 
ftp://mirrors.kernel.org/opensuse/distribut...
2 | Active | YUM  | funktronics | 
http://software.opensuse.org/download/home:...
3 | Active | YUM  | aj-zen  | 
ftp://ftp.gwdg.de/pub/linux/suse/people/aj/...
4 | Active | YUM  | os-tools| 
http://software.opensuse.org/download/openS...
5 | Active | ZYPP | extra   | 
ftp://mirrors.kernel.org/suse/install/10.2/...

maus:~ # rug ca

Sub'd? | Name| Service
---+-+
Yes| funktronics | funktronics
Yes| factory | factory
Yes| aj-zen  | aj-zen
Yes| os-tools| os-tools
   | extra   | extra


-- 
James Oakley
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Packagage Groupings - From Selections in 10.1 to Patterns in 10.2

2006-07-12 Thread James Oakley
On Wednesday 12 July 2006 9:41 am, Klaus Kaempf wrote:
 * Glenn Holmer [EMAIL PROTECTED] [Jul 12. 2006 12:54]:
  On Wednesday 12 July 2006 04:18, Andreas Jaeger wrote:
   * Patterns can be grouped into roles, like Development or
   Desktop. * Patterns can require other patterns
 
  Will there be a way to have alternate choices, e.g. if you select
  Database Server you can choose between MySQL and Postgres, or either
  if you select Java Development you can choose between NetBeans and
  Eclipse?

 Yes, this could be done.

 However, depending on whom you ask, people will love or hate
 such questions.

Actually, I think this can be used to take some of the drudgery out of the 
package selections.

I end up going through all of groups to make sure that I get all of the 
packages I need, but if a pattern can select packages based on other selected 
patterns, I could spend far less time on it.

If I select Database/PostgreSQL alone, it will install the server and 
client, but if I also have Development/C and C++ and Development/Python 
selected, postgresql-devel and postgresql-python will also be installed.

Similarly, if I select Desktop Environments/KDE it will install a basic KDE 
system, but if I also have Hardware/TV Capture it will also install kwintv.

You could also use this to select tasks independently of the desktop 
environment. If you select Productivity/Chat and you have KDE and GNOME 
selected, you would get Konversation and XChat, but if you just have KDE, you 
would just get Konversation.

I think that could be very powerful.

-- 
James Oakley
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Test updates for SUSE Linux 10.1

2006-07-11 Thread James Oakley
On Tuesday 11 July 2006 9:22 am, Andreas Jaeger wrote:
 I've published two repositories for SUSE Linux 10.1:
 * An updated packagemanagement stack
 * New kernel 2.6.16.21

The zen update worked perfectly. However, the kernel update did not::

xen:~ # rug up aj-kernel
Resolving Dependencies...

ERROR: Dependency resolution failed:
Unresolved dependencies:
Establishing novfs-kmp-default-1.2.0_2.6.16.13_4-10.x86_64
[SUSE-Linux-10.1-DVD9-x86-x86_64-10.1-0-20060707-164613]
Installing novfs-kmp-default-1.2.0_2.6.16.13_4-10.x86_64
[SUSE-Linux-10.1-DVD9-x86-x86_64-10.1-0-20060707-164613]
Establishing atom:novfs-kmp-default-1.2.0_2.6.16.21_0.6-9.2.x86_64[aj-kernel]
kernel-default-2.6.16.13-4.x86_64
[SUSE-Linux-10.1-DVD9-x86-x86_64-10.1-0-20060707-164613] provides 
kernel(kernel) == f6bd6270900c24b7, but another version of that package is 
already installed.
There are no installable providers of kernel(kernel) == f6bd6270900c24b7 for 
novfs-kmp-default-1.2.0_2.6.16.13_4-10.x86_64
[SUSE-Linux-10.1-DVD9-x86-x86_64-10.1-0-20060707-164613]

xen:~ # rpm -q kernel-default
kernel-default-2.6.16.20-2
xen:~ # rpm -e novfs-kmp-default
error: package novfs-kmp-default is not installed


If novfs-kmp-default is not installed, why is it considered in the dependency 
resolution?

-- 
James Oakley
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]