TheOldFellow wrote: > On Fri, 28 Mar 2008 12:11:55 -0500 > Bruce Dubbs <[EMAIL PROTECTED]> wrote: > >> It looks like we have lost our updates of files on Anduin. The most > <snip> >> We probably need a script to extract all the files from the xml and >> check them against the repository nightly with a message to blfs-book of >> any missing files. This would be similar to the patches check. > <snip> >> Thoughts? >> >> -- Bruce > > There are also the md5sums. It would be good to check the file against > the editor's stated md5sum extracted from the book. (difficult! I > don't have any idea if it's even possible)
Yes, its possible. The easiest way to do the xslt is to modify the xml. For instance, if we have: <ulink url="&kdeaddons-download-http;"/> We could change it to read: <ulink role='download' revision='&kdeaddons-md5sum;' url="&kdeaddons-download-http;"/> we could extract to a file that has lines like: kdeaddons-3.5.9.tar.bz2 eaa3832a25b483d1a9613f75991c3d7b from there it would relatively easy to write a bash script to search for the file on anduin and check the md5sum if found. Then errors could be sent to blfs-book. It would be a fair amount of work to add the attributes to every place that would need it, but if we had several editors working it, we could do it fairly quickly. I don't know how much problem it would be to find and extract the filenames and md5sums without the added attributes. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
