diff options
author | Björn Gustavsson <[email protected]> | 2009-12-06 14:01:45 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2009-12-06 14:01:45 +0100 |
commit | 5b4c201e794fd1cced21e8d54e83ae498e5372b6 (patch) | |
tree | aeb7e8a20e8f566d3e8dab761762d661a820e693 /page | |
parent | 0aa5a2767f4fe5aed65a289253b7eff1faf0d48c (diff) | |
download | otp-5b4c201e794fd1cced21e8d54e83ae498e5372b6.tar.gz otp-5b4c201e794fd1cced21e8d54e83ae498e5372b6.tar.bz2 otp-5b4c201e794fd1cced21e8d54e83ae498e5372b6.zip |
page, cook: Include the OTP application(s)
For each topic, list the application(s) that is touched by the
topic branch.
Diffstat (limited to 'page')
-rwxr-xr-x | page | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -6,9 +6,11 @@ use File::Spec; -d '.git' or die "$0: Not a Git repository"; my $root = dirname($0); +my $application = "$root/application"; my $last = `(cd $root; git ls-files "whats" | tail -1)`; @ARGV = ("$root/$last"); + my $output_file = "GH-PAGES/index.html"; open STDOUT, ">", $output_file or die "$0: Failed to open $output_file for writing: $!\n"; @@ -57,8 +59,13 @@ foreach (`git log --oneline --first-parent dev..pu`) { my(@revs) = `git rev-list $range`; my $commits = @revs == 1 ? "1 commit" : scalar(@revs) . " commits"; my $max = 12; + my $apps = `$application $child^1...$child^2`; + chomp $apps; + system "git", "show", "-s", "--date=short", - qq[--format=<li><a href="$root_url/%H">$topic</a>:], "$child"; + qq[--format=<li><a href="$root_url/%H">$topic</a> ($apps):], + "$child"; + print "<ul>\n"; my $format = qq[<li><a href="$root_url/%H">%s</a></li>]; system "git", "--no-pager", "log", "-n", $max, |