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

feat: Backwards compatibility #17

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

Conversation

alexlambson
Copy link
Collaborator

@alexlambson alexlambson commented Mar 27, 2025

Todo before merge

  • Make an ini handler that's separate from the parser
  • Finish dune2000 mis handling
  • Tiberian Dawn
  • Figure out django debugging with pycharm and actually serving the url locally.

@alexlambson alexlambson self-assigned this Mar 27, 2025
@alexlambson alexlambson changed the title Alex/feat/more validators feat: Backwards compatibility Mar 27, 2025
@@ -98,13 +98,13 @@ class ErrorMsg(enum.StrEnum):
CORRUPT_MAP = _("Could not parse map file.")
MISSING_INI = _("Missing necessary INI sections.")

def __init__(self, uploaded_file: UploadedFile | File):
def __init__(self, uploaded_file: UploadedFile | File, *, ini_section_check: bool = True):
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Todo: remove this jank and make a separate way to easily spin up the ini handler

- Fix docker compose for launching tests via pycharm.
- Make a constant for `RUN_ENVIRONMENT`.
- Red Alert backwards compatible upload
- Stop using `ZipStorage`. Revisit it at a later time.
- Fix download endpoint for backwards compatible client
- Fix tests for filtering on `is_backwards_compatible`
- Stop crashing when optional files are missing
@alexlambson alexlambson force-pushed the alex/feat/more-validators branch from e0c8bff to 37f9f90 Compare March 29, 2025 19:36
@alexlambson
Copy link
Collaborator Author

Huge thank you to @penev92 for https://github.com/penev92/D2kMissionEditor.

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 this pull request may close these issues.

1 participant