Skip to content

fix: preserve workspace gitignore entries - #53

Draft
fzlzjerry wants to merge 1 commit into
abhiksark:mainfrom
fzlzjerry:fix/43-preserve-gitignore
Draft

fix: preserve workspace gitignore entries#53
fzlzjerry wants to merge 1 commit into
abhiksark:mainfrom
fzlzjerry:fix/43-preserve-gitignore

Conversation

@fzlzjerry

Copy link
Copy Markdown

Summary

  • preserve existing workspace .gitignore content during force-init and update
  • append only missing Pythonlings-managed patterns in their declared order
  • keep repeated init and update operations idempotent

Closes #43

Tests

  • python -m pytest -q (Python 3.11: 150 passed)
  • python -m pytest tests/unit/test_curriculum.py tests/integration/test_cli_workspace.py -q (Python 3.13: 13 passed)

Screenshots

Not applicable; this changes filesystem behavior without changing CLI output.

Checklist

  • Documentation is unchanged because the commands and managed patterns are unchanged
  • Added or updated tests
  • Verified python -m pytest -q

Signed-off-by: Morax <james20081204@gmail.com>
@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e6c8ca97-9486-43ca-9b36-9bd083dad4f8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: preserve existing workspace .gitignore entries

1 participant