Hi Steffi,<div><br></div><div><div>> Is there maybe a way I could get an email when the code on the wiki page is</div><div>> updated, it could potentially mean that the code is not in sync with the</div><div>> documentation text I wrote anymore.</div>
</div><div><br></div><div>In addition to Stephan's suggestion, the purpose of that Jenkins job is to tell us of exactly such a situation. The mail will currently go out to the ImageJ-builds mailing list. Those of us who monitor it can forward any breakages to the relevant person (or just fix it ourselves if the solution is obvious).</div>
<div><br></div><div>Regards,</div><div>Curtis<br><br><br><div class="gmail_quote">On Wed, Oct 10, 2012 at 4:08 AM, Stephan Preibisch <span dir="ltr"><<a href="mailto:preibisch@mpi-cbg.de" target="_blank">preibisch@mpi-cbg.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Stephan, that will do the job ...<br>
<div class="HOEnZb"><div class="h5"><br>
On Oct 10, 2012, at 11:02 , Stephan Saalfeld wrote:<br>
<br>
> Hi Steffi,<br>
><br>
> the Wiki offers a recent-change feed:<br>
><br>
> <a href="http://pacific.mpi-cbg.de/wiki/index.php?title=Special:Recentchanges&feed=rss" target="_blank">http://pacific.mpi-cbg.de/wiki/index.php?title=Special:Recentchanges&feed=rss</a><br>
><br>
> Don't be old-school and subscribe it in your hopefully feed-capable<br>
> e-mail client (otherwise install the required plugin ;)). The result<br>
> would be exactly as desired, you get a `message' when something was<br>
> changed. Beautiful and extremely useful---and without the need to send<br>
> e-mails around.<br>
><br>
> Cheers,<br>
> Stephan<br>
><br>
><br>
><br>
><br>
> On Wed, 2012-10-10 at 10:42 +0200, Stephan Preibisch wrote:<br>
>> Hi Curtis,<br>
>><br>
>> this is a great idea!! Is there maybe a way I could get an email when the code on the wiki page is updated, it could potentially mean that the code is not in sync with the documentation text I wrote anymore.<br>
>><br>
>> Bye bye,<br>
>> Stephan<br>
>><br>
>> On Oct 9, 2012, at 22:45 , Curtis Rueden wrote:<br>
>><br>
>>> Hi all,<br>
>>><br>
>>> I completed an initial version of a web code snippet verification script. It can be found in the SciJava common repository at:<br>
>>> <a href="https://github.com/scijava/scijava-common/blob/master/bin/verify-code-snippets.pl" target="_blank">https://github.com/scijava/scijava-common/blob/master/bin/verify-code-snippets.pl</a><br>
>>><br>
>>> The initial use case was to verify that code snippets from the ImgLib2 examples page (<a href="http://fiji.sc/ImgLib2_Examples" target="_blank">http://fiji.sc/ImgLib2_Examples</a>) stay in sync with code in the Git repository (<a href="https://github.com/imagej/imglib/tree/master/imglib2/examples/src/main/java" target="_blank">https://github.com/imagej/imglib/tree/master/imglib2/examples/src/main/java</a>).<br>
>>><br>
>>> The script works by looking for a link to code on GitHub (of the form "<a href="https://github.com/.../blob/.." target="_blank">https://github.com/.../blob/..</a>.") preceding each code snippet.<br>
>>><br>
>>> It is working well for the ImgLib2 Examples, so I have set up a Jenkins job to run it daily:<br>
>>> <a href="http://jenkins.imagej.net/job/ImageJ-ImgLib-code-snippets/" target="_blank">http://jenkins.imagej.net/job/ImageJ-ImgLib-code-snippets/</a><br>
>>><br>
>>> Later, I will update the various code snippets on <a href="http://developer.imagej.net" target="_blank">developer.imagej.net</a> as well and add them to the Jenkins job.<br>
>>><br>
>>> Regards,<br>
>>> Curtis<br>
>>><br>
>>> P.S. to Tobias: The script caught your recent changes to Examples 4 & 6. I updated the wiki page to match!<br>
>>><br>
>><br>
><br>
<br>
</div></div></blockquote></div><br></div>