Add support for Edxapp Extra Requirements - #77
Merged
Merged
Conversation
iamjazzar
force-pushed
the
jazzar/extra-requirements
branch
from
August 11, 2021 20:50
0dfe6fc to
0de0de6
Compare
11 tasks
thraxil
approved these changes
Aug 12, 2021
iamjazzar
force-pushed
the
jazzar/extra-requirements
branch
from
August 12, 2021 19:24
0de0de6 to
a8a6c31
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change description
Add support to
EDXAPP_EXTRA_REQUIREMENTS. These requirements are used in production Ansible deployment scripts, but never were incorporated in the devstack.@OmarIthawi introduced a way in our devstack (devstack#42) to install extra pip packages without modifying edx-platform. This PR introduces a new configuration variable (
EDXAPP_EXTRA_REQUIREMENTS) that utilizes Omar's work, so it won't work on any devstack except Appsembler's, unfortunately.The configuration variable expects a comma-separated list of pip packages git repos:
EDXAPP_EXTRA_REQUIREMENTS="https://github.com/appsembler/gestore.git==0.1.0-dev3,https://github.com/appsembler/course-access-groups.git"To specify the version, simply add
==<branch_or_tag>after the repo link. If no version is specified, we will default to the main branch of the repo.If the package you're installing is a Django app, then you might need to consider adding the app name to your
ADDL_INSTALLED_APPSin your lms/cms YAML configs.Type of change
Related PRs
Checklists
Development
Security
Code review