Bug 858015
Summary: | [RFE] Make scl-utils environment-modules friendly | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Travis Gummels <tgummels> | |
Component: | scl-utils | Assignee: | Jan Zeleny <jzeleny> | |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | rawhide | CC: | bkabrda, drieden, hhorak, jzeleny, mattdm, ncoghlan, pknirsch | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 971873 (view as bug list) | Environment: | ||
Last Closed: | 2013-08-26 12:03:58 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 854744, 965565, 971873 |
Description
Travis Gummels
2012-09-17 19:25:54 UTC
I think this would be a huge win. Environment modules is well-established in the HPC community (where Fedora and ultimately-derived-from-Fedora distributions are very popular). Plus, we already have environment-modules in Fedora and in RHEL (used for different versions of mpi), and it'd be nice if all our stuff played nicely together. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. After a lot of thought I have decided to close this one. The core concept of scl-utils is a bit different than the one of env. modules and there is virtually nothing scl-utils can do to significantly improve the support. The burden of the better support is up to the collection maintainers to transform their scriptlets to env. modules. The good new is that it is much more simple than it sounds. The only thing that needs to be done is to use either [1] or [2] (both part of the environment-modules package) to transform collection's scriptlet to an env. module and then (if necessary) to copy that module to $MODULESHOME/init. All this can be done in the %pre stage right after the scl scriptlet is created (don't forget that the package has to pre-require the environment-modules). [1] /usr/share/Modules/bin/createmodule.sh [2] /usr/share/Modules/bin/createmodule.py Since this BZ came first in a search for "scl-utils environment modules", just adding a link directly to the documentation for the approach Jan describes above: https://www.softwarecollections.org/en/docs/guide/#sect-Converting_Software_Collection_Scriptlets_into_Environment_Modules |