From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DMARC_QUAR,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by chiba.3jane.net (Postfix) with SMTP id 503A1ABD9A for ; Sun, 16 Jun 2002 15:16:01 -0500 (CDT) Received: (qmail 766 invoked by uid 0); 16 Jun 2002 20:15:59 -0000 Received: from dl-adsl-c8d44ceb.sao.terra.com.br (HELO tara.pvt.jagunco.net) (200.212.76.235) by mail.gmx.net (mp013-rz3) with SMTP; 16 Jun 2002 20:15:59 -0000 Date: Sun, 16 Jun 2002 17:16:21 -0300 From: Rufiao To: gentoo-dev@gentoo.org Message-Id: <20020616171621.16b109e5.rufiao@gmx.net> X-Mailer: Sylpheed version 0.7.6claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gentoo-dev] RFP: System to account users configurations Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 3681ffc5-233a-44a8-a54d-85264a57afb7 X-Archives-Hash: 2effc66899f64e6f2f8b90d18cfbd204 As stated in bug #3778 (http://bugs.gentoo.org/show_bug.cgi?id=3778): 1. Rationale This system is inspired by Debian's popularity-contest package (http://packages.debian.org/stable/misc/popularity-contest.html) with some important enhancements. The key idea is to provide means for the Gentoo community to account the most used packages, hardware configurations, kernel versions, compile flags and profiles. Additionaly, this system aims to provide the following advantages: - Allow the creation of CD layouts which include the most used packages for each profile - Allow the developers to investigate the most used configurations, and focus on them for setting priorities, documentation, standard kernel configurations, etc. - Give some figures about the number of active users in the community 2. Description The system comprises of 2 subsistems: - A client-side system that runs periodically through cron to grab information from users' configurations and post them to the server system trhough HTTP. This system does not require any user intervention beyond the initial configuration. - A server-side system running on the gentoo.org domain capable of receiving the information provided by the users, store them on a database and create statistics with them. Also, it provides a web front-end to query the database. The following information will be processed by the system: - Packages installed, including their versions (as in `qpkg -nc -I -v` from the gentoolkit package) - Flags in make.conf (as in `egrep "^(USE|CHOST|CFLAGS|CXXFLAGS)" /etc/make.conf`) - CPU info (as in `egrep "^(model name|cpu MHz)" /proc/cpuinfo`) - System memory (as in `egrep "^MemTotal:" /proc/meminfo`) - PCI devices (as in `lspci | colrm 1 8 | sed 's/\(.*\)(.*/\1/'` from the pciutils package) - USB devices (as in `lsusb | grep iProduct | colrm 1 28` from the usbutils packages) - Kernel version (as in `uname -r`) - Profile being used (as in `ls -ld /etc/make.profile | awk '{print $NF}' | awk -F/ '{print $NF}'`) In the client side, the procedure to provide data for the system is the following: - User emerge the package, which: - Sets a crontab entry to let the system run periodically, possibly requiring user intervention to specify when the system should run - Points to an URL (in the gentoo.org domain) for signup - User go to the provided url, which requests the e-mail from the user, and that the user transcribe a random 4-letters message shown as an image to a text box. These requirements are used to ensure, as long as possible, the autenticity of the data and to avoid automated signups - The server-side system will e-mail the user with a key, which must be placed in the config file - To post the information to the server-side system, the client-side system can use the proxy settings defined on /etc/make.conf - In the first set of data the server-side system receives, it will e-mail a message to the user to let him know the system is running fine Note that it is not guaranteed the system will have internet connectivity when it gets run. In this case, it may keep periodically checking in the background for a route to the server. The following vars can be set on the config file: - Key: as discussed above - Acknowlege flag: send an e-mail to the user every time a set of data from him is processed (defaults to false)