Revision: 6321
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 16, 2008 07:22 by felipec
Initial Code
#!/usr/bin/env ruby
cmd=`git-log --pretty='format:%ci::%an <%ae>::%s'`
list = {}
list_order = []
cmd.each do |l|
date, author, subject = l.chomp.split("::")
date, time, zone = date.split(" ")
id = "#{date}\t#{author}"
if not list[id]
list[id] = []
list_order << {:id => id, :value => list[id]}
end
list[id] << subject
end
# list.each do |id, value|
list_order.each do |i|
id = i[:id]
value = i[:value]
puts "#{id}"
puts value.map { |e| "\t* #{e}" }.join("\n")
puts "\n"
end
Initial URL
Initial Description
Generates a ChangeLog from git repository.
Initial Title
Ruby git changelog
Initial Tags
ruby, git
Initial Language
Ruby