2008-11-30 19:04:44 -05:00
|
|
|
! Copyright (C) 2007, 2008 Slava Pestov.
|
2007-09-20 18:09:08 -04:00
|
|
|
! See http://factorcode.org/license.txt for BSD license.
|
2015-10-14 18:13:54 -04:00
|
|
|
USING: io io.directories io.encodings.utf8 io.launcher io.pathnames
|
|
|
|
math.statistics prettyprint sequences sorting system ;
|
2007-09-20 18:09:08 -04:00
|
|
|
IN: contributors
|
|
|
|
|
2007-10-08 22:28:22 -04:00
|
|
|
: changelog ( -- authors )
|
2015-07-20 03:17:09 -04:00
|
|
|
image-path parent-directory [
|
2014-06-05 19:01:52 -04:00
|
|
|
"git log --no-merges --pretty=format:%an"
|
2015-10-14 18:13:54 -04:00
|
|
|
utf8 [ lines ] with-process-reader
|
2008-04-04 10:17:33 -04:00
|
|
|
] with-directory ;
|
2007-09-20 18:09:08 -04:00
|
|
|
|
|
|
|
: contributors ( -- )
|
2014-06-05 19:01:52 -04:00
|
|
|
changelog histogram
|
2008-11-30 19:04:44 -05:00
|
|
|
sort-values <reversed>
|
|
|
|
simple-table. ;
|
2007-09-20 18:09:08 -04:00
|
|
|
|
|
|
|
MAIN: contributors
|