Compile: write into directory when --output is a directory#331
Compile: write into directory when --output is a directory#331jamesadevine merged 4 commits intomainfrom
Conversation
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/9485542a-dae0-4395-9587-7f5ef457c5dd Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
|
/rust-review |
1 similar comment
|
/rust-review |
|
✅ Rust PR Reviewer completed successfully! |
🔍 Rust PR ReviewSummary: Looks good — clean, correct change with appropriate tests and docs. A couple of minor observations worth noting. Findings
|
|
@copilot Address feedback and suggestions |
…nt in test Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/f02521ba-67d6-456d-af2a-a228d50389ab Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Addressed in 62ab8f7: moved the Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot resolve the merge conflicts in this pull request |
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/fa807a16-0f6a-4e5d-9bf7-9fbdc24c6de6 Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
This is an empty commit to trigger release-please to open a release PR so that the changelog can be manually updated to include changes from commits #330, #331, and #332 which were merged without Conventional Commit prefixes and were silently dropped from the changelog. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Previously
ado-aw compile foo.md --output some-dir/treatedsome-dir/as the literal output filename, producing a file namedsome-dirregardless of whether a directory of that name existed. Callers wanting "default name in this directory" had to repeat the stem.Changes
src/compile/mod.rs: Incompile_pipeline, whenoutput_pathresolves to an existing directory, join it with the default filename derived from the input markdown's stem (foo.md→<dir>/foo.lock.yml). Non-directory paths are written verbatim as before.tokio::testcovering the directory case end-to-end, asserting both that the file lands at the expected path and that it contains the@ado-awsource header marker.--outputdoc comment insrc/main.rsand thecompilesection inAGENTS.md.Example