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

Fix: Only ignore the root/automatically-compiled 'static' dirs #83

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

ababic
Copy link
Contributor

@ababic ababic commented Jan 21, 2025

What is the context of this PR?

The .gitignore file is currently a little bit too overbearing, and doesn't account for when apps that have their own staticfiles. This caused pain most recently on #80, where it worked fine locally, but not on anybody Helen's machine. But, as the project grows, it's likely to trip developers up unnecessarily on other threads of work too.

How to review

Add a static folder to an existing app and plonk a random file in it. git status should reflect the addition of that file.

@ababic ababic requested a review from a team as a code owner January 21, 2025 09:42
@ababic ababic changed the title Fix: Only ignore the root/automatically-compiled /static and /node_modules Fix: Only ignore the root/automatically-compiled 'static' and 'node_modules' dirs Jan 21, 2025
@ababic ababic changed the title Fix: Only ignore the root/automatically-compiled 'static' and 'node_modules' dirs Fix: Only ignore the root/automatically-compiled 'static' dirs Jan 21, 2025
Copy link
Contributor

@zerolab zerolab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ababic ababic force-pushed the fix/allow-app-specific-static-files-in-gitignore branch from b1f0308 to ff0ca48 Compare January 21, 2025 14:29
@ababic ababic merged commit 20b9556 into main Jan 21, 2025
9 checks passed
@ababic ababic deleted the fix/allow-app-specific-static-files-in-gitignore branch January 21, 2025 15:03
Copy link
Contributor

@sanjeevz3009 sanjeevz3009 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed!

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.

4 participants