Conversation
- Uses Jinja2 to easily inject data into html templates. - Teweaked the parser. - Better logging. - Better output layout and design. - Now outputs to a json too.
The script will download the latest Nasal folder from GitLab to the folder: `./FGROOT/FGDATA` - .bat file for Windows. - .sh file for Linux.
- Keep a Changelog format.
Refactor/package
- Core test: Test if API is importable. - Parser test: Tests the parser. - Generator test: Test the generated HTML and JSON. - Running pylint and flake8 in the GH Actions workflow test before pytest. - Pylint warning disabled for cyclic-import in generator.py.
- Due to deprecation of node 20, must update from checkout v4 to a newer. More: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
- Make sure to run the script to download FGDATA before using this.
Added tests. - Core test: Test if API is importable. - Parser test: Tests the parser. - Generator test: Test the generated HTML and JSON. - Running pylint and flake8 in the GH Actions workflow test before pytest. - Pylint warning disabled for cyclic-import in generator.py.
- must install it manually
Release process: 1. Maintainers MUST create releases as pre-releases first. 2. The workflow will: - build the package - upload it to TestPyPI - install and validate it 3. If validation succeeds: - the pre-release can be promoted to a full release - the workflow will then publish to PyPI 4. If validation fails: - fix the issue - recreate the pre-release⚠️ Once a version is published to PyPI, it must NEVER be reused. If a release fails after being published to PyPI, a new version must be created.
pypi deploy
Build/on release restrict
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.