← Back to team overview

keryx team mailing list archive

Re: StatusMerge.py

 

One step closer to 0.92.2's release. :D

On Tue, Aug 4, 2009 at 5:14 PM, mac9416 <mac9416@xxxxxxxxxxxxxxxx> wrote:

> We recently discovered that Keryx 0.92.1's "default" project was
> broken because it has no status file. In order to fix this, we need to
> create a status file that contains only packages that are included in
> Ubuntu, Kubuntu, and Xubuntu. Seeing as there are thousands of
> packages installed by default in each of those Ubuntu flavors, making
> this status file by hand is out of the question. So, this morning, I
> wrote a Python script to do it.
>
> To run the script, you gather the several status files you want to
> filter into the directory with the script. Then run "python
> StatusMerge.py status1 status2  ..." It will spit out a file called
> "status_new" that will contain only packages included in all the
> original status files.
>
> Right now, there is a bug that causes two newline characters to be
> tacked onto the end of the output status file. I haven't bothered to
> fix the problem, because 1) I don't believe it's serious and  2) the
> newlines can be quickly removed with your favorite text editor.
>
> We will be releasing 0.92.2 with the new default project containing
> this super status file soon. I will also be adding StatusMerge.py to
> the /tools directory in the Keryx development branch.
>
> Check it out, tell me what you think. Thanks
> -mac
>
> _______________________________________________
> Mailing list: https://launchpad.net/~keryx<https://launchpad.net/%7Ekeryx>
> Post to     : keryx@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~keryx<https://launchpad.net/%7Ekeryx>
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Chris Oliver
http://excid3.com

References