Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Add (optional?) entry for mod GitHub repo to mods.json #5

Closed
GeckoEidechse opened this issue Nov 14, 2023 · 1 comment · Fixed by #11
Closed

RFC: Add (optional?) entry for mod GitHub repo to mods.json #5

GeckoEidechse opened this issue Nov 14, 2023 · 1 comment · Fixed by #11

Comments

@GeckoEidechse
Copy link
Member

Having the GitHub repo linked in there would help with automations that compare Thunderstore package with GitHub repo to check for modifications etc

This would change

{
    "Fifty.mp_frostbite": {
        "DependencyPrefix": "Fifty-Frostbite",
        "Versions" : [
            { 
                "Version": "0.0.1",
                "Checksum": "8cf111c9ac2ab1521677769702e10be4db8d47c0eca16bda197aceb895cf2b5c"
            }
        ]
    }
}

to

{
    "Fifty.mp_frostbite": {
        "DependencyPrefix": "Fifty-Frostbite",
        "Repo": "https://github.com/some-user/some-repo",
        "Versions" : [
            { 
                "Version": "0.0.1",
                "Checksum": "8cf111c9ac2ab1521677769702e10be4db8d47c0eca16bda197aceb895cf2b5c"
            }
        ]
    }
}

I'm not sure if we should make the key optional or not as maps might have an issue in general with being hosted on GitHub due to their file sizes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants