Skip to content

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

Merged
akesandgren merged 1 commit intoeasybuilders:developfrom
Micket:20231029004212_new_pr_modulerc
Oct 30, 2023
Merged

add support for allowing version mismatch + consider versionsuffix when creating .modulerc in ModuleRC easyblock#3028
akesandgren merged 1 commit intoeasybuilders:developfrom
Micket:20231029004212_new_pr_modulerc

Conversation

@Micket
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

Going in, thanks @Micket!

@akesandgren akesandgren merged commit afab7cd into easybuilders:develop Oct 30, 2023
@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