Mailinglist Archive: zypp-devel (75 mails)
| < Previous | Next > |
Re: [zypp-devel] script to convert old locks to new
- From: Josef Reidinger <jreidinger@xxxxxxx>
- Date: Fri, 09 May 2008 10:44:01 +0200
- Message-id: <48240ED1.2000307@xxxxxxx>
Josef Reidinger wrote:
Due to some emails which is sended non-public I change this script. Now support recognizing of new format - so it is save run this script if you have already converted file. also it replace locks file and save old to locks.old.
One way which madres propose was integrate support for old locks directly to PoolQuery serializer. Disadvantage is that we need support another code and fix bugs on it (like mixing old and new format). Convert script is easy to maintain and need only one run to convert whole file.
Still doesn't support version restrict due to missing support in PoolQuery.
Pepa
I attach script which converts old locks to new format. Problem is, that new locks (as PoolQuery) doesn't support version restrict. So convertor ignore version restrict. Due to this, converted locks is created in /tmp directory and you can check it before move it over old file.
comments welcome
Pepa
Due to some emails which is sended non-public I change this script. Now support recognizing of new format - so it is save run this script if you have already converted file. also it replace locks file and save old to locks.old.
One way which madres propose was integrate support for old locks directly to PoolQuery serializer. Disadvantage is that we need support another code and fix bugs on it (like mixing old and new format). Convert script is easy to maintain and need only one run to convert whole file.
Still doesn't support version restrict due to missing support in PoolQuery.
Pepa
| < Previous | Next > |