<#9948 feat: Create `.gitignore` automatically in ...
# meltano-repo-activity
g
#9948 feat: Create `.gitignore` automatically in the `.meltano` directory Pull request opened by edgarrmondragon Description This way even if the user didn't go through
meltano init
and just copied or hand-cranked a
meltano.yml
, the
.meltano/
directory will still be ignored. Checklist • I have read the contribution guide Was generative AI tooling used to co-author this PR? • Yes (please specify the tool below) Related Issues • Closes #XXXX Summary by Sourcery Ensure standard system files are created in the .meltano directory when a project is activated. New Features: • Automatically create a .gitignore inside the .meltano directory to ignore its contents by default. Enhancements: • Create the CACHEDIR.TAG file lazily and robustly when ensuring system files, with logging on failures. Tests: • Add tests verifying creation and preservation behavior of CACHEDIR.TAG and .gitignore in the .meltano directory. meltano/meltano