website: contributors generated list is poor, doesn't work sometimes #138
Labels
No labels
CI
all
basisu
blog
bug
build
contributor-friendly
core
correctness
deferred
dev
direct3d-headers
docs
driver-os-issue
duplicate
dxcompiler
editor
examples
experiment
feature-idea
feedback
flac
freetype
gamemode
gkurve
glfw
gpu
gpu-dawn
harfbuzz
help welcome
in-progress
infrastructure
invalid
libmach
linux-audio-headers
long-term
mach
mach.gfx
mach.math
mach.physics
mach.testing
model3d
needs-triage
object
opengl-headers
opus
os/linux
os/macos
os/wasm
os/windows
package-manager
priority
proposal
proposal-accepted
question
roadmap
slipped
stability
sysaudio
sysgpu
sysjs
validating-fix
vulkan-zig-generated
wayland-headers
website
wontfix
wrench
www
x11-headers
xcode-frameworks
zig-update
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hexops/mach#138
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@AliChraghi reported the contributors image on the homepage doesn't load in his location:
https://github.com/hexops/mach/pull/128#issuecomment-997431462
We are using contrib.rocks currently, e.g. https://contrib.rocks/image?repo=hexops/mach
This is different from the list of sponsors, which is generated as a separate image per sponsor using this: https://github.com/hexops/hexops.com/blob/main/.github/workflows/sponsors.yml
Maybe just switch to a manually curated list or something. Not sure.
Oh, https://remarkablemark.org/blog/2019/10/17/github-contributors-readme/ does look better
Should just be able to swap that out in this page: https://github.com/hexops/hexops.com/blob/main/content/mach.md
https://remarkablemark.org/blog/2019/10/17/github-contributors-readme/ requires opencollective account for project. i did't find any solution to replace it. i think it's ok to close this
Contributors list can be fetched from raw API request
GET https://api.github.com/repos/hexops/mach/sizeor using the REST or GraphQL API, but that would mean doing everything from scratch 😅good idea. we just fetch it every month/week/day/etc idk. and put it into site
For sponsors I have a (terrible) GitHub action that runs on each push (so it updates whenever I push a commit to the website), it uses the GitHub GraphQL API and does a dumb find/replace of a
<!-- marker -->in the filehttps://github.com/slimsag/github-sponsors-readme-action
For example it made this change to the file:
github.com/hexops/hexops.com@cb79b51be1 (diff-ed7002b439)There is another GitHub action which handles the commit/push, so really just need a way to update the file.
But honestly, also happy to maintain the list manually or something - I doubt we will have too many contributors in the near future.
so i think currently it's better to continue using
contrib.rocksbecause the low amount of contributors. but in future we can do it manually or using shell script and as you said refresh it with github-actionsI fixed this with a manually updated list. The metric I am using for inclusion right now is in this order:
May revise over time.