TTT-2 / TTT2

Trouble in Terrorist Town 2 for Garry's Mod (gmod)
https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556
172 stars 71 forks source link

[META] Improve our CI #1191

Open Histalek opened 7 months ago

Histalek commented 7 months ago

Our CI can be improved in many aspects. Added CI should increase correctness via checks and/or automate actions that would otherwise be manual.

This issue should track all ideas we can come up with and their respective progress.

Pull Requests

Release

Other

Things that need to be done because of something done here

TimGoll commented 7 months ago
  • Check all referenced files (e.g. Material() calls) for inclusion in the project and if they are added to the force-download

we should probably have a table with the file names that can be iterated by a loop that calls AddFile

Histalek commented 7 months ago
  • Check all referenced files (e.g. Material() calls) for inclusion in the project and if they are added to the force-download

we should probably have a table with the file names that can be iterated by a loop that calls AddFile

why? grepping or regexes to check these calls are fast enough. i definitely don't want to maintain a seperate table. That seems unnecessarily error-prone and exhausting.

I should maybe summarize our goals in the OP. One part is correctness another is to have less manual work to do.

xopez commented 7 months ago
  • [ ] Keep a consistent code style with stylua

If stylua works great maybe we should recommend the VS Code Extension in this repository. Maybe you wanna think about that. Extension: https://marketplace.visualstudio.com/items?itemName=JohnnyMorganz.stylua Guide: https://code.visualstudio.com/docs/editor/extension-marketplace#_workspace-recommended-extensions

Histalek commented 7 months ago
  • [ ] Keep a consistent code style with stylua

If stylua works great maybe we should recommend the VS Code Extension in this repository. Maybe you wanna think about that. Extension: marketplace.visualstudio.com/items?itemName=JohnnyMorganz.stylua Guide: code.visualstudio.com/docs/editor/extension-marketplace#_workspace-recommended-extensions

Yes good point, i'll probably will add a few things to the CONTRIBUTING.md or maybe add some other document that show 1 or 2 example code-editor setups.

TimGoll commented 6 months ago

Check all referenced files (e.g. Material() calls) for inclusion in the project and if they are added to the force-download

might be obsolete by now

Histalek commented 6 months ago

Check all referenced files (e.g. Material() calls) for inclusion in the project and if they are added to the force-download

might be obsolete by now

obsolete in which way exactly? we still have a lot of Material() calls.