Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for allowing version mismatch + consider versionsuffix when creating .modulerc in ModuleRC easyblock #3028

Merged

Conversation

Micket
Copy link
Contributor

@Micket Micket commented Oct 28, 2023

(created using eb --new-pr)

I want to provide alternative version strings for software like STAR-CCM+, which has a user facing version string like "2310" and a internal version used on the source itself like "18.06.006". This works fine in .modulerc, and it's just the extra check that the easyblock does that needlessly prevents this.

It also was missing version suffix of the symbolic version string, so that's just a bug fix.

With this, it now works by producing something like

module_version("STAR-CCM+/18.06.006-r8", "2310-r8")
module_version("STAR-CCM+/18.06.006", "2310")

See easybuilders/easybuild-easyconfigs#19100 for test case and test report.

@boegel boegel changed the title Allow version mismatch and include versionsuffix in modulerc Allow version mismatch and include versionsuffix in ModuleRC easyblock Oct 29, 2023
@boegel boegel added this to the release after 4.8.2 milestone Oct 29, 2023
Copy link
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

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

LGTM, doesn't change behavior for existing easyconfigs in the EB repo at least.

@akesandgren
Copy link
Contributor

Going in, thanks @Micket!

@akesandgren akesandgren merged commit afab7cd into easybuilders:develop Oct 30, 2023
47 checks passed
@Micket Micket deleted the 20231029004212_new_pr_modulerc branch October 30, 2023 09:02
@boegel boegel changed the title Allow version mismatch and include versionsuffix in ModuleRC easyblock add support for allowing version mismatch + consider versionsuffix when creating .modulerc in ModuleRC easyblock Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants