Starred repos: leave the star counts out for now
This commit is contained in:
@@ -27,11 +27,10 @@ alternatives:
|
||||
# repos can point at something the public can actually
|
||||
# open; a private repo with no website gets no link at all
|
||||
# (the card renders an unlinked heading) instead of a 404.
|
||||
# Gitea calls the star count stars_count, not GitHub's
|
||||
# stargazers_count.
|
||||
# TODO: star counts (Gitea's .stars_count) are left out until
|
||||
# they're worth showing - add `stars: .stars_count` back here.
|
||||
jq: >
|
||||
.[] | {name: .name, description: .description,
|
||||
stars: .stars_count,
|
||||
url: (if .website != null and .website != "" then .website
|
||||
elif .private then null
|
||||
else .html_url end)}
|
||||
|
||||
Reference in New Issue
Block a user