Skip to content

[Bug]: .templatesyncignore not handling comments #536

@AndreasAugustin

Description

@AndreasAugustin

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

The .templatesyncignore is not handling comments.
Example ICESAT-2HackWeek/IS2-website-2024#2

The issue came with #512 or was even present before.

Expected Behavior

The .templatesyncignore should handle comments

Current Behavior

current behaviour:

☁  IS2-website-2024 [tmp] ⚡  cat .templatesyncignore | awk NF | xargs echo           
# THIS FILE CANNOT BE SYNCED # use glob patterns as in .gitignore # recommend listing non-basics tutorial directories here # configuration files cookiecutter.yaml # environment lock files conda/*lock.yml # team member files team/*-* # book files (configuration, usage-specific) book/_config.yml # event-specific tutorials

Steps To Reproduce

No response

Possible Solution

No response

Additional Information/Context

☁  IS2-website-2024 [tmp] ⚡  cat .templatesyncignore | awk NF | xargs echo           
# THIS FILE CANNOT BE SYNCED # use glob patterns as in .gitignore # recommend listing non-basics tutorial directories here # configuration files cookiecutter.yaml # environment lock files conda/*lock.yml # team member files team/*-* # book files (configuration, usage-specific) book/_config.yml # event-specific tutorials

Template sync version Version

v2.2.1

Metadata

Metadata

Labels

bugSomething isn't working

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions