aboutsummaryrefslogtreecommitdiff
path: root/mingling_ci/src
Commit message (Collapse)AuthorAgeFilesLines
* chore: reorganize dev tools into dev/ directory and consolidate configsHEADmain魏曹先生6 hours36-3921/+0
| | | | | | | | | | Move CI, dev tools, and configs from root-level scattered locations into a unified `dev/` directory structure. Update all references across build scripts, documentation, and editor configurations. Also consolidate editor config generation into build.rs for automated synchronization of rust-analyzer settings across VS Code and Zed.
* fix: use porcelain diff for worktree cleanliness check魏曹先生24 hours1-4/+11
| | | | | | Switch from `git diff-index --quiet` to `git diff --quiet` to refresh the index first, avoiding false change reports from stale stat records after compilation.
* chore: show diff on git-unlock in CI魏曹先生24 hours1-4/+25
| | | | | | Pass `--show-diff` to `git-unlock` and restructure CI steps as (command, args) pairs to support per-step arguments. The diff prints tracked workspace changes before they are discarded.
* feat(ci-new): preserve dirty changes across CI lock魏曹先生25 hours3-28/+67
| | | | | | Store dirty workspace changes in a temporary commit so `git-unlock` can restore them, with the marker file content (`true`/`false`) recording which restore path to take.
* feat(git-unlock): report dirty working tree via exit code魏曹先生25 hours1-5/+20
|
* feat(ci-new): add git-lock and git-unlock CI commands魏曹先生25 hours5-0/+183
| | | | | Add temporary commit and restore commands to stabilize the workspace during CI runs, with safety checks and error handling.
* feat(ci-new): add refresh tools for docs, examples, and features魏曹先生25 hours5-0/+752
| | | | | | | Add three utility commands to regenerate generated files: - `docsify-refresh`: fix code-box blank lines and regenerate sidebars - `example-refresh`: regenerate example docs module and examples index - `features-refresh`: regenerate the features module from Cargo.toml
* refactor(mingling_ci): rename build, clippy, and docs commands to -check魏曹先生26 hours6-28/+29
| | | | suffix
* feat(ci-new): add docs-build command to mingling_ci魏曹先生26 hours2-0/+45
|
* refactor(ci-new): extract shared task progress bar helper魏曹先生26 hours5-34/+33
|
* feat(ci-new): add test-examples command魏曹先生26 hours4-0/+266
| | | | | | Add a new `test-examples` command that builds each example and runs its `test.toml` cases, reporting failures and setting a non-zero exit code when any example fails.
* feat(ci-new): add markdown structural comparison commands魏曹先生26 hours6-2/+428
| | | | | | | Add `markdown-compare` and `markdown-compare-all` commands to verify that translated docs maintain the same structure as the reference. Compare heading levels, code fences, lists, quotes, and other structural elements while allowing text differences.
* feat(ci-new): report per-file results魏曹先生26 hours2-15/+95
| | | | | | Add per-file report generation for markdown checks using the reporter module, grouping outcomes by source file and exporting ok or error results with snake_case item names.
* feat(ci-new): add markdown code block verification commands魏曹先生26 hours6-0/+624
| | | | | | | Add `markdown-check` and `markdown-check-all` commands to verify Rust code blocks in markdown files. Code blocks are compiled as test projects, sharing temporary crates based on dependency configuration for parallel execution.
* refactor(ci-new): generalize report entries from packages to items魏曹先生27 hours7-80/+116
| | | | | | | | Rename package-based terminology and structures to item-based, allowing arbitrary items with associated locations instead of only crate packages. Locations are now carried through report files and included in generated reports, with the fallback to `—` removed.
* feat(ci-new): add test-all task with per-crate config support魏曹先生27 hours8-18/+174
| | | | | Add a new `test-all` command that runs tests across all crates with optional per-crate command overrides via `mingling-ci.toml` files.
* refactor(ci-new): flatten collect directory layout魏曹先生27 hours2-60/+72
| | | | | | Store result files directly in `collect/` as `{task}.{platform}.ok` and `{task}.{platform}.{package}.err` instead of nesting under task/platform subdirectories.
* refactor(ci-new): aggregate successful package reports魏曹先生27 hours3-40/+83
| | | | | Replace per-package `.ok` files with a single `ok` file listing successful packages per platform, flushed after all checks complete.
* chore(ci-new): replace progress system with indicatif魏曹先生27 hours2-56/+70
|
* refactor(ci-new): extract parallel cargo check runner魏曹先生27 hours4-130/+113
| | | | | | | Extract the duplicate parallel check logic from build-all and clippy-all tasks into a shared `run_parallel_checks` helper. Update renderers to set exit code instead of printing failure counts.
* feat(ci-new): add clippy-all task to run clippy on all crates魏曹先生27 hours2-0/+91
|
* feat(ci-new): add show-features command to list documented features魏曹先生27 hours5-0/+78
|
* feat(ci-new): add report-clean command to remove collected logs and魏曹先生28 hours4-3/+60
| | | | report
* feat(ci-new): implement build-all task魏曹先生28 hours1-3/+87
| | | | | Run cargo build for all package manifests in parallel and report failures.
* refactor(ci-new): rename job module to task魏曹先生28 hours3-1/+1
|
* refactor(ci-new): infer platform from build target in export魏曹先生28 hours1-7/+30
| | | | | Rename the explicit-platform variant to `export_on` and add a new `export` that uses `current_platform()` to determine the target.
* refactor(ci-new): extract report log collection into resource魏曹先生28 hours6-173/+233
| | | | | | | Move log parsing, ANSI stripping, and git info retrieval into a `ResCollectLogs` resource read once during CI setup, keeping the report command focused on rendering. Also add a `package_dirs` map to `Manifests` for direct package name lookups.
* feat: add new Mingling CI system crate (WIP)魏曹先生28 hours11-0/+826
Add `mingling_ci` as a standalone CI system built on Mingling 0.4.0 to validate the next version, with report collection and manifest listing commands.