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.
|
2014-06-05 19:01:52 -04:00
|
|
|
USING: io io.directories io.encodings.ascii 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 )
|
2008-04-04 10:17:33 -04:00
|
|
|
image parent-directory [
|
2014-06-05 19:01:52 -04:00
|
|
|
"git log --no-merges --pretty=format:%an"
|
|
|
|
ascii [ 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
|