Open jcolomb opened 3 years ago
Transforming the name doesn't seem feasible. Might be best to add rules in the frontend and throw an error for invalid names. We could reuse the text (and validation code) from GIN:
Will be used to define the URL (path) of the repository. It must be one word (no spaces) and can contain letters (a-z, A-Z), numbers (0-9), dash (-), underscore (_), or dot (.) characters. Repository names should be short, unique and specific (do not use a generic name like "dataset", "plos_paper", etc).
either transform name before creating stuff, or give an error to the user