Browse Source

Fix duplicated in CREDITS

Chocobozzz 4 years ago
parent
commit
ebd316d142
2 changed files with 4 additions and 35 deletions
  1. 1 34
      CREDITS.md
  2. 3 1
      scripts/generate-code-contributors.ts

+ 1 - 34
CREDITS.md

@@ -8,13 +8,13 @@
  * [Jorropo](https://github.com/Jorropo)
  * [frankstrater](https://github.com/frankstrater)
  * [buoyantair](https://github.com/buoyantair)
+ * [fflorent](https://github.com/fflorent)
  * [bnjbvr](https://github.com/bnjbvr)
  * [alcalyn](https://github.com/alcalyn)
  * [jankeromnes](https://github.com/jankeromnes)
  * [lucas-dclrcq](https://github.com/lucas-dclrcq)
  * [JohnXLivingston](https://github.com/JohnXLivingston)
  * [DavidLibeau](https://github.com/DavidLibeau)
- * [fflorent](https://github.com/fflorent)
  * [kaiyou](https://github.com/kaiyou)
  * [ldidry](https://github.com/ldidry)
  * [McFlat](https://github.com/McFlat)
@@ -206,84 +206,51 @@
  * [zveryok](https://trad.framasoft.org/zanata/profile/view/zveryok)
  * [6543](https://trad.framasoft.org/zanata/profile/view/6543)
  * [aasami](https://trad.framasoft.org/zanata/profile/view/aasami)
- * [abidin24](https://trad.framasoft.org/zanata/profile/view/abidin24)
- * [aditoo](https://trad.framasoft.org/zanata/profile/view/aditoo)
  * [alidemirtas](https://trad.framasoft.org/zanata/profile/view/alidemirtas)
  * [alpha](https://trad.framasoft.org/zanata/profile/view/alpha)
- * [anastasia](https://trad.framasoft.org/zanata/profile/view/anastasia)
  * [ariasuni](https://trad.framasoft.org/zanata/profile/view/ariasuni)
- * [autom](https://trad.framasoft.org/zanata/profile/view/autom)
- * [balaji](https://trad.framasoft.org/zanata/profile/view/balaji)
  * [bfonton](https://trad.framasoft.org/zanata/profile/view/bfonton)
- * [bristow](https://trad.framasoft.org/zanata/profile/view/bristow)
- * [butterflyoffire](https://trad.framasoft.org/zanata/profile/view/butterflyoffire)
  * [c0dr](https://trad.framasoft.org/zanata/profile/view/c0dr)
  * [canony](https://trad.framasoft.org/zanata/profile/view/canony)
  * [cat](https://trad.framasoft.org/zanata/profile/view/cat)
- * [chocobozzz](https://trad.framasoft.org/zanata/profile/view/chocobozzz)
  * [clerie](https://trad.framasoft.org/zanata/profile/view/clerie)
  * [curupira](https://trad.framasoft.org/zanata/profile/view/curupira)
  * [dhsets](https://trad.framasoft.org/zanata/profile/view/dhsets)
- * [dibek](https://trad.framasoft.org/zanata/profile/view/dibek)
  * [digitalkiller](https://trad.framasoft.org/zanata/profile/view/digitalkiller)
  * [dwsage](https://trad.framasoft.org/zanata/profile/view/dwsage)
- * [fkohrt](https://trad.framasoft.org/zanata/profile/view/fkohrt)
  * [flauta](https://trad.framasoft.org/zanata/profile/view/flauta)
  * [frankstrater](https://trad.framasoft.org/zanata/profile/view/frankstrater)
  * [gillux](https://trad.framasoft.org/zanata/profile/view/gillux)
- * [giqtaqisi](https://trad.framasoft.org/zanata/profile/view/giqtaqisi)
- * [goofy](https://trad.framasoft.org/zanata/profile/view/goofy)
  * [gunchleoc](https://trad.framasoft.org/zanata/profile/view/gunchleoc)
- * [h3zjp](https://trad.framasoft.org/zanata/profile/view/h3zjp)
  * [jaidedtd](https://trad.framasoft.org/zanata/profile/view/jaidedtd)
- * [jhertel](https://trad.framasoft.org/zanata/profile/view/jhertel)
  * [joss2lyon](https://trad.framasoft.org/zanata/profile/view/joss2lyon)
  * [kekkotranslates](https://trad.framasoft.org/zanata/profile/view/kekkotranslates)
  * [kingu](https://trad.framasoft.org/zanata/profile/view/kingu)
  * [kittybecca](https://trad.framasoft.org/zanata/profile/view/kittybecca)
  * [knuxify](https://trad.framasoft.org/zanata/profile/view/knuxify)
- * [kousha](https://trad.framasoft.org/zanata/profile/view/kousha)
- * [krkk](https://trad.framasoft.org/zanata/profile/view/krkk)
  * [lapor](https://trad.framasoft.org/zanata/profile/view/lapor)
  * [laufor](https://trad.framasoft.org/zanata/profile/view/laufor)
- * [leeroyepold48](https://trad.framasoft.org/zanata/profile/view/leeroyepold48)
  * [lstamellos](https://trad.framasoft.org/zanata/profile/view/lstamellos)
  * [lw1](https://trad.framasoft.org/zanata/profile/view/lw1)
  * [mablr](https://trad.framasoft.org/zanata/profile/view/mablr)
  * [marcinmalecki](https://trad.framasoft.org/zanata/profile/view/marcinmalecki)
- * [matograine](https://trad.framasoft.org/zanata/profile/view/matograine)
  * [mayana](https://trad.framasoft.org/zanata/profile/view/mayana)
  * [mikeorlov](https://trad.framasoft.org/zanata/profile/view/mikeorlov)
  * [nin](https://trad.framasoft.org/zanata/profile/view/nin)
- * [noncommutativegeo](https://trad.framasoft.org/zanata/profile/view/noncommutativegeo)
  * [norbipeti](https://trad.framasoft.org/zanata/profile/view/norbipeti)
- * [nvivant](https://trad.framasoft.org/zanata/profile/view/nvivant)
- * [osoitz](https://trad.framasoft.org/zanata/profile/view/osoitz)
  * [ppnplus](https://trad.framasoft.org/zanata/profile/view/ppnplus)
  * [predatorix](https://trad.framasoft.org/zanata/profile/view/predatorix)
- * [quentin](https://trad.framasoft.org/zanata/profile/view/quentin)
- * [quentind](https://trad.framasoft.org/zanata/profile/view/quentind)
- * [rigelk](https://trad.framasoft.org/zanata/profile/view/rigelk)
  * [robin](https://trad.framasoft.org/zanata/profile/view/robin)
  * [rond](https://trad.framasoft.org/zanata/profile/view/rond)
- * [s8321414](https://trad.framasoft.org/zanata/profile/view/s8321414)
- * [sato_ss](https://trad.framasoft.org/zanata/profile/view/sato_ss)
  * [secreet](https://trad.framasoft.org/zanata/profile/view/secreet)
- * [sercom_kc](https://trad.framasoft.org/zanata/profile/view/sercom_kc)
- * [severo](https://trad.framasoft.org/zanata/profile/view/severo)
  * [sftblw](https://trad.framasoft.org/zanata/profile/view/sftblw)
- * [silkevicious](https://trad.framasoft.org/zanata/profile/view/silkevicious)
  * [sporiff](https://trad.framasoft.org/zanata/profile/view/sporiff)
  * [tekuteku](https://trad.framasoft.org/zanata/profile/view/tekuteku)
  * [thecatjustmeow](https://trad.framasoft.org/zanata/profile/view/thecatjustmeow)
- * [tirifto](https://trad.framasoft.org/zanata/profile/view/tirifto)
  * [tmota](https://trad.framasoft.org/zanata/profile/view/tmota)
- * [tuxayo](https://trad.framasoft.org/zanata/profile/view/tuxayo)
- * [unzarida](https://trad.framasoft.org/zanata/profile/view/unzarida)
  * [uranix](https://trad.framasoft.org/zanata/profile/view/uranix)
  * [wakutiteo](https://trad.framasoft.org/zanata/profile/view/wakutiteo)
  * [wonderingdane](https://trad.framasoft.org/zanata/profile/view/wonderingdane)
- * [xosem](https://trad.framasoft.org/zanata/profile/view/xosem)
  * [zeynepeliacik](https://trad.framasoft.org/zanata/profile/view/zeynepeliacik)
 
 

+ 3 - 1
scripts/generate-code-contributors.ts

@@ -1,8 +1,10 @@
 import { registerTSPaths } from '../server/helpers/register-ts-paths'
+
 registerTSPaths()
 
 import { doRequest } from '../server/helpers/requests'
 import { readFileSync } from 'fs-extra'
+import { uniqBy } from 'lodash'
 
 run()
   .then(() => process.exit(0))
@@ -89,5 +91,5 @@ async function fetchZanata (zanataUsername: string, zanataPassword: string) {
     get(year2019, headers)
   ])
 
-  return results2018.concat(results2019)
+  return uniqBy((results2018.concat(results2019)), 'username')
 }