Naming conventions
Yoda entities such as collections, data objects, categories, groups, etc. have certain naming requirements and restrictions. These exist either because of structural limitations of certain parts of the system, or to avoid errors and/or malfunctions of the system. This part of the documentation lists all the requirements and restrictions that should be followed when naming the Yoda entities.
Collection and data object names
System limitations to take into considerations:
- iRODS has a maximum path length of 1024 bytes1 (see: iRODS maximum path length allowed).
- If any member of your group(s) use Windows native WebDAV, the WebDAV part of the paths of each data object and collection should be limited to 260 characters (due to Windows systems maximum path length limitation).
In addition to these, there are some known naming issues that should also be taken into consideration:
- Collection names containing single apex quote
'
cause issues (see: irods/irods#5727). - Renaming of collection names containing multi-byte characters mangles subcollection paths (see: irods/irods#6239).
- Data object names containing non-standard characters (such as control characters with ASCII codes 01 to 08, 11, 12, 14 to 31) cause encoding issues in XML (see: irods/irods#4132).
User names
Rules for user names are as follows:
- must contain zero or one ‘@’ symbol, but not at the beginning or the end of the name;
- (if ‘@’ symbol is not present) must contain only lowercase letters, and dots;
- (if ‘@’ symbol is present) must contain only lowercase letters, numbers, hyphens, underscores, and dots;
- may contain a zone name after a ‘#’ symbol.
See: iRODS rule, Python rule
Group names
Rules for group names are as follows:
- must be prefixed with ‘research-‘ or ‘deposit-‘;
- must contain only lowercase characters, numbers, and hyphens;
- must not start or end with a hyphen;
- must not exceed 63 characters.
See: iRODS rule, Python rule
Category names
Rules for category names are as follows:
- must contain only lowercase characters, numbers, and hyphens;
- must not start or end with a hyphen;
- must not exceed 2700 bytes1.
Despite the 2700-byte length limitation, it is strongly advised not to exceed 63 characters as longer names would be hard to read in the Group Manager module.
See: iRODS rule, Python rule
Subcategory names
Rules for subcategory names are as follows:
- must contain only letters, numbers, spaces, commas, periods, parentheses, underscores, and hyphens;
- must not exceed 2700 bytes1.
Despite the 2700-byte length limitation, it is strongly advised not to exceed 63 characters as longer names would be hard to read in the Group Manager module.
See: iRODS rule, Python rule
Licenses
Detailed information regarding default and non-default licenses can be found in the Installing licenses page.