On Thu, Aug 23, 2012 at 9:18 AM, Geordie McBain <[email protected]> wrote: > 2012/8/23 John Peterson <[email protected]>: >> On Thu, Aug 23, 2012 at 2:34 AM, Geordie McBain <[email protected]> >> wrote: >>> 2012/8/22 Geordie McBain <[email protected]>: >>>> 2012/8/22 Subramanya Gautam Sadasiva <[email protected]>: >>>>> Hi, >>>>> I am new to libmesh, but there seems to have been some sort of >>>>> rearrangement of the example numbers. Is there somewhere I can find which >>>>> old example numbers correspond to the current examples? >>>> >>>> Hello. I had hoped that this would be a simple exercise in svn log, >>>> but after finding the relevant revision easily enough >>>> >>>> %<--- >>>> $ svn log -r 5000 >>>> ------------------------------------------------------------------------ >>>> r5000 | knezed01 | 2011-12-05 05:49:39 +0100 (Mon, 05 Dec 2011) | 1 line >>>> >>>> Reorganized the examples into subdirectories. The comments in each >>>> example still need to be updated to reflect the new numbering scheme. >>>> ------------------------------------------------------------------------ >>>> --->% >>>> >>>> I was quickly reminded that Subversion ("svn diff --summarize -c >>>> 5000") only tracks renames as deletes and additions, but not which >>>> addition was related to which deletion. >>>> However, the second sentence in the log comment means the (42000 >>>> line!) output of "svn diff -c 5000" can be searched for "Example 0", >>>> "Example 1", ... so >>>> >>>> svn diff -c 5000 | grep -E '(<h1>Example [0-9]|\+\+\+ .*\.C)' >>>> >>>> gives the attached 72 line output which pretty much pairs up the old & new. >>> >>> After that I noticed a few cross-references in comments or string >>> literals still using the old numerotation, so I tried to find and >>> update them all; patch attached. >> >> Geordie, thanks for taking the time to produce this mapping. >> >> Subramanya, was there some specific example you were curious about? >> >> The libmesh examples documentation page >> (http://libmesh.sourceforge.net/examples.php) appears to be in good >> shape to me... > > Yes but subpages contain things like "This example is based on example 14" > > http://libmesh.sourceforge.net/miscellaneous_ex5.php > > The attached patch (which replaces this morning's, adding a couple of > other catches from the example sources, and being against the later > r5983) doesn't touch the doc/html/*.php. (I had thought, without > looking into it, they might be generated from the example sources > somehow.)
Thanks for the patch. I never got the one you sent earlier; I think libmesh-users drops all? attachments. -- John ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
