Update credits
authorChocobozzz <me@florianbigard.com>
Thu, 10 Jan 2019 11:07:34 +0000 (12:07 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 10 Jan 2019 11:07:34 +0000 (12:07 +0100)
CREDITS.md
scripts/generate-code-contributors.ts

index ad5125227d1fa438a09371d1fe69a0f2b3ef3089..509f9800dd3a92efb180e0e85f8c6878ecf07489 100644 (file)
@@ -6,25 +6,27 @@
  * [Nutomic](https://github.com/Nutomic)
  * [Jorropo](https://github.com/Jorropo)
  * [BO41](https://github.com/BO41)
+ * [joshmorel](https://github.com/joshmorel)
+ * [buoyantair](https://github.com/buoyantair)
  * [bnjbvr](https://github.com/bnjbvr)
  * [DavidLibeau](https://github.com/DavidLibeau)
  * [jankeromnes](https://github.com/jankeromnes)
- * [joshmorel](https://github.com/joshmorel)
  * [JohnXLivingston](https://github.com/JohnXLivingston)
  * [kaiyou](https://github.com/kaiyou)
+ * [McFlat](https://github.com/McFlat)
  * [DimitriGilbert](https://github.com/DimitriGilbert)
  * [floSoX](https://github.com/floSoX)
  * [Green-Star](https://github.com/Green-Star)
+ * [thomaskuntzz](https://github.com/thomaskuntzz)
  * [rezonant](https://github.com/rezonant)
  * [ldidry](https://github.com/ldidry)
- * [McFlat](https://github.com/McFlat)
  * [okhin](https://github.com/okhin)
  * [daftaupe](https://github.com/daftaupe)
- * [thomaskuntzz](https://github.com/thomaskuntzz)
  * [LecygneNoir](https://github.com/LecygneNoir)
  * [fflorent](https://github.com/fflorent)
  * [dedesite](https://github.com/dedesite)
  * [Nautigsam](https://github.com/Nautigsam)
+ * [scanlime](https://github.com/scanlime)
  * [tcitworld](https://github.com/tcitworld)
  * [am97](https://github.com/am97)
  * [dadall](https://github.com/dadall)
@@ -35,7 +37,6 @@
  * [jocelynj](https://github.com/jocelynj)
  * [lucas-dclrcq](https://github.com/lucas-dclrcq)
  * [lucaspontoexe](https://github.com/lucaspontoexe)
- * [scanlime](https://github.com/scanlime)
  * [flyingrub](https://github.com/flyingrub)
  * [SerCom-KC](https://github.com/SerCom-KC)
  * [valvin1](https://github.com/valvin1)
@@ -43,6 +44,7 @@
  * [sticmac](https://github.com/sticmac)
  * [barbeque](https://github.com/barbeque)
  * [luzpaz](https://github.com/luzpaz)
+ * [acid-chicken](https://github.com/acid-chicken)
  * [louistio](https://github.com/louistio)
  * [qsypoq](https://github.com/qsypoq)
  * [daker](https://github.com/daker)
@@ -65,6 +67,7 @@
  * [grizio](https://github.com/grizio)
  * [Glandos](https://github.com/Glandos)
  * [lanodan](https://github.com/lanodan)
+ * [HesioZ](https://github.com/HesioZ)
  * [jagannathBhat](https://github.com/jagannathBhat)
  * [jlebras](https://github.com/jlebras)
  * [alcalyn](https://github.com/alcalyn)
@@ -73,7 +76,9 @@
  * [zapashcanon](https://github.com/zapashcanon)
  * [mart-e](https://github.com/mart-e)
  * [0mp](https://github.com/0mp)
+ * [mkoppmann](https://github.com/mkoppmann)
  * [1000i100](https://github.com/1000i100)
+ * [roipoussiere](https://github.com/roipoussiere)
  * [zeograd](https://github.com/zeograd)
  * [PhieF](https://github.com/PhieF)
  * [Quenty31](https://github.com/Quenty31)
  * [h3zjp](https://trad.framasoft.org/zanata/profile/view/h3zjp)
  * [jfblanc](https://trad.framasoft.org/zanata/profile/view/jfblanc)
  * [jhertel](https://trad.framasoft.org/zanata/profile/view/jhertel)
+ * [jmf](https://trad.framasoft.org/zanata/profile/view/jmf)
  * [jorropo](https://trad.framasoft.org/zanata/profile/view/jorropo)
+ * [kairozen](https://trad.framasoft.org/zanata/profile/view/kairozen)
  * [kedemferre](https://trad.framasoft.org/zanata/profile/view/kedemferre)
  * [kousha](https://trad.framasoft.org/zanata/profile/view/kousha)
  * [krkk](https://trad.framasoft.org/zanata/profile/view/krkk)
  * [landrok](https://trad.framasoft.org/zanata/profile/view/landrok)
+ * [leeroyepold48](https://trad.framasoft.org/zanata/profile/view/leeroyepold48)
  * [m4sk1n](https://trad.framasoft.org/zanata/profile/view/m4sk1n)
  * [matograine](https://trad.framasoft.org/zanata/profile/view/matograine)
  * [medow](https://trad.framasoft.org/zanata/profile/view/medow)
  * [xinayder](https://trad.framasoft.org/zanata/profile/view/xinayder)
  * [xosem](https://trad.framasoft.org/zanata/profile/view/xosem)
  * [zveryok](https://trad.framasoft.org/zanata/profile/view/zveryok)
+ * [aditoo](https://trad.framasoft.org/zanata/profile/view/aditoo)
+ * [autom](https://trad.framasoft.org/zanata/profile/view/autom)
+ * [curupira](https://trad.framasoft.org/zanata/profile/view/curupira)
+ * [leeroyepold48](https://trad.framasoft.org/zanata/profile/view/leeroyepold48)
 
 
 # Design
index 3d37372d1e4aa2692ce018ea9d5338dea6142135..9824bc2f5c2cdfe06d6fe1e34edebacd7347091a 100755 (executable)
@@ -70,11 +70,17 @@ async function fetchGithub (url: string) {
 
 async function fetchZanata (zanataUsername: string, zanataPassword: string) {
   const today = new Date().toISOString().split('T')[0]
-  const url = `https://trad.framasoft.org/zanata/rest/project/peertube/version/develop/contributors/2018-01-01..${today}`
+  const year2018 = `https://trad.framasoft.org/zanata/rest/project/peertube/version/develop/contributors/2018-01-01..2019-01-01`
+  const year2019 = `https://trad.framasoft.org/zanata/rest/project/peertube/version/develop/contributors/2019-01-01..${today}`
 
   const headers = {
     'X-Auth-User': zanataUsername,
     'X-Auth-Token': zanataPassword
   }
-  return get(url, headers)
+  const [ results2018, results2019 ] = await Promise.all([
+    get(year2018, headers),
+    get(year2019, headers)
+  ])
+
+  return results2018.concat(results2019)
 }