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 ? :)
-mike

--
[email protected] mailing list

Reply via email to