Skip to content

add script to find updated easyconfigs for installed modules#4271

Merged
branfosj merged 2 commits intoeasybuilders:developfrom
Flamefire:find-updated-modules
Jun 11, 2023
Merged

add script to find updated easyconfigs for installed modules#4271
branfosj merged 2 commits intoeasybuilders:developfrom
Flamefire:find-updated-modules

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

A little script I wrote which may be helpful for others:

Copy from usage:

Usage: findUpdatedEcs.sh [--verbose] --loaded|--modules INSTALLPATH --easyconfigs EC-FOLDER

Check installed modules against the source EasyConfig (EC) files to determine which have changed.
Can either check the currently loaded modules or all modules installed in a specific location

--verbose                Verbose status output while checking
--loaded                 Check only currently loaded modules
--modules INSTALLPATH    Check all modules in the specified (software) installpath, i.e. the root of module-binaries
--easyconfigs EC-FOLDER  Path to the folder containg the current/updated EasyConfigs. (Default based on `eb` location)

@Flamefire Flamefire marked this pull request as ready for review June 8, 2023 11:06
Allow to show the diff of changed ECs.
Switch the prefix to `=== ` instead of `-- ` to distinguish from diff.
Add some more coloring to further distinguish it.
@branfosj branfosj merged commit f904ad8 into easybuilders:develop Jun 11, 2023
@boegel boegel changed the title Add script to find updated ECs for installed modules Add script to find updated easyconfigs for installed modules Jun 11, 2023
@Flamefire Flamefire deleted the find-updated-modules branch June 11, 2023 15:00
@boegel boegel changed the title Add script to find updated easyconfigs for installed modules add script to find updated easyconfigs for installed modules Jun 20, 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.

2 participants