-
Notifications
You must be signed in to change notification settings - Fork 87
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
Remove .gitignore from ignore files in up
#481
Conversation
Hello, @Milo123459! Thanks for your submission. Our team will respond soon. If you need more immediate help, try our Forum or our Discord. Thanks! |
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.
lgtm!
I can see this causing far more issues than it fixes, including but not limited to local .env files making it into the build and container. Please keep in mind |
I agree with Brody, this will break anybody's builds who's trying to use |
why? |
As a compromise, though, could we add perhaps a |
Changing the default behavior that has been around since early v0 of the cli is not the best idea, node_modules may be hard coded to be ignored, but this change will break other things in other unimaginable and subtle ways, for the people who need the cli to ignore the .gitignore, a simple flag to ignore the .gitignore would be a perfect solution. |
Also, in order to include specific files, (as I implemented it in v2) you can add a |
Not in this case, railway wouldn't be able to build this project because of the way it's structured (a monorepo that is not approved by the lizard govt). My point isn't in about the build step but in the fact that I need to move that service to a temp directory which is not covered by gitignore in order for railway to be able to see all the needed files |
Well if we can't change the default behavior, why not just add an option to disable gitignore? Something like |
I am in favor of leaving the default behavior and adding a |
|
#484 has been made |
This removes the searching of .gitignore in the up command. This previously caused some unknown behaviour.