Preserve customized Python test fixtures - #11422
Conversation
commit: |
|
All changed packages have been documented.
Show changes
|
Python emitter diffBaseline Diff summary: 45 file(s), +45 / -275 Rendered diff: inline on the run summary, or the emitter-diff-html artifact. Informational check (eng/emitter-diff); does not block the PR. |
|
You can try these changes here
|
tadelesh
left a comment
There was a problem hiding this comment.
I prefer only keep _patch.py in the source code. Could you please check if Python could adopt Go's git ignore solution: https://github.com/Azure/typespec-azure/blob/d7e19546374047f90ee322da471b2e90a49f6dee/.gitignore#L230
Instead of committing whole generated packages and hard-coding an allowlist of preserved folders in the regeneration script, ignore everything under tests/generated and re-include only the hand-authored files, each with a comment explaining why it cannot be regenerated. Regeneration now cleans with `git clean -xdf -- tests/generated`, which deletes ignored/untracked files but never tracked ones, so .gitignore is the single source of truth. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: abb15bc1-4c77-451e-9ff0-46971b14d9b0
Reduced unnecessary generated files and only 30 files are left now. |
Summary