Commit 14221285 authored by Zach van Rijn's avatar Zach van Rijn
Browse files

cgit.a.o: do not show archived projects

parent 0e4b9df3
......@@ -21,7 +21,7 @@ sync ()
# cache server response
# TODO: support pagination
curl -s ${GLAB}/api/v4/groups/${1}/projects?per_page=100 \
| jq -r '.[] | .http_url_to_repo + "%" + .description' > "${KEEP}";
| jq -r '.[] | select(.archived == false) | .http_url_to_repo + "%" + .description' > "${KEEP}";
# clone, pull, and/or update descriptions for current repositories
while read k; do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment