X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fgenerate-code-contributors.ts;h=5357daf0451b96c943cda3cb7928eb0e4434c018;hb=c50bb3c5611621bf4891039f1ecad3ca16767b11;hp=e4fb4fd91c5fc9a5892598026bf6ed0da3c44207;hpb=113d4a3f734de815b1565b892dcd9b41a9e283e6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts index e4fb4fd91..5357daf04 100755 --- a/scripts/generate-code-contributors.ts +++ b/scripts/generate-code-contributors.ts @@ -1,7 +1,4 @@ -import { registerTSPaths } from '../server/helpers/register-ts-paths' -registerTSPaths() - -import { execCLI } from '@shared/extra-utils' +import { CLICommand } from '@shared/server-commands' run() .then(() => process.exit(0)) @@ -30,12 +27,14 @@ async function run () { console.log(' * [Marie-Cécile Godwin Paccard](https://mcgodwin.com/)') console.log('\n\n# Icons\n') - console.log(' * [Feather Icons](feathericons.com/) (MIT)') - console.log(' * `playlist add`, `history`, `subscriptions`, `miscellaneous-services.svg` by Material UI (Apache 2.0)') + console.log(' * [Feather Icons](https://feathericons.com) (MIT)') + console.log(' * `playlist add`, `history`, `subscriptions`, `miscellaneous-services.svg`, `tip` by Material UI (Apache 2.0)') console.log(' * `support` by Chocobozzz (CC-BY)') console.log(' * `language` by Aaron Jin (CC-BY)') console.log(' * `video-language` by Rigel Kent (CC-BY)') console.log(' * `peertube-x` by Solen DP (CC-BY)') + console.log(' * `flame` by Freepik (Flaticon License)') + console.log(' * `local` by Larea (CC-BY)') } { @@ -57,7 +56,7 @@ async function run () { } async function getGitContributors () { - const output = await execCLI(`git --no-pager shortlog -sn < /dev/tty | sed 's/^\\s\\+[0-9]\\+\\s\\+//g'`) + const output = await CLICommand.exec(`git --no-pager shortlog -sn < /dev/tty | sed 's/^\\s\\+[0-9]\\+\\s\\+//g'`) return output.split('\n') .filter(l => !!l) @@ -191,6 +190,9 @@ function getContributorsBlacklist () { return { 'Bigard Florian': true, 'chocobozzz': true, - 'Rigel': true + 'Rigel': true, + + // Requested by the contributor + 'Marcel Cramm': true } }