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

Enable support for Software Collections #300

Closed
wants to merge 1 commit into from

Conversation

nzwulfin
Copy link
Contributor

Fedora, RHEL, and CentOS have support for parallel installations of versions of software components such as python, perl, mariadb, etc. One of the common ways to enable the use of a particular collection is to execute a bash shell from the invocation line. That invocation looks like:

scl enable python27 mariadb55 bash

The software collection then sets an environment variable that is a white space separated list of all enabled collections

X_SCLS=python27 mariadb55 

An example of an enabled software collection in a python virtualenv in a git repo:

[nzwulfin:~/oso/srtracker] [python27 mariadb55] [flask] master(+4/-1)* ± 

The software collections website has more information about the implementation of the software.

Fedora, RHEL, and CentOS provide support for multiple versions of
the same software components using Software Collections.  This
patch lists the active collections in a similar manner to Python
virtualenvs.
@dserodio
Copy link

Nice!

@dolmen
Copy link
Collaborator

dolmen commented May 20, 2014

Another article about Software Collections : http://developerblog.redhat.com/2013/09/17/shared-dev-rhscl/

This is definitely a feature I will merge as soon as I get tuits.

@nzwulfin
Copy link
Contributor Author

The always elusive tuits, I'm forever running out of the round ones...

Speaking of which I'll be mainly offline for the next few weeks with some work issues so I may be very slow to respond to any merge fixes that may need to be done.

@dolmen
Copy link
Collaborator

dolmen commented May 30, 2014

Don't worry, I just cherry-picked your patch! Thanks!

@dolmen dolmen closed this May 30, 2014
@dolmen
Copy link
Collaborator

dolmen commented Dec 19, 2014

Reference from this article: http://blogs.dlt.com/openshift-virtualenvs-software-collections/

@dolmen dolmen added the dev env Data sources relating to development environments label Apr 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev env Data sources relating to development environments enhancement Feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants