Commit r2365: https://sourceforge.net/p/mrbs/code/2365/
------------------------------------------------------------------------ r2365 | jberanek | 2012-07-26 23:25:35 +0100 (Thu, 26 Jul 2012) | 2 lines Changed paths: M /tools/trunk/commit-emailer.pl Added support for passing a rev range, as alternative to the standard RSS fetching behaviour ------------------------------------------------------------------------ Index: tools/trunk/commit-emailer.pl =================================================================== --- tools/trunk/commit-emailer.pl (revision 2364) +++ tools/trunk/commit-emailer.pl (revision 2365) @@ -10,7 +10,7 @@ my $svn_repos = 'code'; my @terse_recipients = ( - '[email protected]', + '[email protected]', # 'jberanek', ); my @verbose_recipients = @@ -24,6 +24,25 @@ my $commit_url_base = "https://sourceforge.net/p/$project/$svn_repos/"; my $rss_url = "${commit_url_base}feed"; +my $rev_range = shift; +if ($rev_range) +{ + if ($rev_range =~ m/(\d+):(\d+)/) + { + $start_rev = $1; + $end_rev = $2; + } + elsif ($rev_range =~ m/(\d+)/) + { + $start_rev = $end_rev = $1; + } + for (my $rev = $start_rev; $rev <= $end_rev; $rev++) + { + email_commit($rev); + } + exit 0; +} + my $ua = LWP::UserAgent->new; my $response = $ua->get($rss_url); if (!$response->is_success) ------------------------------------------------------------------------------ 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/ _______________________________________________ Mrbs-commits mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mrbs-commits
