Mailinglist Archive: zypp-devel (64 mails)

< Previous Next >
Re: [zypp-devel] package history log file format
  • From: Stanislav Visnovsky <visnov@xxxxxxx>
  • Date: Thu, 31 Jul 2008 15:06:24 +0200
  • Message-id: <200807311506.24293.visnov@xxxxxxx>
Dňa Thursday 31 July 2008 14:40:55 Jan Kupec ste napísal:
I've got a mail day, so here's another one :O) We need to decide some
things regarding the $subject.

DATA

According to my research, we need to log these data:

datetime (e.g. YYYY-MM-DD HH:mm:ss format)
action (install | remove | upgrade | downgrade | reinstall)
reqby (auto | user) // meaning requested by - user or dependencies
pkgname
evr
arch
vendor
repo ??? // this is requested, but do we really want it? The vendor
// should be sufficient IMO
oldevr // relevant for upgrades/downgrades
oldarch
oldvendor
oldrepo ???

comments welcome


FORMAT

i suggest a CSV format, one entry per line, with values separated by
whatever char, e.g. a pipe, example:

2008-10-12
12:55:03|upgrade|user||0.12.0|i386|suse|dvd11|0.11.9|i386|unknown|somerepo
2008-10-12 12:55:10|remove|user|zypper|0.11.9|i386|unknown|dvd11||||
2008-10-12 12:55:03|install|user|zypper|0.12.0|i386|suse|dvd11||||

The repository name is not sufficient, as the repository settings can change
over time. Either we need to log those changes as well or we can use a full
URL for the package in the log file.

Stano
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
References