crab icon indicating copy to clipboard operation
crab copied to clipboard

Project environment clobbers parent

Open RealOrangeOne opened this issue 5 years ago • 2 comments

$ DATABASE_URL="not a database url" crab env | grep DATABASE               
DATABASE_URL=postgres://localhost/db

crab should only set environment variables when they're not defined in the project itself. I think?

RealOrangeOne avatar Jan 23 '20 14:01 RealOrangeOne

I think it should override existing ones.. that's kinda the point isn't it?

j4mie avatar Apr 20 '20 15:04 j4mie

I can't think of a time i'd want a project to override its parent environment. And it's also really useful to be able to override variables as above

RealOrangeOne avatar Apr 20 '20 15:04 RealOrangeOne