forked from factor/factor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contributors: use "%aN" instead of "%an" to respect mailmap file
- Loading branch information
Showing
1 changed file
with
4 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,16 @@ | ||
! Copyright (C) 2007, 2008 Slava Pestov, 2020 Alexander Ilin. | ||
! See https://factorcode.org/license.txt for BSD license. | ||
USING: assocs fry io io.directories io.encodings.utf8 | ||
io.launcher io.pathnames kernel math.statistics prettyprint | ||
sequences sorting system ; | ||
USING: io.directories io.launcher io.pathnames math.statistics | ||
prettyprint sorting system ; | ||
IN: contributors | ||
|
||
CONSTANT: aliases { | ||
{ "Alexander Ilin" "Alexander Iljin" } | ||
{ "Björn Lindqvist" "[email protected]" } | ||
{ "Cat Stevens" "catb0t" } | ||
{ "Daniel Ehrenberg" "Dan Ehrenberg" } | ||
{ "Doug Coleman" "U-FROGGER\\erg" "erg" } | ||
{ "Erik Charlebois" "erikc" } | ||
{ "KUSUMOTO Norio" "kusumotonorio" } | ||
{ "Mighty Sheeple" "sheeple" "U-ENCHILADA\\sheeple" } | ||
{ "Nicolas Pénet" "nicolas-p" } | ||
{ "Slava Pestov" "slava" "Slava" | ||
"U-SLAVA-FB3999113\\Slava" "U-SLAVA-DFB8FF805\\Slava" } | ||
{ "dharmatech" "U-CUTLER\\dharmatech" } | ||
} | ||
|
||
: changelog ( -- authors ) | ||
image-path parent-directory [ | ||
"git log --no-merges --pretty=format:%an" process-lines | ||
"git log --no-merges --pretty=format:%aN" process-lines | ||
] with-directory ; | ||
|
||
: merge-aliases ( authors -- authors' ) | ||
aliases [ | ||
unclip '[ over delete-at* [ _ pick at+ ] [ drop ] if ] each | ||
] each ; | ||
|
||
: contributors ( -- ) | ||
changelog histogram merge-aliases | ||
changelog histogram | ||
inv-sort-values | ||
simple-table. ; | ||
|
||
|