Closed srhinos closed 9 months ago
I would be happy to help take this on. I am also interested in updating code so that new GitHub releases are not created unless an addon has an actual new release on CurseForge.
A good example of this behavior can be seen here. OmniCD has not been updated since October 23, 2022. However, new GH release keep getting created. Since CurseForge gives each file a unique ID, this will be easy to implement.
Totally! Feel free to take a crack at either or, would prefer the generation of repos to live in this repo and the updated code only generate releases when a new version exists in the template repo!
If you need any help testing either, feel free to shoot me a note on discord @ either SexualRhinoceros#0001 or join discord.gg/rhino and shoot me a DM that way!
a year and a half later, I knocked this out. Should be relatively autonomous running on a cron job CI runner and will auto update the readme every 24 hrs keeping it up to date and generate a changelog as a release only when there was changes.
Referencing this list -- https://github.com/curseforge-mirror/.github/blob/main/README.md
I have a script locally doing this and need to write a GH Action to automate this.
Figured if anyone wants to contribute to the repo / this project they could tackle this before I do,
existing python script for reference so you dont have to guess on format or anything:
Script works by cloning all repos in the org locally and running it at the org wide directory. Quick snippet to do this:
gh repo list curseforge-mirror --limit 1000 | while read -r repo _; do gh repo clone "$repo" "$repo"; done