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

enhance get_software_libdir to return full paths if requested #4699

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

Flamefire
Copy link
Contributor

This avoids the need to do something like os.path.join(get_software_root(foo), get_software_libdir(foo))

Also removed an extra indent for readability: The if root: <long codeblock> else: return None gets easier to read when swapped avoiding the else

Micket
Micket previously approved these changes Nov 22, 2024
Copy link
Contributor

@Micket Micket left a comment

Choose a reason for hiding this comment

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

lgtm

@Micket
Copy link
Contributor

Micket commented Nov 22, 2024

I'm only hesitant in case this creates some annoying merge conflict with 5.0.x, i don't want to block that in any way as we just must get that going

@Flamefire
Copy link
Contributor Author

At least 5.0x can be merged into this branch, so I hope its fine the other way round later.

@boegel
Copy link
Member

boegel commented Dec 4, 2024

@Flamefire Can you re-target this to 5.0.x branch to make it clear it won't cause trouble/merge conflicts there?

This avoids the need to do something like
`os.path.join(get_software_root(foo), get_software_libdir(foo))`
@Flamefire Flamefire changed the base branch from develop to 5.0.x December 4, 2024 09:36
@boegel boegel added the EasyBuild-5.0 EasyBuild 5.0 label Dec 4, 2024
@boegel boegel added this to the 5.0 milestone Dec 4, 2024
Copy link
Contributor

@bartoldeman bartoldeman left a comment

Choose a reason for hiding this comment

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

lgtm

@bartoldeman bartoldeman merged commit b07033b into easybuilders:5.0.x Dec 9, 2024
39 checks passed
@Flamefire Flamefire deleted the fullpath-libdir branch December 9, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants