On Wednesday 23 September 2009, Rodolfo (kix) wrote: > Hi Rafael, Hi, > I am thinking about the maintaining ... > > 1. The users sends the hardware info to be added to the database (now > by mail). Then: > > 1. Probably we need a little script (or web script? or post directly > form the s2ram -i?): > 1.a The script checks if the machine is previously added to the > database (in a text file). Probably this script can read from the > mailing list format > > xxxx:% sudo /root/s2ram -i > This machine can be identified by: > sys_vendor = "TOSHIBA" > sys_product = "Satellite U305" > sys_version = "PSU34U-00L003" > bios_version = "V1.70 " > See http://en.opensuse.org/S2ram for details. > > 1.b If is not added, the script add the machine to a text file. However you arrange that is up to you. My experience is that the users generally send whitelist information by email. > 2. The text file can be processed using a little script to convert it > to the "whitelist.[c,h]" files and converted to web page (s2whitelist > and s2web :-)) > 3. The script can do a git update if needed. Well, I'm surely not going to allow the script to update the master git tree at kernel.org directly. > In my opinion, the file should have this format: > > <author info for the comment's > line>·<sys_vendor>·<sys_product>·<sys_version>·<bios_version>·<flags> > > I am using the "·" separator because probably is not used in any field. What's the code of this character? Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm