You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copying the creds.env file feels like an arbitrary manual step in an otherwise automated process using invoke commands. Instead of requiring developers to copy the file, we should add a step to the invoke build task that checks for the existence of the file and copy the example file if it's missing.
Use Cases
I'm a novice developer and I want to create a development environment quickly and with the smallest amount of steps as possible.
I'm an advanced developer and I want to still use my own creds.env file and not have it overwritten by a blanket cp command.
I have a repo that uses a different filename than development/creds.env and this causes confusion when we have to explain the cp command is different than normal.
I have a repo where we use separate .env files for different services and would require multiple cp commands run to populate all of the necessary files.
Considerations
I brought this topic up for discussion internally before creating this issue, so I will cover some of the concerns that were brought up during that discussion.
We should emit a warning that we have copied the example file and it is using default credentials.
We must ensure that it only creates the file if there is not one existing. This functionality should not be meant to reconcile any missing values between the example file and the real file, but rather just an initial copy.
This should only be implemented for files in the development directory (currently only creds.env).
The text was updated successfully, but these errors were encountered:
Environment
Proposed Functionality
Our instructions for new development environments built from these cookies include the following steps:
Copying the
creds.env
file feels like an arbitrary manual step in an otherwise automated process usinginvoke
commands. Instead of requiring developers to copy the file, we should add a step to theinvoke build
task that checks for the existence of the file and copy the example file if it's missing.Use Cases
creds.env
file and not have it overwritten by a blanketcp
command.development/creds.env
and this causes confusion when we have to explain thecp
command is different than normal..env
files for different services and would require multiplecp
commands run to populate all of the necessary files.Considerations
I brought this topic up for discussion internally before creating this issue, so I will cover some of the concerns that were brought up during that discussion.
development
directory (currently onlycreds.env
).The text was updated successfully, but these errors were encountered: