knossos icon indicating copy to clipboard operation
knossos copied to clipboard

Automatically update some project fields, version uploading from GitHub

Open Maelep opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe.

This could become a very time consuming and redundant problem when a developer has multiple mods.

Describe the solution you'd like

I'm developing Rust game plug-ins and I really love your project but, from what I understand, you invite users to log in with their GitHub but don't integrate it to avoid redundancy and time consuming tasks.

It looks like that, when creating mods, you ask for things that are already done in our GitHub project (body, issue tracker, source code, wiki, ...). So, why not doing like https://umod.org : When adding a plug-in to uMod, it ask for the repository link then, when validating, connects a GitHub Applications to your repository that track your project. Then, every update done on GitHub is automatically updated on the website.

Describe alternatives you've considered

The idea is making a GitHub Applications that will avoid redundancy by linking:

  • Upload Version => GitHub Release
  • README.md => Body
  • Issue tracker => Project issues
  • Source code => GitHub project
  • Wiki => GitHub Wiki
  • License => LICENSE
  • And so on

image

Additional context

https://umod.org has this feature for Rust game plug-ins.

Maelep avatar Jan 10 '22 12:01 Maelep

How would dependencies work?

macbrayne avatar Jan 26 '22 15:01 macbrayne

Perhaps a file called dependencies.json containing a list of dependencies so the Modrinth could detect them. If external to Modrinth show a link [Plug-in Name](https://myplugin.com) and if internal Modrinth could get more information.

{
    "My Super Plug-in": "https://mySuperPlugin.com",
    "Another Super Plug-in": "https://modrinth.com/mod/anotherSuperPlugin"
}

Maelep avatar Jan 26 '22 15:01 Maelep

Upload Version => GitHub Release

There's a lot more fields on versions then gh has, dependencies being the most complicated. The rest could probably be done by some text at the beginning or end of a release body.

Minenash avatar Mar 05 '22 22:03 Minenash

Would love the README linking, I hate having to manually update my project on modrinth to mirror what changes have occured to my github

BradBot1 avatar Nov 17 '22 17:11 BradBot1

I made a Cloudflare worker that does exactly that. But if ur using that please change the webhook and github urls.

Arbee4ever avatar Nov 17 '22 17:11 Arbee4ever

I made a Cloudflare worker that does exactly that

Seems to be private and I feel like having this natively would just be better

BradBot1 avatar Nov 17 '22 17:11 BradBot1

Whoops, it's public now, and yes a native implementation would be a lot better, but my implementation works right now

Arbee4ever avatar Nov 17 '22 17:11 Arbee4ever

Readme syncing is implemented in minotaur by the way

triphora avatar Nov 17 '22 19:11 triphora

Readme syncing is implemented in minotaur by the way

While that works for fabric and forge (since they utilise Gradle) it doesn't solve anything for Bukkit (most Bukkit plugins utilise maven) and since Modrinth supports plugins I don't think a "just use Gradle" approach is appropriate here

BradBot1 avatar Nov 17 '22 19:11 BradBot1

And there's resource packs which don't tend to use either

Minenash avatar Nov 17 '22 20:11 Minenash