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

[WIP - DO NOT USE] Pythonic and simpler refactor of wemod-launcher #105

Draft
wants to merge 65 commits into
base: main
Choose a base branch
from

Commits on Jul 13, 2024

  1. refactor: Rename files, set executable bit

    - Set +x on prepare.py (prev. setup.py).
    - Set +x on wemod (symlinked to wemod.py as well).
    - Rename setup.py -> prepare.py - otherwise conflicts
    - Pythonize modules.
    
    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    245b5b2 View commit details
    Browse the repository at this point in the history
  2. refactor: Update references to renamed modules

    This commit updates the names of imports from previously renamed
    modules.
    
    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    f6d1c09 View commit details
    Browse the repository at this point in the history
  3. refactor: Move Python files to directory, fix some typos

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    97e6dc6 View commit details
    Browse the repository at this point in the history
  4. refactor: Convert project to Poetry, with Nix flake

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    08e535b View commit details
    Browse the repository at this point in the history
  5. feat: Add initial util modules

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    3f69cb1 View commit details
    Browse the repository at this point in the history
  6. fix: Update Poetry+Flake to work with Nix

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    6b24c6a View commit details
    Browse the repository at this point in the history
  7. refactor: Refactor Log and Configuration utils

    Temporary commit. To be reworded. TODO! FIXME!
    
    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    087c184 View commit details
    Browse the repository at this point in the history
  8. fix: Fix broken LoggingHandler class

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    ceb3683 View commit details
    Browse the repository at this point in the history
  9. refactor: Begin tidy up of consts.py

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    2712573 View commit details
    Browse the repository at this point in the history
  10. refactor: Prepare components for Python packaging

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    ed57407 View commit details
    Browse the repository at this point in the history
  11. chore(flake): Remove unused overrides

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    3a8fdac View commit details
    Browse the repository at this point in the history
  12. chore: Add note for later fix

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    f7747f8 View commit details
    Browse the repository at this point in the history
  13. feat: Add script to Poetry

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    660a463 View commit details
    Browse the repository at this point in the history
  14. feat: Add initial start-up msg to CLI

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    45ea2bf View commit details
    Browse the repository at this point in the history
  15. refactor: Move from YAML to TOML

    TOML is easier to read, and I hated dealing with YAML. PyYAML bad.
    
    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    591b517 View commit details
    Browse the repository at this point in the history
  16. feat: Add initial Consts class, with pathlib support

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    c5674b4 View commit details
    Browse the repository at this point in the history
  17. feat; Get CLI to print STEAM_COMPAT_DATA_DIR

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    cf0fe74 View commit details
    Browse the repository at this point in the history
  18. feat(flake): Add overlay to Flake

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    e1fb882 View commit details
    Browse the repository at this point in the history
  19. chore: Bump deps and remove deps

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    3e92732 View commit details
    Browse the repository at this point in the history
  20. fix: Fix typo in STEAM_COMPAT_DATA_PATH env var

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    0e92c37 View commit details
    Browse the repository at this point in the history
  21. fix: Remove debug print in Configuration class

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    364de04 View commit details
    Browse the repository at this point in the history
  22. fix: Rename import in accordance with dependency change to stdlib

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    e70d570 View commit details
    Browse the repository at this point in the history
  23. chore: Run black on utils/

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    d2da431 View commit details
    Browse the repository at this point in the history
  24. fix(logger): Add optional env override for log file path

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    c7e7b1e View commit details
    Browse the repository at this point in the history
  25. feat: Add initial GFX module - and welcome screen

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    28979d4 View commit details
    Browse the repository at this point in the history
  26. feat: Add initial Prefix module

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    28b56f1 View commit details
    Browse the repository at this point in the history
  27. chore: Use Nixpkgs 24.05

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    270c10f View commit details
    Browse the repository at this point in the history
  28. fix: Allow for Tkinter to work

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    a09fa72 View commit details
    Browse the repository at this point in the history
  29. chore: Remove unused print in CLI

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    362e784 View commit details
    Browse the repository at this point in the history
  30. refactor: Simplify gfx/WelcomeScreenGfx

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    5c73e2b View commit details
    Browse the repository at this point in the history
  31. refactor: Return None rather than fail on non-existsent cfg key

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    990307f View commit details
    Browse the repository at this point in the history
  32. fix: Change Flake description

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    b385e7f View commit details
    Browse the repository at this point in the history
  33. chore: Add notes in pyproject.toml

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    819134f View commit details
    Browse the repository at this point in the history
  34. chore: Remove erroneous pyproject.toml

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    d122478 View commit details
    Browse the repository at this point in the history
  35. fix: Add fallback to STEAM_COMPAT_DATA_PATH const

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    1431003 View commit details
    Browse the repository at this point in the history
  36. chore: Bump Poetry lock

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    62a5ad5 View commit details
    Browse the repository at this point in the history
  37. fix: Make logging less chatty

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    ce75bb9 View commit details
    Browse the repository at this point in the history
  38. refactor(Logger): Refactor Logger class

    - Remove Optionals - superseded.
    - Simplify directory tests.
    - Run formatter.
    
    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    6cc5a43 View commit details
    Browse the repository at this point in the history
  39. fix: Fix typo in Flake overlay

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    1bdb2e8 View commit details
    Browse the repository at this point in the history
  40. fix: Adjust path in Configuration class and fix Flake

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    83395cf View commit details
    Browse the repository at this point in the history
  41. feat: Add devenv support, hooks & flake-compat support

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    835bc95 View commit details
    Browse the repository at this point in the history
  42. fix: Fix actionlint warning

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    96f8be6 View commit details
    Browse the repository at this point in the history
  43. feat: Add 'devcontainer' support

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    9643d2d View commit details
    Browse the repository at this point in the history
  44. fix: Remove unnecessary .expanduser()

    As per review.
    
    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    ea4cea9 View commit details
    Browse the repository at this point in the history
  45. fix: Remove ./_ replacement logic for logging module

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    ac7e7ac View commit details
    Browse the repository at this point in the history
  46. refactor: Use pyright and pass inputs to devenv

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    562c0aa View commit details
    Browse the repository at this point in the history
  47. feat: Add replacement winepath/unixpath

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    e109423 View commit details
    Browse the repository at this point in the history
  48. feat: Add more consts

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    eeab391 View commit details
    Browse the repository at this point in the history
  49. refactor: Use absolute module paths

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    554301b View commit details
    Browse the repository at this point in the history
  50. feat: Add initial (broken) PyInstaller support

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    a0b2b2b View commit details
    Browse the repository at this point in the history
  51. fix: Fix lint error with literals in Logger

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    4082493 View commit details
    Browse the repository at this point in the history
  52. fix: Lock Python to Python 3.11

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    9432d96 View commit details
    Browse the repository at this point in the history
  53. chore: Format devenv.nix

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    ef91166 View commit details
    Browse the repository at this point in the history
  54. feat: Export Tcl/Tk libraries

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    131db0f View commit details
    Browse the repository at this point in the history
  55. chore: Remove erroneous print statement

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    8300ccf View commit details
    Browse the repository at this point in the history
  56. fix(core_nodeps): Revert debugging change

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    0603d15 View commit details
    Browse the repository at this point in the history
  57. fix: Fix missing --env= prefix on Flatpak

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    2af0447 View commit details
    Browse the repository at this point in the history
  58. fix(CI): Fix CI workflow with new structure for codebase

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    cb54e7d View commit details
    Browse the repository at this point in the history
  59. fix(WineUtils): Fix potential breakages in WinNT path test

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    01f059a View commit details
    Browse the repository at this point in the history
  60. feat: Add caching for WeMod logo download

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    60073e1 View commit details
    Browse the repository at this point in the history
  61. fix(CI): Fix typo in CI

    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    08191c9 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    53b691e View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    1c04a30 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2024

  1. refactor: Migrate to PDM from Poetry

    Also tidy up Flake, use `devenv` inside Flake (and update .envrc), as
    well as restructuring project layout
    
    Signed-off-by: Dom Rodriguez <[email protected]>
    shymega committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    8477c6d View commit details
    Browse the repository at this point in the history
  2. chore: Run lints on Nix files

    shymega committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    1b524e2 View commit details
    Browse the repository at this point in the history