Code Monkey home page Code Monkey logo

verifiedmods's People

Contributors

alystrasz avatar dinorush avatar geckoeidechse avatar nyami11 avatar x3karma avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

verifiedmods's Issues

RFC: Add (optional?) entry for commit hash to `mods.json`

Related to #5

Having the commit hash next to version and checksum would be useful to detect someone shifting around the tag that was used validate a previous version which could allow hiding commits if we only look at differential changes.

This would change

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

to

{
    "Fifty.mp_frostbite": {
        "DependencyPrefix": "Fifty-Frostbite",
        "Versions" : [
            { 
                "Version": "0.0.1",
                "CommitHash": "446f6e2774206c6f6f6b20626568696e6420746865206375727461696e212121",
                "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.

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

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.

Relax dependency to GitHub

Currently, the CI of this repository assumes all mods are hosted on GitHub, which might not be the case in the future (thinking about GitLab rn).

Improve automations for faster workflow

Have CI

  • compare provided commit hash against GitHub repo tag
  • create a comment linking the tagged repo URL and Thunderstore download link
  • extract Thunderstore zip to check for trivial zip bomb?
  • ???

Rename `master` branch to `main`

Okay, before anyone gets into a hissy fit and calls this change "woke" or some BS, Imma let you know that for the majority of our repos, the default branch is called main.

So this should simply be done to bring it in line with the rest of our repos ^^

Always use conventional commit messages

Both @Alystrasz and I have been committing using conventional commit messages, primarily out of habit

I'm wondering if we should actually enforce this for master branch so that all commit messages on master are formatted as conventional commits?
(Note that this would not affect commit messages in PR'd branches as those commits are squashed on merge anyway, meaning only the person merging the PR has to make sure the merged commit is formatted correctly.

Also for verification requests we would use our own tag called verify: or something ^^

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.