Skip to content

use '0' as letter dir for funky software names that don't start with a letter#1954

Merged
boegel merged 1 commit intoeasybuilders:developfrom
boegel:letter_dir
Oct 10, 2016
Merged

use '0' as letter dir for funky software names that don't start with a letter#1954
boegel merged 1 commit intoeasybuilders:developfrom
boegel:letter_dir

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Oct 10, 2016

I noticed this when looking into an easyconfig file to 3to2 (required for easybuilders/easybuild-easyconfigs#3655)...

@boegel boegel added this to the v3.0 milestone Oct 10, 2016
"""
Determine 'letter' directory for specified software name.
This usually just the 1st letter of the software name (in lowercase),
except for funky software names, e.g. ones starting with a digit.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not use number instead of something like 4real or so?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, it should be a catch-all, I don't care how it's called exactly...

I can use _ instead?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 is just fine.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Oct 10, 2016

Thanks for the review @wpoely86!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants