Abra should warn if an environment variable value has a # in it #505

Closed
opened 2023-10-08 18:40:14 +00:00 by cas · 1 comment
Owner

A bunch of recipes, due to historical cruft do things like

MY_ENVIRONMENT=whatever  # comment about it

Which makes the environment variable value something like whatever # comment about it which is not ideal!

This has lead to a number of difficult and confusing issues with for example the hometown recipe and others (it's bit me at least 3 times in the last week). It'd be cool to have a lint test at deploy that checks for a # in the value, and warns if one is present (so if it's intentional, you can ignore the warning, but it'll catch this issues earlier than having spent hours trying to debug why something is happening just to have it be that an environment has a weird value in it).

A bunch of recipes, due to historical cruft do things like ``` MY_ENVIRONMENT=whatever # comment about it ``` Which makes the environment variable value something like `whatever # comment about it` which is not ideal! This has lead to a number of difficult and confusing issues with for example the `hometown` recipe and others (it's bit me at least 3 times in the last week). It'd be cool to have a lint test at deploy that checks for a # in the value, and warns if one is present (so if it's intentional, you can ignore the warning, but it'll catch this issues earlier than having spent hours trying to debug why something is happening just to have it be that an environment has a weird value in it).
cas added the
bug
enhancement
labels 2023-10-08 18:40:14 +00:00
cas changed title from Abra should warn if an environment variable has a `#` in it to Abra should warn if an environment variable value has a `#` in it 2023-10-08 18:40:33 +00:00
decentral1se self-assigned this 2023-10-08 19:44:18 +00:00
decentral1se added this to the (deleted) project 2023-10-09 12:35:11 +00:00
Owner

Should be covered in coop-cloud/abra#371.

Should be covered in https://git.coopcloud.tech/coop-cloud/abra/pulls/371.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#505
No description provided.