Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore default folder name used by broccoli-debug #9680

Merged
merged 2 commits into from Feb 21, 2022

Conversation

notmessenger
Copy link
Contributor

https://cli.emberjs.com/release/advanced-use/debugging/#logging talks about how debugging is ready to be used and only an environment variable needs to be set to use it. When a user does so though a /DEBUG folder is created, which they then need to ensure does not get checked into their repo.

Keeping this from being checked in can certainly fall within the realm of the end-application's responsibility, as a user should know how to a manage such resources, etc, but I am of the opinion that this folder falls in the same category as other files and paths already being ignored via the .gitignore file, as they are by-products of running commands provided by the Ember CLI ecosystem and not something the user is necessarily aware they are opting into to when running the command.

@notmessenger notmessenger changed the title Ignore default folder name used by broccoli=debug Ignore default folder name used by broccoli-debug Oct 28, 2021
@rwjblue
Copy link
Member

rwjblue commented Dec 13, 2021

This seems great, can you confirm that this also ends up in the addon blueprint?

@locks
Copy link
Contributor

locks commented Feb 10, 2022

@notmessenger poke!

@notmessenger
Copy link
Contributor Author

@notmessenger poke!

@locks have pushed changes

@locks
Copy link
Contributor

locks commented Feb 18, 2022

Thanks! I've approved CI and enabled auto-merge.

@locks locks merged commit 595be18 into ember-cli:master Feb 21, 2022
@bertdeblock
Copy link
Contributor

I don't think blueprints/addon/files/gitignore should have been added?
The .gitignore file for newly generated addons now only contains:

# broccoli-debug
/DEBUG/

This means that files and folders like dist, node_modules, ... are not being git-ignored anymore starting from Ember CLI v4.3.

This will also affect all addons that update to v4.3 using ember-cli-update:
https://github.com/ember-cli/ember-addon-output/blob/v4.3.0/.gitignore

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.

None yet

4 participants