On Thursday 20 January 2005 00:12, Mike Frysinger wrote: > On Wednesday 19 January 2005 05:47 pm, Alexander Mieland wrote: > > what speaks against it to let the client do this by himself? > > if it's true you only need to read it once then it shouldnt be too > hard to integrate it into basc itself ... > > when the user runs `basc` and you havent yet gathered the basic > statistic info, then try to read /var/log/emerge.log ... if you get > permission denied, then run a sudo operation long enough to read it > and parse the data ... here's a cheap little mock up of the process: > > $ basc > In order to gather statistical data about build times on your system, > basc needs to read /var/log/emerge.log once. Please type your root > password now so that basc can gather that info! > Password: > > i think this would make everyone happy eh ? :)
This is exactly the thing I had to remove from basc a few weeks ago. A few weeks ago, basc only runs with root-privileges or with such sudo commands. Such thing will not be put into basc again. -- http://de.gentoo-wiki.com Alexander Mieland (aka dma147) http://www.gentoo-stats.org Registered Linux-User #249600 http://www.php-programs.de GnuGPG-ID: 27491179 http://www.affen-in-not.de www.php-programs.de/dma147.asc
pgpoMgWtiEPC3.pgp
Description: PGP signature
