Repository navigation
feat(review): pinned open-source sample repositories across languages - #532
Merged
Merged
Conversation
devops ai is meant for any technical project, but its live checks had used this Python repository and one set of Ansible playbooks. A checked-in catalog names 16 permissively licensed repositories across all 12 categories: Python, TypeScript/JavaScript, Go, Rust, Java, C#/.NET, C/C++, Terraform, Kubernetes/Helm, Dockerfiles, shell and technical documentation. Each is pinned to a full commit SHA with its SPDX licence, licence files and the paths the tooling is run over. The model enforces the policy: - permissive licences only; - exact commits; - https or file URLs only; - paths inside the checkout. `devops review samples fetch` takes only the pinned commit, at depth one, into .data/samples/<name> (data.samples_dir) and verifies the commit, licence files and paths. `devops review samples list` shows the catalog and what is fetched. Tests fetch from local repositories, so CI stays offline. Closes #502
This was referenced Sep 24, 2026
Closed
Merged
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.
Closes #502.
Why
devops ai is meant for any technical project. Its live checks had used this Python repository and one set of Ansible playbooks. This adds the sample repositories that #503–#506 build on: defect templates per language, the cross-language validation run, and AST support.
Catalog (
src/devops_cli/ai/review/samples.json)16 repositories cover all 12 categories. Each is pinned to a full commit SHA, with its SPDX licence, licence files and the paths the tooling is run over.
Every repository was pushed to within the last seven months, and its working tree is 13 MiB or less.
Policy enforced by the model (
samples.py)https://URLs, orfile://for local mirrors and tests. No other git transport.Commands
devops review samples fetch [NAMES] [--category]:GIT_TERMINAL_PROMPT=0, into.data/samples/<name>;devops review samples list [--category]: the catalog, and whether each sample is fetched.data.samples_dir/DEVOPS_CLI_DATA_SAMPLES_DIR(default.data/samples).devops docs generate --sync-readme.Verification
devops review samples fetchfetched all 16 samples from GitHub in 17 s (59 MB), each verified. A second fetch changed nothing.Test plan
tests/test_review_samples.py(23 tests):http://orext::URL, escaping path;No test touches the network.
uv run devops ci --force: all 13 gates pass