Hi everybody,
talking in #gentoo of azzurra (italian unofficial but populated irc
channel), there was a question, how long can take this or that ebuild to
compile?
This is a Frequently Asked Question there, so me and another person
(Swayer) decided to try to start a project.
The idea is to create a database containing the name of the packages and
the time to compile them. This time is expressed in bash_time  (like
linux from scratch) and we can store a possible time which is the result
of the average time of all posts.
The bash time changes if the CPU change but the proportion will be the
same, so in a table of the db we will store the information about the
bash and the CPU and in another we will store information on the ebuild
and the bash_time to compile it.
I've thought to make 2 clients and 1 server:
1 client (simply python script) to get the information about the emerged
packages throught the /var/log/emerge.log file (like genlop), I will
store the information in a file that the user will upload to a php
interface to store the information in the database;
2 the second client is to get the information about the time to emerge
something. It can be a simply python script, we can make a frontend to
it, and it will connect to the database on the net, tell the CPU info
and show to the user how long it may take to compile the ebuild selected
3 the server is composed by a mysql or another sql database server and a
simple php interface to query the database and to store the information.

Do you think that this is a good idea? Suggestion? Comments?
I'd like to read what do you think :D
(if you think that it's a good idea, we need a hosting for the db and
the web-site, so any suggestion is wellcome :D )

Thanks for your attention and sorry for my poor English.

Pietro Montorfano


--
[EMAIL PROTECTED] mailing list

Reply via email to