Closed ironmike-au closed 5 years ago
Looks good, I definitely should have been more careful in the first place. The only thing I'd request and possibly a change on is if any other characters could possibly break things as a project name?
!@#$%^&*
etc. some of which as reserved by the OS, or have special meaning in shell, which could be bad. Whitespace also falls into this category.I think there's already a slugify library included? Otherwise there's definitely a golang one around.
Long term we need to sit down and see if what docker actually does with names is documented anywhere. So far it seems a bit arbitrary, and I'm not sure if slugifying would result in more breakage, not less.
For now I'll merge as there's limited time this month to put in a proper fix :(
fixes #181