aboutsummaryrefslogtreecommitdiff
path: root/tools/gen_authors.rb
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-08-10 16:22:56 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-08-18 11:13:59 +0200
commit60c0c1e6ccad41190dfe1f7dbd47a7d1974427d0 (patch)
tree8dc11e8cfa74bfa6f1b8d3c74aa34f71537194f1 /tools/gen_authors.rb
parentAddressBar: prevent URL formatting caused by context menu (diff)
downloadsmolbote-60c0c1e6ccad41190dfe1f7dbd47a7d1974427d0.tar.xz
Update readme
Update configuration summary
Diffstat (limited to 'tools/gen_authors.rb')
-rwxr-xr-xtools/gen_authors.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/gen_authors.rb b/tools/gen_authors.rb
deleted file mode 100755
index 96f2679..0000000
--- a/tools/gen_authors.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env ruby
-# Generate list of authors from repository commits
-
-log = `hg log --template='{author}'%`
-
-authors = Hash.new(0)
-log.split('%').each do |i|
- authors[i] += 1
-end
-
-# sort list by descending number of commits
-authors = authors.sort_by {|k, v| v}.reverse
-
-# print out authors
-authors.each do |k, v|
- #print " #{k} (#{v})\n"
- print " #{k}\n"
-end