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: Tool Enhancements #24

Merged
merged 8 commits into from
Sep 19, 2024
Merged

Feature: Tool Enhancements #24

merged 8 commits into from
Sep 19, 2024

Commits on Aug 16, 2024

  1. Update version and implement installation rollback logic

    Bump project version to 0.4.0 and introduce `InstallationStatus` enum to track installation states. Add `should_rollback` function and use it to selectively roll back installations on failure. Enhance tests with parameterized testing for rollback functionality.
    trentonyo committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    ab2e189 View commit details
    Browse the repository at this point in the history
  2. Add alternative tool installation mechanism

    Incorporate support for alternative tool installations via 'alt' and 'mode' attributes. Update relevant tests, schemas, and configuration files accordingly.
    trentonyo committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    247fce9 View commit details
    Browse the repository at this point in the history
  3. Update optional tool installation logic

    Adjusted the installation process for optional tools to support user input and assumptions for automated workflows. Also included a version bump to 0.4.2 and updated test scenarios accordingly.
    trentonyo committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    d6cebf9 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Change init script in starter2.yaml to multiline

    Modified `starter2.yaml` to include an echo statement in the `init` script. Updated `test_starterfile_parser.py` to align tests with the new script content. This ensures the init script reflects the intended behavior during tests.
    trentonyo committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    8376ad9 View commit details
    Browse the repository at this point in the history
  2. Add initial tests for monitoring in module classes

    This commit introduces a new test file, `test_module_with_monitoring.py`, which adds tests for the initialization and destruction processes in `Module`, `ScriptModule`, and `GitModule` classes. These tests utilize various mocking strategies to ensure subprocess interactions are properly monitored.
    trentonyo committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    7b33925 View commit details
    Browse the repository at this point in the history
  3. Simplify script checks in module creation

    Replace explicit TypeError raises with implicit ValueError from get_script calls to streamline the module creation process. This reduces redundant error-handling code while maintaining functionality.
    trentonyo committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    11b5d89 View commit details
    Browse the repository at this point in the history
  4. Add tests for is_yaml_loadable_type

    Introduced new unit tests for the `is_yaml_loadable_type` function to ensure it correctly handles various data types and raises a `SchemaError` for unloadable types. Included tests for strings, integers, floats, booleans, lists, dictionaries, and `None`. Used pytest for exception handling in the test case for unloadable types.
    trentonyo committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    0d4a028 View commit details
    Browse the repository at this point in the history
  5. Update project and dependencies versions

    Bump `startout` version to 0.4.3 and `typer` dependency to 0.12.4. This commit includes the necessary changes in `pyproject.toml` and `poetry.lock`.
    trentonyo committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    9abfe2c View commit details
    Browse the repository at this point in the history