Validation of Pod, filename, and directory names
IgorShadurin opened this issue · comments
Hi there,
I have a question regarding the naming conventions for pods, directories, and files within the project. I am wondering what attributes should be considered when determining the name, maximum size, and allowed characters for these items. Additionally, I am curious about the maximum nesting of directories and files.
As far as I understand, it is important that these naming conventions be compatible with popular operating systems. Is there a standard that covers these requirements?
Any thoughts or suggestions would be greatly appreciated. Thank you!
so there is a posix naming checking like https://www.ibm.com/docs/en/zos/2.4.0?topic=locales-posix-portable-file-name-character-set
to my understaning https://unix.stackexchange.com/questions/669761/how-to-understand-the-naming-convention-of-ieee-standards
this is the thing
with answers here
https://stackoverflow.com/questions/41898391/naming-convention-for-posix-flags#:~:text=Long%20options%20consist%20of%20'%2D%2D,convention%3B%20camel%20case%20does%20not.
while we should also take into consideration https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html
basically we are fucked... and we should take the best of them all, most versatile, break things and make them as they should be
Simply put, file or folder names can have these character sets
Uppercase A to Z
Lowercase a to z
Numbers 0 to 9
Period (.)
Underscore (_)
Hyphen (-)
taken from here.
We follow / on POSIX for path separator.