rbt wrote: > I have a script that automatically builds kernels for testing. Would it > be possible to put the kernel version number (2.6.12.3) into the > 'LATEST-IS-VERSION' file on http://www.kernel.org/pub/linux/kernel/v2.6/ > or, is there some other file that traditionally has stored this info? I > searched the repository but could not find one. > > As of now, my script goes to the site and parses the page searching for > a line that contains 'LATEST-IS' and then breaks that line apart and > attempts to extract the kernel version number from it. If > LATEST-IS-VERSION actually contained the version number (2.6.12.3) > instead of being a 0 byte file as it is now, then it my script could > simply read it and not have to do funky html parsing to get the latest > version number ;)
Some things from the top of my mind: a) /\d+\.\d+\.\d+(\.\d+)?/ b) use ftp:// c) http://kernel.org/kdist/rss.xml d) http://www.kernel.org/kdist/finger_banner ps: you know http://l4x.org/k/ and kerncomp.sf.net? -- Jan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/