Re: [Pkgutil-users] patch to support non-standard VERSION entries
Status: Beta
Brought to you by:
bonivart
|
From: <ma...@pr...> - 2010-07-27 20:45:44
|
On Tue 27/07/10 3:34 PM , Peter Bonivart bon...@op... sent: > I think it's starting to be a lot of different stuff being discussed > in the same thread now. Maybe the package map and the software stacks > deserve new threads started? Good idea. > I'm about to start using unit tests to increase the quality of the > releases. This will likely require me to split off all but the > simplest command line parsing from pkgutil and put basically > everything in one or more perl modules. > > This opens some possibilities regarding managing non-CSW stuff. It > would be nice to have the compare subs in a perl module, we could have > several complete, independent ones being selected by pkgutil.conf > options. So the current CSW one is 100% intact and non-CSW stuff gets > its own sub. I would like that kind of isolation instead of > complicating the current stuff. Someone else could do a third variant > which uses whatever method of doing the compare. > > @Mark: are you comfortable with Subversion and Sourceforge? Do you > want to be added to the project so you can start a new branch? You > could try your stuff there, no need to send me patches. This all sounds good, Peter. My sourceforge username is 'cambridge'. Modularising sounds like a great idea. If I had a playpen I could write in support for some of the things I've been talking about, in a non-CSW module that you can test separately and then critique and/or modify as you see fit. The problem will be that in order to do some of the things I'm suggesting, I'll need to add new command-line options, add options to pkgutil.conf, amend the catalogue format as well as provide different version comparison code. Could this all be done in a module? Thanks, Mark. |