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

FEATURE: Module Monitor #22

Merged
merged 17 commits into from
Aug 16, 2024
Merged

FEATURE: Module Monitor #22

merged 17 commits into from
Aug 16, 2024

Commits on Aug 5, 2024

  1. Update version, authors, and add isolated starterfile functionality

    Bump the version to 0.2.0 and update authors in pyproject.toml. Introduce starterfile functionality with a new CLI command and corresponding tests for managing starterfile setup.
    trentonyo committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    2e56383 View commit details
    Browse the repository at this point in the history
  2. Fix env file reading, add environment variable replacement in Starter…

    …steps.md.
    
    Implemented functionality to replace environment variables in the Startersteps.md file when present. Introduced tests to verify this new behavior and added necessary environment configuration files for testing.
    trentonyo committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    b5a2fe8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9abc608 View commit details
    Browse the repository at this point in the history
  4. Add validation to handle missing starterfiles

    Updated `starterfile_up_only` to print an error message and exit if the starterfile doesn't exist. Also, added a test to ensure this validation works as expected by including a non-existent starterfile path.
    trentonyo committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    a48c7e7 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Upgrade Black and Coverage dependencies

    Updated Black to version 24.8.0 and Coverage to version 7.6.1 in the poetry.lock file. This ensures compatibility with the latest features and bug fixes for these dependencies.
    trentonyo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    1518e88 View commit details
    Browse the repository at this point in the history
  2. Update test suite to run on multiple OS platforms

    Modified the GitHub Actions workflow to test on Ubuntu, Windows, and macOS. This ensures broader compatibility and catches platform-specific issues.
    trentonyo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    4e33a76 View commit details
    Browse the repository at this point in the history
  3. Simplify script validation in module initialization

    Refactor module initialization to directly invoke `get_script` for "init" and "destroy" scripts without raising exceptions. Updated unit tests to ensure missing scripts correctly trigger failures, improving code clarity and robustness.
    trentonyo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    ddd1976 View commit details
    Browse the repository at this point in the history
  4. Add default shell and source virtual environment to appease Windows r…

    …unners
    
    Updated the GitHub Actions YAML to specify the default shell as bash and ensured the virtual environment is sourced before running pytest. This improves consistency in the test environment setup.
    trentonyo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    9aa5691 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Add monitored subprocess and enhance logging in module operations

    Introduce monitored_subprocess to display subprocess output with rich live updates. Enhanced Module methods to support real-time logging and better error handling by integrating console and log_path arguments.
    trentonyo committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    4b42322 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Update dependencies and package versions

    Upgrade Poetry to 1.8.3, include new dependencies (`exceptiongroup` and `tomli`), and upgrade `pyyaml` to 6.0.2. This ensures compatibility with newer Python versions and improves the package management.
    trentonyo committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    46c9d3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca83290 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    13ec607 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2024

  1. Refactor typing to use List, Dict, and Tuple across modules

    Unified type hints by replacing built-in types like list and dict with List, Dict, and Tuple from the typing module. This complies with Python 3.8 and improves type consistency and readability across all affected files.
    trentonyo committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    461f4fb View commit details
    Browse the repository at this point in the history
  2. Refactor schema definitions for initialization options

    Simplified the schema for `init_options` by extracting it into a separate variable. This runs on Python 3.8 and improves readability and maintainability by reducing nested structure complexity and avoiding redundancy.
    trentonyo committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    e8fd503 View commit details
    Browse the repository at this point in the history
  3. Update version to 0.3.1 in pyproject.toml

    This patch fixes support on Python 3.8
    trentonyo committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    ba5a35c View commit details
    Browse the repository at this point in the history
  4. Add validate_str_list function and update dependencies schema

    This commit introduces the validate_str_list function to ensure that lists of strings are validated correctly. The function is then used to update the "depends_on" schema across multiple files for improved validation. Additionally, the version in pyproject.toml has been incremented from 0.3.1 to 0.3.2.
    trentonyo committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    1c68886 View commit details
    Browse the repository at this point in the history
  5. Add schema validation and end-to-end tests for complex starter

    Updated module schema to use `is_yaml_loadable_type` for `type` and `default` validation. Added new end-to-end tests for complex starter workflow, including a test complex YAML file and environment file. Incremented version to 0.3.3.
    trentonyo committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    4912961 View commit details
    Browse the repository at this point in the history