-
Notifications
You must be signed in to change notification settings - Fork 42
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
Git-ignore files from mix assets.deploy #2789
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2789 +/- ##
=======================================
Coverage 91.27% 91.27%
=======================================
Files 336 336
Lines 11946 11946
=======================================
Hits 10904 10904
Misses 1042 1042 ☔ View full report in Codecov by Sentry. |
ca12d44
to
157a0ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose this is fine, but why have I never had any issues with these files before? Is mix assets.deploy
actually used in any part of developing Lightning?
This is not an issue per se but there were recurring requests that these files should be gitignored on the billing app. When the assets are deployed on the umbrella app, it invokes all apps with the same command (except for mix test which was customised) The At last, the billing app can probably work now without digested deployment but this PR helps to avoid showing those files again (a following will be provided for the billing app). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @jyeshe, great job!.
I'm worried about these two though:
/priv/static/images/*-*.png
/priv/static/images/*-*.svg
We already have some images in there that were manually placed in there. Also, if we ever want to add a new image, where would we put it?
Thanks Frank, that's correct. Repo-wise, the new ones are always ignored in favour of saved ones (the release goes along with the digest) and devs need to intentionally replace them with |
Description
This PR fixes the git ignore on Lightning for files generated by
mix assets.deploy
Closes #2788
Validation steps
Additional notes
AI Usage
Please disclose how you've used AI in this work (it's cool, we just want to know!):
You can read more details in our Responsible AI Policy
Pre-submission checklist
:owner
,:admin
,:editor
,:viewer
)