Skip to content

Commit

Permalink
feat: point devstack to edx org remote for ecommerce (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
christopappas authored Jul 24, 2024
1 parent 1074f6b commit 5fc8fd8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/service_list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Some common service combinations include:

.. _credentials: https://github.com/openedx/credentials
.. _discovery: https://github.com/openedx/course-discovery
.. _ecommerce: https://github.com/openedx/ecommerce
.. _ecommerce: https://github.com/edx/ecommerce
.. _edx_notes_api: https://github.com/openedx/edx-notes-api
.. _forum: https://github.com/openedx/cs_comments_service
.. _frontend-app-payment: https://github.com/edx/frontend-app-payment
Expand Down
8 changes: 4 additions & 4 deletions repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos=(
"https://github.com/openedx/course-discovery.git"
"https://github.com/openedx/credentials.git"
"https://github.com/openedx/cs_comments_service.git"
"https://github.com/openedx/ecommerce.git"
"https://github.com/edx/ecommerce.git"
"https://github.com/openedx/edx-notes-api.git"
"https://github.com/openedx/edx-platform.git"
"https://github.com/openedx/xqueue.git"
Expand Down Expand Up @@ -54,7 +54,7 @@ ssh_repos=(
"[email protected]:openedx/course-discovery.git"
"[email protected]:openedx/credentials.git"
"[email protected]:openedx/cs_comments_service.git"
"[email protected]:openedx/ecommerce.git"
"[email protected]:edx/ecommerce.git"
"[email protected]:openedx/edx-notes-api.git"
"[email protected]:openedx/edx-platform.git"
"[email protected]:openedx/xqueue.git"
Expand Down Expand Up @@ -139,7 +139,7 @@ _clone ()
else
if [ -n "${OPENEDX_GIT_BRANCH:-}" ]; then
CLONE_BRANCH="-b ${OPENEDX_GIT_BRANCH}"
elif [[ "${repo}" == *"openedx/ecommerce"* ]]; then
elif [[ "${repo}" == *"edx/ecommerce"* ]]; then
CLONE_BRANCH="-b 2u/main"
else
CLONE_BRANCH=""
Expand All @@ -161,7 +161,7 @@ _checkout_and_update_branch ()
BRANCH_NAME=${GIT_SYMBOLIC_REF##refs/heads/}
if [ -n "${OPENEDX_GIT_BRANCH}" ]; then
CHECKOUT_BRANCH=${OPENEDX_GIT_BRANCH}
elif [[ "${current_repo}" == *"openedx/ecommerce"* ]]; then
elif [[ "${current_repo}" == *"edx/ecommerce"* ]]; then
CHECKOUT_BRANCH="2u/main"
else
CHECKOUT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')
Expand Down

0 comments on commit 5fc8fd8

Please sign in to comment.