reqstool 0.12.1__tar.gz → 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {reqstool-0.12.1 → reqstool-1.0.0}/.github/workflows/build-docs.yml +1 -1
- reqstool-1.0.0/.github/workflows/build.yml +70 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/.github/workflows/check-semantic-pr.yml +1 -1
- {reqstool-0.12.1 → reqstool-1.0.0}/.github/workflows/lint.yml +7 -5
- {reqstool-0.12.1 → reqstool-1.0.0}/.github/workflows/publish-image.yml +4 -4
- reqstool-1.0.0/.github/workflows/release.yml +150 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/PKG-INFO +5 -5
- {reqstool-0.12.1 → reqstool-1.0.0}/pyproject.toml +5 -5
- {reqstool-0.12.1 → reqstool-1.0.0}/reqstool_config.yml +1 -1
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/mcp/server.py +18 -9
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/integration/reqstool/mcp/test_mcp_integration.py +26 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/mcp/test_server_freshness.py +5 -3
- reqstool-0.12.1/.github/workflows/build.yml +0 -50
- reqstool-0.12.1/.github/workflows/check_release.yml +0 -23
- reqstool-0.12.1/.github/workflows/release_prod.yml +0 -58
- reqstool-0.12.1/.github/workflows/release_test.yml +0 -38
- {reqstool-0.12.1 → reqstool-1.0.0}/.claude/settings.json +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/.gitignore +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/.reqstool-ai.yaml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/CLAUDE.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/CONTRIBUTING.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/Dockerfile +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/LICENSE +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/PLAN.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/README.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/TEST_MATRIX.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/DESIGN.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/antora-playbook.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/antora.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/lsp-server-plan.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/ROOT/lsp/reqstool-lsp.openrpc.json +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/ROOT/nav.adoc +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/ROOT/pages/how_it_works.adoc +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/ROOT/pages/index.adoc +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/ROOT/pages/installation.adoc +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/ROOT/pages/lsp.adoc +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/ROOT/pages/mcp.adoc +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/ROOT/pages/usage.adoc +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/examples/partials/requirements/manual_verification_results.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/examples/partials/requirements/reqstool_config.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/examples/partials/requirements/requirements_external.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/examples/partials/requirements/requirements_microservice.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/examples/partials/requirements/requirements_system.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/modules/examples/partials/requirements/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/reqstool/reqstool_config.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/reqstool/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/docs/reqstool/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/changes/consolidate-requirement-verdict/.openspec.yaml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/changes/consolidate-requirement-verdict/design.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/changes/consolidate-requirement-verdict/proposal.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/changes/consolidate-requirement-verdict/specs/mcp/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/changes/consolidate-requirement-verdict/tasks.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/changes/mcp-snapshot-freshness/.openspec.yaml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/changes/mcp-snapshot-freshness/design.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/changes/mcp-snapshot-freshness/proposal.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/changes/mcp-snapshot-freshness/specs/mcp/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/changes/mcp-snapshot-freshness/tasks.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/config.yaml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/openspecui.hooks.ts +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/specs/data-sources/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/specs/enrich/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/specs/export/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/specs/imports-and-filtering/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/specs/ingestion/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/specs/lifecycle/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/specs/lsp/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/specs/mcp/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/specs/parse-validation/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/specs/report/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/specs/status/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/openspec/specs/validate/spec.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/renovate.json5 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/command.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/enrich/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/enrich/enrich.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/exit_codes.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/generate_json/generate_json.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/criterias/group_by.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/criterias/sort_by.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/report.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/annotation_impls.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/annotation_tests.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/mvrs.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/report.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/req_references.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/requirements.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/svcs.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/total_statistics.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/annotation_impls.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/annotation_tests.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/mvrs.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/req_references.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/requirements.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/svcs.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/total_statistics.j2 +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/status/status.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/validate/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/commands/validate/validate.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/enrichment/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/enrichment/enricher.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/exceptions.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/filter_parser.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/jinja2.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/models/lifecycle.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/models/urn_id.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/project_session.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/queries/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/queries/details.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/queries/list.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/reqstool_ai_config.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/snapshot_fingerprint.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/utils.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/validator_error_holder.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/validators/lifecycle_validator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/validators/semantic_validator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/common/validators/syntax_validator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/expression_languages/generic_el_transformer.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/filters/id_filters.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/filters/requirements_filters.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/filters/svcs_filters.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/location_resolver/location_resolver.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/locations/git_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/locations/local_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/locations/local_maven_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/locations/local_npm_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/locations/local_pypi_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/locations/location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/locations/maven_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/locations/npm_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/locations/pypi_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/annotation_parser.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/code_actions.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/codelens.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/completion.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/definition.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/details.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/diagnostics.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/document_symbols.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/hover.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/implementation.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/inlay_hints.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/list.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/references.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/semantic_tokens.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/features/workspace_symbols.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/project_state.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/root_discovery.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/server.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/workspace_manager.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/lsp/yaml_schema.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/mcp/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/model_generators/annotations_model_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/model_generators/combined_raw_datasets_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/model_generators/mvrs_model_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/model_generators/parsing_config.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/model_generators/requirements_model_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/model_generators/svcs_model_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/model_generators/testdata_model_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/annotations.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/generated/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/generated/annotations_schema.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/generated/common_schema.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/generated/manual_verification_results_schema.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/generated/reqstool_config_schema.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/generated/requirements_schema.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/generated/software_verification_cases_schema.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/implementations.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/imports.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/mvrs.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/raw_datasets.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/requirements.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/svcs.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/models/test_data.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/reqstool_config/reqstool_config.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/requirements_indata/requirements_indata.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/requirements_indata/requirements_indata_paths.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/annotations.schema.json +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/common.schema.json +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/export_output.schema.json +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/manual_verification_results.schema.json +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/reqstool_config.schema.json +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/requirements.schema.json +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/software_verification_cases.schema.json +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/status_output.schema.json +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/services/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/services/export_service.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/services/statistics_service.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/storage/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/storage/authorizer.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/storage/database.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/storage/database_filter_processor.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/storage/el_to_sql_compiler.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/storage/pipeline.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/storage/populator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/storage/requirements_repository.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/src/reqstool/storage/schema.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/e2e/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/e2e/test_generate_command.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/fixtures/.reqstoolignore +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/README.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/annotations.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/manual_verification_results.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/reqstool_config.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/src/requirements_example.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/src/test_svcs.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/test_results/failsafe/TEST-py_demo.test_svcs_it.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/test_results/surefire/TEST-py_demo.test_svcs.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/integration/reqstool/lsp/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/integration/reqstool/lsp/conftest.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/integration/reqstool/lsp/test_lsp_integration.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/integration/reqstool/mcp/conftest.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/integration/reqstool/mcp/test_mcp_autodetect.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/integration/reqstool/mcp/test_mcp_reload_integration.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/integration/reqstool/model_generators/_regression_shared.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/integration/reqstool/model_generators/conftest.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/integration/reqstool/model_generators/test_included_models_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/integration/reqstool/model_generators/test_regression_monorepo.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/integration/reqstool/model_generators/test_regression_structure.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/inline_code_spans/expected.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/inline_code_spans/input.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/inline_title_only/expected.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/inline_title_only/input.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/mvr/expected.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/mvr/input.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/no_ids/expected.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/no_ids/input.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/spec_all_fields/expected.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/spec_all_fields/input.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/spec_multiline_description/expected.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/spec_multiline_description/input.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/spec_no_description/expected.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/enrich/spec_no_description/input.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/.reqstoolignore +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/annotations.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/manual_verification_results.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/reqstool_config.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/annotations.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/manual_verification_results.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/reqstool_config.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/validation_error/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/annotations.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/manual_verification_results.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/reqstool_config.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/annotations.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/manual_verification_results.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/reqstool_config.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/with_requirements_config/README.md +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/with_requirements_config/ms-101/reqstool_config.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_circular_impl/lib-a/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_circular_impl/lib-b/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_circular_import/node-a/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_circular_import/node-b/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/manual_verification_results.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_delete_mvr/sys-001/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_delete_mvr/sys-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/annotations.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/errors.adoc +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/manual_verification_results.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/reqstool_config.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_recursive_impl/lib-a/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_recursive_impl/lib-b/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_recursive_impl/lib-c/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_recursive_impl/root/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/annotations.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/manual_verification_results.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/reqstool_config.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/test_results/failsafe/TEST-com.reqstool.example.demo.DemoApplicationTestsIT.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/test_results/surefire/TEST-com.reqstool.example.demo.SVCsTest.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/ext-001/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/ext-002/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/visualization.adoc +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/annotations.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/reqstool_config.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/test_results/failsafe/TEST-com.reqstool.example.demo.DemoApplicationTestsIT.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/test_results/surefire/TEST-com.reqstool.example.demo.SVCsTest.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/ext-001/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/ext-002/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/manual_verification_results.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/annotations.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/manual_verification_results.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/reqstool_config.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/sys-001/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/sys-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_annotations_model_generator/test_annotations_model_generator/annotations.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_mvrs_model_generator/test_mvrs_model_generator/manual_verification_results.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_external_requirements_model_generator/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_lifecycle_variable_model_generator/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_microservice_requirements_model_generator/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_npm_requirements_model_generator/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_rational_optional_model_generator/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_requirements_model_generator_interpolates_env_vars/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_requirements_model_generator_unset_env_var_raises/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_system_requirements_model_generator/requirements.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_lifecycle_variable_model_generator/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_phase_default_is_build/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_phase_post_build_model_generator/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_svcs_model_generator/software_verification_cases.yml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_testdata_model_generator/test_parameterized_testdata_model_generator/TEST-com.example.StatusServiceTest.xml +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/conftest.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/commands/enrich/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/commands/enrich/test_enrich.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/commands/generate_json/test_generate_json.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/commands/report/criterias/test_criterias.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/commands/report/test_report.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/commands/status/test_status.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/commands/status/test_status_presentation.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/commands/status/test_status_verbosity.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/commands/validate/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/commands/validate/test_validate.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/enrichment/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/enrichment/test_enricher.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/models/test_lifecycle.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/queries/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/queries/test_details.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/queries/test_list.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/test_filter_parser.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/test_locations.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/test_project_session.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/test_project_session_freshness.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/test_reqstool_ai_config.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/test_snapshot_fingerprint.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/test_temp_directory_manager.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/test_urn_id.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/test_utils.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/validators/test_lifecycle_validator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/common/validators/test_semantic_validator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/expression_languages/test_requirements_el_transformer.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/expression_languages/test_svcs_el_transformer.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/filters/test_requirements_filters.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/filters/test_software_verification_cases_filters.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/location_resolver/test_location_resolver.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_git_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_local_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_local_maven_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_local_npm_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_local_pypi_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_maven_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_npm_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_pypi_location.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_annotation_parser.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_code_actions.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_codelens.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_completion.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_definition.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_details.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_diagnostics.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_document_symbols.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_hover.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_inlay_hints.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_project_state.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_references.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_root_discovery.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_semantic_tokens.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_server_details.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_server_startup.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_workspace_manager.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_workspace_symbols.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_yaml_schema.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/mcp/test_server_startup.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/model_generators/test_annotations_model_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/model_generators/test_combined_raw_datasets_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/model_generators/test_mvrs_model_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/model_generators/test_requirements_model_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/model_generators/test_svcs_model_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/model_generators/test_testdata_model_generator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/models/test_annotations.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/models/test_implementations.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/models/test_imports.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/models/test_mvrs.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/models/test_requirements.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/models/test_svcs.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/reqstool_config/test_reqstool_config.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/requirements_indata/test_requirements_indata_paths.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/resources/schemas/v1/test_json_schemas.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/schemas/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/schemas/test_output_schemas.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/services/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/services/test_export_service.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/services/test_statistics_service.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/storage/__init__.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_authorizer.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_database.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_database_filter_processor.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_el_to_sql_compiler.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_pipeline.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_populator.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_requirements_repository.py +0 -0
- {reqstool-0.12.1 → reqstool-1.0.0}/tests/unit/reqstool/test_command.py +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
name: Build PyPI
|
|
2
|
+
on:
|
|
3
|
+
workflow_call:
|
|
4
|
+
inputs:
|
|
5
|
+
ref:
|
|
6
|
+
description: "Branch, tag or SHA to build. Empty = the caller's ref."
|
|
7
|
+
required: false
|
|
8
|
+
type: string
|
|
9
|
+
default: ""
|
|
10
|
+
artifact-name:
|
|
11
|
+
description: >
|
|
12
|
+
Name to upload the build output under. The release flow runs this
|
|
13
|
+
workflow twice in one run -- once on the branch, once on the tag -- and
|
|
14
|
+
upload-artifact rejects a duplicate name.
|
|
15
|
+
required: false
|
|
16
|
+
type: string
|
|
17
|
+
default: "dist"
|
|
18
|
+
workflow_dispatch:
|
|
19
|
+
push:
|
|
20
|
+
branches:
|
|
21
|
+
- main
|
|
22
|
+
pull_request:
|
|
23
|
+
types:
|
|
24
|
+
- opened
|
|
25
|
+
- reopened
|
|
26
|
+
- synchronize
|
|
27
|
+
|
|
28
|
+
permissions:
|
|
29
|
+
contents: read
|
|
30
|
+
|
|
31
|
+
jobs:
|
|
32
|
+
linting:
|
|
33
|
+
name: Reuse linting job
|
|
34
|
+
uses: ./.github/workflows/lint.yml
|
|
35
|
+
|
|
36
|
+
build:
|
|
37
|
+
needs: linting
|
|
38
|
+
runs-on: ubuntu-latest
|
|
39
|
+
steps:
|
|
40
|
+
# Full history and tags: hatch-vcs derives the version from git state, so a
|
|
41
|
+
# shallow clone would build the wrong number rather than fail.
|
|
42
|
+
- name: Check out source repository
|
|
43
|
+
uses: actions/checkout@v7.0.1
|
|
44
|
+
with:
|
|
45
|
+
persist-credentials: false
|
|
46
|
+
fetch-depth: 0
|
|
47
|
+
fetch-tags: true
|
|
48
|
+
ref: ${{ inputs.ref || github.ref }}
|
|
49
|
+
- name: Set up Python
|
|
50
|
+
uses: actions/setup-python@v7.1.0
|
|
51
|
+
with:
|
|
52
|
+
python-version: "3.13.17"
|
|
53
|
+
- name: Install dependencies
|
|
54
|
+
# renovate: datasource=pypi depName=hatch
|
|
55
|
+
run: pip install hatch==1.18.1
|
|
56
|
+
- name: Run unit tests
|
|
57
|
+
run: hatch run dev:pytest --junitxml=build/junit.xml --cov=reqstool --cov-report=html -o junit_family=xunit2
|
|
58
|
+
- name: Build project
|
|
59
|
+
run: hatch build
|
|
60
|
+
- name: Test reqstool-client from build by installing and running
|
|
61
|
+
run: |
|
|
62
|
+
WHL_FILE=$(ls dist/*.whl)
|
|
63
|
+
pip install $WHL_FILE
|
|
64
|
+
reqstool status local -p docs/reqstool
|
|
65
|
+
# Upload artifacts for later use
|
|
66
|
+
- name: Upload Artifacts
|
|
67
|
+
uses: actions/upload-artifact@v7.0.2
|
|
68
|
+
with:
|
|
69
|
+
name: ${{ inputs.artifact-name || 'dist' }}
|
|
70
|
+
path: dist/
|
|
@@ -11,19 +11,21 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
13
|
- name: Check out source repository
|
|
14
|
-
uses: actions/checkout@v7
|
|
14
|
+
uses: actions/checkout@v7.0.1
|
|
15
15
|
- name: Set up Python
|
|
16
|
-
uses: actions/setup-python@v7
|
|
16
|
+
uses: actions/setup-python@v7.1.0
|
|
17
17
|
with:
|
|
18
|
-
python-version: "3.13"
|
|
18
|
+
python-version: "3.13.17"
|
|
19
19
|
- name: Install pip package(s)
|
|
20
|
-
|
|
20
|
+
# renovate: datasource=pypi depName=hatch
|
|
21
|
+
run: pip install hatch==1.18.1
|
|
21
22
|
- name: Run black formatter check
|
|
22
23
|
run: hatch run dev:black --check --verbose src tests
|
|
23
24
|
- name: Run flake8 linter
|
|
24
25
|
run: hatch run dev:flake8
|
|
25
26
|
- name: Install pip package check-jsonschema
|
|
26
|
-
|
|
27
|
+
# renovate: datasource=pypi depName=check-jsonschema
|
|
28
|
+
run: pip install check-jsonschema==0.38.2
|
|
27
29
|
- name: Validate JSON Schemas
|
|
28
30
|
run: check-jsonschema --verbose --schemafile "https://json-schema.org/draft/2020-12/schema" src/reqstool/resources/schemas/*/*
|
|
29
31
|
- name: Validate generated Pydantic models are up to date
|
|
@@ -27,7 +27,7 @@ jobs:
|
|
|
27
27
|
id-token: write
|
|
28
28
|
steps:
|
|
29
29
|
- name: Checkout repository
|
|
30
|
-
uses: actions/checkout@v7
|
|
30
|
+
uses: actions/checkout@v7.0.1
|
|
31
31
|
|
|
32
32
|
- name: Docker meta
|
|
33
33
|
id: meta
|
|
@@ -57,17 +57,17 @@ jobs:
|
|
|
57
57
|
exit 1
|
|
58
58
|
|
|
59
59
|
- name: Set up Docker Buildx
|
|
60
|
-
uses: docker/setup-buildx-action@
|
|
60
|
+
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
|
61
61
|
|
|
62
62
|
- name: Login to GitHub Container Registry
|
|
63
|
-
uses: docker/login-action@
|
|
63
|
+
uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0
|
|
64
64
|
with:
|
|
65
65
|
registry: ${{ env.REGISTRY }}
|
|
66
66
|
username: ${{ github.actor }}
|
|
67
67
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
68
68
|
|
|
69
69
|
- name: Build and push container image to GHCR
|
|
70
|
-
uses: docker/build-push-action@
|
|
70
|
+
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
|
|
71
71
|
with:
|
|
72
72
|
push: true
|
|
73
73
|
tags: ${{ steps.meta.outputs.tags }}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
# The whole release, start to finish. See RELEASING.md in reqstool/.github for
|
|
4
|
+
# what each step does, and for why the release is created as a prerelease rather
|
|
5
|
+
# than a draft.
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
inputs:
|
|
10
|
+
version:
|
|
11
|
+
description: "Version to release (PEP 440, no v prefix), e.g. 0.2.0. Leave empty to auto-detect from Conventional Commits."
|
|
12
|
+
required: false
|
|
13
|
+
type: string
|
|
14
|
+
prerelease:
|
|
15
|
+
description: "Publish as a release candidate instead of a release: verified like any release, but never promoted to latest. The number is chosen for you (0.2.0 -> 0.2.0rc1, then the next)."
|
|
16
|
+
required: false
|
|
17
|
+
type: choice
|
|
18
|
+
options: [none, rc, b, a]
|
|
19
|
+
default: none
|
|
20
|
+
ref:
|
|
21
|
+
description: "Branch to release from. Leave empty for the branch this workflow was dispatched on."
|
|
22
|
+
required: false
|
|
23
|
+
type: string
|
|
24
|
+
force:
|
|
25
|
+
description: "Allow a version that disagrees with the auto-detected one."
|
|
26
|
+
required: false
|
|
27
|
+
type: boolean
|
|
28
|
+
default: false
|
|
29
|
+
dry-run:
|
|
30
|
+
description: "Validate and preview only -- nothing tagged, nothing published."
|
|
31
|
+
required: false
|
|
32
|
+
type: boolean
|
|
33
|
+
default: true
|
|
34
|
+
|
|
35
|
+
concurrency:
|
|
36
|
+
group: release
|
|
37
|
+
cancel-in-progress: false
|
|
38
|
+
|
|
39
|
+
permissions:
|
|
40
|
+
contents: read
|
|
41
|
+
|
|
42
|
+
jobs:
|
|
43
|
+
prepare:
|
|
44
|
+
uses: reqstool/.github/.github/workflows/common-release-prepare.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
|
|
45
|
+
permissions:
|
|
46
|
+
contents: read
|
|
47
|
+
with:
|
|
48
|
+
version-format: pep440
|
|
49
|
+
version: ${{ inputs.version }}
|
|
50
|
+
prerelease: ${{ inputs.prerelease }}
|
|
51
|
+
ref: ${{ inputs.ref }}
|
|
52
|
+
force: ${{ inputs.force }}
|
|
53
|
+
dry-run: ${{ inputs.dry-run }}
|
|
54
|
+
|
|
55
|
+
# The same checks that guard main, called rather than reimplemented, and run
|
|
56
|
+
# before the approval gate so the reviewer approves something already green
|
|
57
|
+
# rather than a version string.
|
|
58
|
+
checks:
|
|
59
|
+
needs: prepare
|
|
60
|
+
if: ${{ !inputs.dry-run }}
|
|
61
|
+
uses: ./.github/workflows/build.yml
|
|
62
|
+
permissions:
|
|
63
|
+
contents: read
|
|
64
|
+
|
|
65
|
+
# THE APPROVAL GATE -- bound to the `stable` environment, so it sits pending
|
|
66
|
+
# until a required reviewer approves it on the run page.
|
|
67
|
+
tag:
|
|
68
|
+
needs: [prepare, checks]
|
|
69
|
+
if: ${{ !inputs.dry-run }}
|
|
70
|
+
uses: reqstool/.github/.github/workflows/common-release-tag.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
|
|
71
|
+
permissions:
|
|
72
|
+
contents: write
|
|
73
|
+
with:
|
|
74
|
+
version: ${{ needs.prepare.outputs.version }}
|
|
75
|
+
version-format: pep440
|
|
76
|
+
ref: ${{ inputs.ref }}
|
|
77
|
+
|
|
78
|
+
# Rebuilt from the tag, which is what gives the artifacts their version:
|
|
79
|
+
# hatch-vcs reads it from git rather than from a version string in the tree.
|
|
80
|
+
build-tagged:
|
|
81
|
+
needs: [prepare, tag]
|
|
82
|
+
uses: ./.github/workflows/build.yml
|
|
83
|
+
permissions:
|
|
84
|
+
contents: read
|
|
85
|
+
with:
|
|
86
|
+
ref: ${{ needs.prepare.outputs.version }}
|
|
87
|
+
artifact-name: dist-tagged
|
|
88
|
+
|
|
89
|
+
assets:
|
|
90
|
+
needs: [prepare, build-tagged]
|
|
91
|
+
uses: reqstool/.github/.github/workflows/common-release-assets.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
|
|
92
|
+
permissions:
|
|
93
|
+
contents: write
|
|
94
|
+
with:
|
|
95
|
+
version: ${{ needs.prepare.outputs.version }}
|
|
96
|
+
artifact: dist-tagged
|
|
97
|
+
|
|
98
|
+
# PyPI is the only step here that cannot be undone: a version can be yanked but
|
|
99
|
+
# never replaced. Publishes release candidates too, with their pre-release
|
|
100
|
+
# identifier -- pip ignores them without --pre, so there is nothing unsafe
|
|
101
|
+
# about it landing on the real index; there is no separate staging index to
|
|
102
|
+
# route them to instead. Matches npm and Maven Central's existing behavior.
|
|
103
|
+
publish-to-pypi:
|
|
104
|
+
needs: [prepare, assets]
|
|
105
|
+
runs-on: ubuntu-latest
|
|
106
|
+
environment:
|
|
107
|
+
name: stable
|
|
108
|
+
url: https://pypi.org
|
|
109
|
+
permissions:
|
|
110
|
+
id-token: write
|
|
111
|
+
steps:
|
|
112
|
+
- uses: reqstool/.github/.github/actions/download-dists@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
|
|
113
|
+
with:
|
|
114
|
+
artifact: dist-tagged
|
|
115
|
+
# Inline, not inside download-dists: nesting this Docker action in a
|
|
116
|
+
# composite action makes GitHub resolve its image against the wrapper's
|
|
117
|
+
# repo. See reqstool/.github#95.
|
|
118
|
+
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
119
|
+
with:
|
|
120
|
+
attestations: true
|
|
121
|
+
|
|
122
|
+
# The image wraps the PyPI release, so it can only be built once that exists.
|
|
123
|
+
publish-image-to-ghcr:
|
|
124
|
+
needs: [prepare, publish-to-pypi]
|
|
125
|
+
uses: ./.github/workflows/publish-image.yml
|
|
126
|
+
permissions:
|
|
127
|
+
contents: read
|
|
128
|
+
packages: write
|
|
129
|
+
id-token: write
|
|
130
|
+
with:
|
|
131
|
+
version: ${{ needs.prepare.outputs.version }}
|
|
132
|
+
|
|
133
|
+
# Last, deliberately. Everything above can fail, and until this runs nothing
|
|
134
|
+
# resolving "the latest release" can see what was built -- the release is still
|
|
135
|
+
# a prerelease. Promotion itself is one API call against a release that already
|
|
136
|
+
# has its artifacts.
|
|
137
|
+
#
|
|
138
|
+
# The guard is `no job failed`, not the default `every job succeeded`: on a dry
|
|
139
|
+
# run every job above is skipped, which would make plain success() false too --
|
|
140
|
+
# `!inputs.dry-run` is what actually gates this job then, and `no job failed`
|
|
141
|
+
# is what confirms nothing above it errored on a real run.
|
|
142
|
+
promote:
|
|
143
|
+
needs: [prepare, assets, publish-to-pypi, publish-image-to-ghcr]
|
|
144
|
+
if: ${{ !inputs.dry-run && !cancelled() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
|
|
145
|
+
uses: reqstool/.github/.github/workflows/common-release-promote.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
|
|
146
|
+
permissions:
|
|
147
|
+
contents: write
|
|
148
|
+
with:
|
|
149
|
+
version: ${{ needs.prepare.outputs.version }}
|
|
150
|
+
prerelease: ${{ needs.prepare.outputs.prerelease == 'true' }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reqstool
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0
|
|
4
4
|
Summary: A tool for managing requirements with related tests and test results.
|
|
5
5
|
Project-URL: Homepage, https://reqstool.github.io
|
|
6
6
|
Project-URL: Repository, https://github.com/reqstool/reqstool-client
|
|
@@ -20,13 +20,13 @@ Requires-Dist: jsonschema[format-nongpl]==4.26.0
|
|
|
20
20
|
Requires-Dist: lark==1.3.1
|
|
21
21
|
Requires-Dist: lsprotocol==2025.0.0
|
|
22
22
|
Requires-Dist: maven-artifact==0.3.5
|
|
23
|
-
Requires-Dist: mcp==2.
|
|
23
|
+
Requires-Dist: mcp==2.3.0
|
|
24
24
|
Requires-Dist: packaging==26.3
|
|
25
|
-
Requires-Dist: pydantic==2.
|
|
26
|
-
Requires-Dist: pygit2==1.20.
|
|
25
|
+
Requires-Dist: pydantic==2.14.1
|
|
26
|
+
Requires-Dist: pygit2==1.20.1
|
|
27
27
|
Requires-Dist: pygls==2.1.1
|
|
28
28
|
Requires-Dist: referencing==0.37.0
|
|
29
|
-
Requires-Dist: reqstool-python-decorators==0.
|
|
29
|
+
Requires-Dist: reqstool-python-decorators==0.2.0
|
|
30
30
|
Requires-Dist: requests-file==3.0.1
|
|
31
31
|
Requires-Dist: requests==2.34.2
|
|
32
32
|
Requires-Dist: rich==15.0.0
|
|
@@ -43,13 +43,13 @@ dependencies = [
|
|
|
43
43
|
"jsonschema[format-nongpl]==4.26.0",
|
|
44
44
|
"lark==1.3.1",
|
|
45
45
|
"maven-artifact==0.3.5",
|
|
46
|
-
"pydantic==2.
|
|
47
|
-
"pygit2==1.20.
|
|
46
|
+
"pydantic==2.14.1",
|
|
47
|
+
"pygit2==1.20.1",
|
|
48
48
|
"referencing==0.37.0",
|
|
49
49
|
"requests-file==3.0.1",
|
|
50
50
|
"rich==15.0.0",
|
|
51
51
|
"ruamel.yaml==0.19.1",
|
|
52
|
-
"reqstool-python-decorators==0.
|
|
52
|
+
"reqstool-python-decorators==0.2.0",
|
|
53
53
|
"packaging==26.3",
|
|
54
54
|
"requests==2.34.2",
|
|
55
55
|
"beautifulsoup4==4.15.0",
|
|
@@ -57,7 +57,7 @@ dependencies = [
|
|
|
57
57
|
"expandvars==1.1.2",
|
|
58
58
|
"pygls==2.1.1",
|
|
59
59
|
"lsprotocol==2025.0.0",
|
|
60
|
-
"mcp==2.
|
|
60
|
+
"mcp==2.3.0",
|
|
61
61
|
]
|
|
62
62
|
|
|
63
63
|
[project.urls]
|
|
@@ -93,7 +93,7 @@ dependencies = [
|
|
|
93
93
|
"flake8==7.2.0",
|
|
94
94
|
"flake8-pyproject==1.2.3",
|
|
95
95
|
"datamodel-code-generator==0.54.1",
|
|
96
|
-
"pytest-asyncio
|
|
96
|
+
"pytest-asyncio==0.26.0",
|
|
97
97
|
]
|
|
98
98
|
|
|
99
99
|
[tool.hatch.envs.dev.scripts]
|
|
@@ -6,6 +6,7 @@ from typing import Literal
|
|
|
6
6
|
|
|
7
7
|
from reqstool_python_decorators.decorators.decorators import Requirements
|
|
8
8
|
|
|
9
|
+
from reqstool.common.exceptions import SnapshotReloadError
|
|
9
10
|
from reqstool.common.project_session import ProjectSession
|
|
10
11
|
from reqstool.common.enrichment.enricher import BUILT_IN_PRESETS, enrich_text
|
|
11
12
|
from reqstool.common.queries.details import (
|
|
@@ -32,6 +33,11 @@ def start_server( # noqa: C901
|
|
|
32
33
|
) -> None:
|
|
33
34
|
try:
|
|
34
35
|
from mcp.server.mcpserver import MCPServer
|
|
36
|
+
|
|
37
|
+
# SDK 2.1: only a ToolError's message reaches the model. Any other exception is
|
|
38
|
+
# treated as a crash and reported as a bare "Error executing tool <name>", so
|
|
39
|
+
# every anticipated failure below raises ToolError to keep its text.
|
|
40
|
+
from mcp.server.mcpserver.exceptions import ToolError
|
|
35
41
|
except ImportError as exc:
|
|
36
42
|
raise ImportError("MCP server requires extra dependencies: pip install 'mcp>=2.0'") from exc
|
|
37
43
|
|
|
@@ -51,10 +57,13 @@ def start_server( # noqa: C901
|
|
|
51
57
|
Every tool must resolve the repository through this. Binding it once at startup is
|
|
52
58
|
what let long-lived servers serve a snapshot from before the last build (#437).
|
|
53
59
|
"""
|
|
54
|
-
|
|
60
|
+
try:
|
|
61
|
+
session.ensure_fresh()
|
|
62
|
+
except SnapshotReloadError as exc:
|
|
63
|
+
raise ToolError(str(exc)) from exc
|
|
55
64
|
repo = session.repo
|
|
56
65
|
if repo is None:
|
|
57
|
-
raise
|
|
66
|
+
raise ToolError(f"reqstool project is not loaded: {session.error}")
|
|
58
67
|
return repo
|
|
59
68
|
|
|
60
69
|
@Requirements("MCP_0008")
|
|
@@ -87,7 +96,7 @@ def start_server( # noqa: C901
|
|
|
87
96
|
"""Get full details for a requirement by ID (e.g. REQ_010)."""
|
|
88
97
|
result = get_requirement_details(id, _repo(), session.urn_source_paths)
|
|
89
98
|
if result is None:
|
|
90
|
-
raise
|
|
99
|
+
raise ToolError(f"Requirement {id!r} not found")
|
|
91
100
|
return result
|
|
92
101
|
|
|
93
102
|
@mcp.tool()
|
|
@@ -109,7 +118,7 @@ def start_server( # noqa: C901
|
|
|
109
118
|
"""Get full details for an SVC by ID (e.g. SVC_010)."""
|
|
110
119
|
result = get_svc_details(id, _repo(), session.urn_source_paths)
|
|
111
120
|
if result is None:
|
|
112
|
-
raise
|
|
121
|
+
raise ToolError(f"SVC {id!r} not found")
|
|
113
122
|
return result
|
|
114
123
|
|
|
115
124
|
@mcp.tool()
|
|
@@ -122,7 +131,7 @@ def start_server( # noqa: C901
|
|
|
122
131
|
"""Get full details for an MVR by ID."""
|
|
123
132
|
result = get_mvr_details(id, _repo(), session.urn_source_paths)
|
|
124
133
|
if result is None:
|
|
125
|
-
raise
|
|
134
|
+
raise ToolError(f"MVR {id!r} not found")
|
|
126
135
|
return result
|
|
127
136
|
|
|
128
137
|
@mcp.tool()
|
|
@@ -144,7 +153,7 @@ def start_server( # noqa: C901
|
|
|
144
153
|
unconditionally — after a build, for instance — or to confirm what is being served."""
|
|
145
154
|
session.build()
|
|
146
155
|
if not session.ready:
|
|
147
|
-
raise
|
|
156
|
+
raise ToolError(f"Failed to reload reqstool project: {session.error}")
|
|
148
157
|
return _snapshot_info()
|
|
149
158
|
|
|
150
159
|
@mcp.tool()
|
|
@@ -154,7 +163,7 @@ def start_server( # noqa: C901
|
|
|
154
163
|
`status --with-post-tests` (scopes to post-build-phase SVCs too)."""
|
|
155
164
|
result = _get_requirement_status(id, _repo(), include_post_build=include_post_build)
|
|
156
165
|
if result is None:
|
|
157
|
-
raise
|
|
166
|
+
raise ToolError(f"Requirement {id!r} not found")
|
|
158
167
|
return result
|
|
159
168
|
|
|
160
169
|
@mcp.tool()
|
|
@@ -184,7 +193,7 @@ def start_server( # noqa: C901
|
|
|
184
193
|
"""Get details for a URN: variant, title, location, file paths, and entity counts."""
|
|
185
194
|
result = _get_urn_details(urn, _repo(), session.urn_source_paths)
|
|
186
195
|
if result is None:
|
|
187
|
-
raise
|
|
196
|
+
raise ToolError(f"URN {urn!r} not found")
|
|
188
197
|
return result
|
|
189
198
|
|
|
190
199
|
@mcp.tool()
|
|
@@ -198,7 +207,7 @@ def start_server( # noqa: C901
|
|
|
198
207
|
openspec:proposal, openspec:tasks
|
|
199
208
|
"""
|
|
200
209
|
if preset not in BUILT_IN_PRESETS:
|
|
201
|
-
raise
|
|
210
|
+
raise ToolError(f"Unknown preset {preset!r}. Valid: {sorted(BUILT_IN_PRESETS)}")
|
|
202
211
|
config = BUILT_IN_PRESETS[preset]
|
|
203
212
|
repo = _repo()
|
|
204
213
|
return enrich_text(content, repo.get_all_requirements(), repo.get_all_svcs(), repo.get_all_mvrs(), config)
|
|
@@ -77,6 +77,9 @@ async def test_get_requirement_known(mcp_session):
|
|
|
77
77
|
async def test_get_requirement_not_found(mcp_session):
|
|
78
78
|
result = await mcp_session.call_tool("get_requirement", {"id": "REQ_NONEXISTENT"})
|
|
79
79
|
assert result.is_error
|
|
80
|
+
# The reason has to reach the model, not just the failure: an SDK that masks it
|
|
81
|
+
# leaves a bare "Error executing tool get_requirement" and no way to spot a typo.
|
|
82
|
+
assert "REQ_NONEXISTENT" in str(result.content)
|
|
80
83
|
|
|
81
84
|
|
|
82
85
|
# ---------------------------------------------------------------------------
|
|
@@ -114,6 +117,7 @@ async def test_get_svc_known(mcp_session):
|
|
|
114
117
|
async def test_get_svc_not_found(mcp_session):
|
|
115
118
|
result = await mcp_session.call_tool("get_svc", {"id": "SVC_NONEXISTENT"})
|
|
116
119
|
assert result.is_error
|
|
120
|
+
assert "SVC_NONEXISTENT" in str(result.content)
|
|
117
121
|
|
|
118
122
|
|
|
119
123
|
# ---------------------------------------------------------------------------
|
|
@@ -133,6 +137,7 @@ async def test_list_mvrs(mcp_session):
|
|
|
133
137
|
async def test_get_mvr_not_found(mcp_session):
|
|
134
138
|
result = await mcp_session.call_tool("get_mvr", {"id": "MVR_NONEXISTENT"})
|
|
135
139
|
assert result.is_error
|
|
140
|
+
assert "MVR_NONEXISTENT" in str(result.content)
|
|
136
141
|
|
|
137
142
|
|
|
138
143
|
# ---------------------------------------------------------------------------
|
|
@@ -167,6 +172,7 @@ async def test_get_requirement_status(mcp_session):
|
|
|
167
172
|
async def test_get_requirement_status_not_found(mcp_session):
|
|
168
173
|
result = await mcp_session.call_tool("get_requirement_status", {"id": "REQ_NONEXISTENT"})
|
|
169
174
|
assert result.is_error
|
|
175
|
+
assert "REQ_NONEXISTENT" in str(result.content)
|
|
170
176
|
|
|
171
177
|
|
|
172
178
|
@pytest.mark.parametrize("include_post_build", [False, True])
|
|
@@ -176,6 +182,7 @@ async def test_get_requirement_status_not_found_with_include_post_build(mcp_sess
|
|
|
176
182
|
"get_requirement_status", {"id": "REQ_NONEXISTENT", "include_post_build": include_post_build}
|
|
177
183
|
)
|
|
178
184
|
assert result.is_error
|
|
185
|
+
assert "REQ_NONEXISTENT" in str(result.content)
|
|
179
186
|
|
|
180
187
|
|
|
181
188
|
async def test_get_requirement_status_missing_automated_test_not_met(mcp_session):
|
|
@@ -207,3 +214,22 @@ async def test_list_annotations(mcp_session):
|
|
|
207
214
|
assert "req_urn" in ann
|
|
208
215
|
assert "element_kind" in ann
|
|
209
216
|
assert "fqn" in ann
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
# ---------------------------------------------------------------------------
|
|
220
|
+
# get_urn_details / enrich_document
|
|
221
|
+
# ---------------------------------------------------------------------------
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
async def test_get_urn_details_not_found(mcp_session):
|
|
225
|
+
result = await mcp_session.call_tool("get_urn_details", {"urn": "no-such-urn"})
|
|
226
|
+
assert result.is_error
|
|
227
|
+
assert "no-such-urn" in str(result.content)
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
async def test_enrich_document_unknown_preset(mcp_session):
|
|
231
|
+
"""The message has to name the valid presets, which is the only way to recover from this."""
|
|
232
|
+
result = await mcp_session.call_tool("enrich_document", {"content": "REQ_PASS", "preset": "no:such:preset"})
|
|
233
|
+
assert result.is_error
|
|
234
|
+
assert "no:such:preset" in str(result.content)
|
|
235
|
+
assert "openspec:spec" in str(result.content)
|
|
@@ -12,9 +12,9 @@ from unittest.mock import patch
|
|
|
12
12
|
|
|
13
13
|
import mcp.server.mcpserver
|
|
14
14
|
import pytest
|
|
15
|
+
from mcp.server.mcpserver.exceptions import ToolError
|
|
15
16
|
from reqstool_python_decorators.decorators.decorators import SVCs
|
|
16
17
|
|
|
17
|
-
from reqstool.common.exceptions import SnapshotReloadError
|
|
18
18
|
from reqstool.locations.local_location import LocalLocation
|
|
19
19
|
from reqstool.mcp import server as mcp_server
|
|
20
20
|
|
|
@@ -111,9 +111,11 @@ def test_a_tool_errors_when_the_changed_project_cannot_be_reloaded(project_copy)
|
|
|
111
111
|
async def scenario(tools):
|
|
112
112
|
(project_copy / "requirements.yml").write_text(": this is not: [ valid yaml")
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
# ToolError, not the underlying SnapshotReloadError: only a ToolError's message
|
|
115
|
+
# survives the SDK, so asserting the type is what proves the reason reaches the model.
|
|
116
|
+
with pytest.raises(ToolError, match="sources changed but reloading them failed"):
|
|
115
117
|
await tools["get_status"]()
|
|
116
|
-
with pytest.raises(
|
|
118
|
+
with pytest.raises(ToolError):
|
|
117
119
|
await tools["list_requirements"]()
|
|
118
120
|
return True
|
|
119
121
|
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
name: Build PyPI
|
|
2
|
-
on:
|
|
3
|
-
workflow_call:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
push:
|
|
6
|
-
branches:
|
|
7
|
-
- main
|
|
8
|
-
pull_request:
|
|
9
|
-
types:
|
|
10
|
-
- opened
|
|
11
|
-
- reopened
|
|
12
|
-
- synchronize
|
|
13
|
-
|
|
14
|
-
permissions:
|
|
15
|
-
contents: read
|
|
16
|
-
|
|
17
|
-
jobs:
|
|
18
|
-
linting:
|
|
19
|
-
name: Reuse linting job
|
|
20
|
-
uses: ./.github/workflows/lint.yml
|
|
21
|
-
|
|
22
|
-
build:
|
|
23
|
-
needs: linting
|
|
24
|
-
runs-on: ubuntu-latest
|
|
25
|
-
steps:
|
|
26
|
-
- name: Check out source repository
|
|
27
|
-
uses: actions/checkout@v7
|
|
28
|
-
with:
|
|
29
|
-
fetch-depth: 0 #full history
|
|
30
|
-
- name: Set up Python
|
|
31
|
-
uses: actions/setup-python@v7
|
|
32
|
-
with:
|
|
33
|
-
python-version: "3.13"
|
|
34
|
-
- name: Install dependencies
|
|
35
|
-
run: pip install hatch
|
|
36
|
-
- name: Run unit tests
|
|
37
|
-
run: hatch run dev:pytest --junitxml=build/junit.xml --cov=reqstool --cov-report=html -o junit_family=xunit2
|
|
38
|
-
- name: Build project
|
|
39
|
-
run: hatch build
|
|
40
|
-
- name: Test reqstool-client from build by installing and running
|
|
41
|
-
run: |
|
|
42
|
-
WHL_FILE=$(ls dist/*.whl)
|
|
43
|
-
pip install $WHL_FILE
|
|
44
|
-
reqstool status local -p docs/reqstool
|
|
45
|
-
# Upload artifacts for later use
|
|
46
|
-
- name: Upload Artifacts
|
|
47
|
-
uses: actions/upload-artifact@v7
|
|
48
|
-
with:
|
|
49
|
-
name: dist
|
|
50
|
-
path: dist/
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
name: Check Release
|
|
2
|
-
on:
|
|
3
|
-
workflow_call:
|
|
4
|
-
|
|
5
|
-
permissions: {}
|
|
6
|
-
|
|
7
|
-
jobs:
|
|
8
|
-
check-release:
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- name: Check tag format
|
|
12
|
-
run: |
|
|
13
|
-
if ! echo "${{ github.ref }}" | grep -qE '^refs/tags/[0-9]+(\.[0-9]+)*(a[0-9]+|b[0-9]+|rc[0-9]+)?(\.post[0-9]+)?(\.dev[0-9]+)?$'; then
|
|
14
|
-
echo "Tag must be a PEP 440 version like 1.2.3, 1.2.3a1, 1.2.3b2, 1.2.3rc1, 1.2.3.post1 (no v prefix)"
|
|
15
|
-
exit 1
|
|
16
|
-
fi
|
|
17
|
-
- name: Check branch
|
|
18
|
-
run: |
|
|
19
|
-
branch="${{ github.event.release.target_commitish }}"
|
|
20
|
-
if [[ "$branch" != "main" && "$branch" != hotfix/* && "$branch" != release/* ]]; then
|
|
21
|
-
echo "Release must target main, hotfix/*, or release/* branch (got: $branch)"
|
|
22
|
-
exit 1
|
|
23
|
-
fi
|