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