Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adélie Infrastructure
Container Services
Commits
14221285
Commit
14221285
authored
Oct 19, 2021
by
Zach van Rijn
Browse files
cgit.a.o: do not show archived projects
parent
0e4b9df3
Changes
1
Hide whitespace changes
Inline
Side-by-side
cgit.adelielinux.org/update
View file @
14221285
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment