Re: Project ideas page: UPDATING parser and displayer

2007-10-21 Thread David E. Thiel
On Sat, Oct 20, 2007 at 12:23:51PM +0200, Hans Lambermont wrote: > I assume the goal is to make it available for the ports upgrade system, > for that pkg_updating needs the install date of the old port. I'm not > sure where this is available. Do you ? I ran into this problem recently - the best I

Re: Project ideas page: UPDATING parser and displayer

2007-10-20 Thread Beat Gätzi
Miroslav Lachman wrote: > It would be better if one can omit -p. Then pkg_updating will be more > "compatible" with other pkg_* commands (e.g. pkg_info which shows all > installed packages without any argument or just info for given package[s]. > (so one can use `pkg_updating apache mysql` and get

Re: Project ideas page: UPDATING parser and displayer

2007-10-20 Thread Beat Gätzi
Martin Tournoij wrote: > Here's a little patch. > > It changes: > - variable tmpfile was renamed to tmp_file, I got a warning that it > shadowed a global declaration > - Add support for PORTSDIR and PKG_DBDIR > - Don't exit if we can't open +CONTENTS file, since pkgdb may be in > /var/

Re: Project ideas page: UPDATING parser and displayer

2007-10-20 Thread Martin Tournoij
On Sat 20 Oct 2007 13:10, Beat Gtzi wrote: > Rong-en Fan wrote: > >> Known issues: > >> - pkg_updating needs a colon at the end of the date line. Some entries > >> don't have this colon. This patch adds the missing colons: > >> http://tmp.chruetertee.ch/pkg_updating/UPDATING.patch > > > > I just c

Re: Project ideas page: UPDATING parser and displayer

2007-10-20 Thread Miroslav Lachman
Beat Gätzi wrote: Hi, I read at the project idea page about the UPDATING parser and displayer. I wrote a small script that parses and displays entries from /usr/ports/UPDATING: pkg_updating With the -p argument only entries for the given portname are shown. Without the -p argument entries for

Re: Project ideas page: UPDATING parser and displayer

2007-10-20 Thread Beat Gätzi
Rong-en Fan wrote: >> Known issues: >> - pkg_updating needs a colon at the end of the date line. Some entries >> don't have this colon. This patch adds the missing colons: >> http://tmp.chruetertee.ch/pkg_updating/UPDATING.patch > > I just committed this. Thanks! Thanks! >> pkg_updating is avail

Re: Project ideas page: UPDATING parser and displayer

2007-10-20 Thread Rong-en Fan
On 10/20/07, Beat Gätzi <[EMAIL PROTECTED]> wrote: > Hi, > > I read at the project idea page about the UPDATING parser and displayer. > I wrote a small script that parses and displays entries from > /usr/ports/UPDATING: pkg_updating > [...] Nice work ;-) > Known issues: > - pkg_updating needs a

Re: Project ideas page: UPDATING parser and displayer

2007-10-20 Thread Beat Gätzi
Hans Lambermont wrote: >> I wrote a small script that parses and displays entries from >> /usr/ports/UPDATING: pkg_updating > > Great work ! I just tried it, and it works really nice. Thanks! > I assume the goal is to make it available for the ports upgrade system, > for that pkg_updating needs

Re: Project ideas page: UPDATING parser and displayer

2007-10-20 Thread Hans Lambermont
Beat G?tzi wrote: > I wrote a small script that parses and displays entries from > /usr/ports/UPDATING: pkg_updating Great work ! I just tried it, and it works really nice. I assume the goal is to make it available for the ports upgrade system, for that pkg_updating needs the install date of th

Project ideas page: UPDATING parser and displayer

2007-10-20 Thread Beat Gätzi
Hi, I read at the project idea page about the UPDATING parser and displayer. I wrote a small script that parses and displays entries from /usr/ports/UPDATING: pkg_updating With the -p argument only entries for the given portname are shown. Without the -p argument entries for all installed ports