mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 17:28:57 +00:00
x-checker: Use gh to get repos
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM ghcr.io/flathub/flatpak-external-data-checker:latest
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y parallel && \
|
||||
apt-get install -y gh jq parallel && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
ADD gh-ls-org /usr/local/bin/gh-ls-org
|
||||
|
||||
@@ -11,7 +11,7 @@ git config --global user.email "sysadmin@flathub.org"
|
||||
mkdir flathub
|
||||
cd flathub || exit
|
||||
|
||||
gh-ls-org flathub | parallel "git clone --depth 1 {}"
|
||||
gh repo list flathub --visibility public -L 8000 --json url --json isArchived --jq '.[] | select(.isArchived == false)|.url' | parallel "git clone --depth 1 {}"
|
||||
mapfile -t checker_apps < <( grep -rl -E 'extra-data|x-checker-data|\.AppImage' | cut -d/ -f1 | sort -u | shuf )
|
||||
|
||||
for repo in "${checker_apps[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user