From 0cf427fb40577682af27e5698c4f727679cebd66 Mon Sep 17 00:00:00 2001 From: Muhammad Faraz Maqsood Date: Mon, 11 Nov 2024 15:12:04 +0500 Subject: [PATCH] docs: deprecate tutor-ecommerce In this commit: - add a deprecation warning in the readme as ecommerce and ecommerce-worker repositories have been archieved now. - dockerfile now includes link to archieved repositories of ecommerce and ecommerce-worker. --- README.rst | 10 +++++----- .../ecommerce/build/ecommerce-worker/Dockerfile | 2 +- .../templates/ecommerce/build/ecommerce/Dockerfile | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index cb67b62e..3ebfcc8f 100644 --- a/README.rst +++ b/README.rst @@ -1,13 +1,13 @@ +⛔️ WARNING +========== + +This plugin is deprecated as the underlying e-commerce repositories have been archived. For more details, please refer to the deprecation ticket: [tutor-ecommerce deprecation ticket](https://github.com/overhangio/tutor-ecommerce/issues/83). + E-Commerce plugin for `Tutor `_ =============================================================== This is a plugin for `Tutor `_ that integrates the `E-Commerce `__ application in an Open edX platform. -⛔️ WARNING -========== - -e-commerce and e-commerce worker are under-maintained. The Open edX community is not fixing bugs or developing new features for it. We hope to deprecate and replace it soon. For updates, `follow along on the DEPR ticket `_. - Installation ------------ diff --git a/tutorecommerce/templates/ecommerce/build/ecommerce-worker/Dockerfile b/tutorecommerce/templates/ecommerce/build/ecommerce-worker/Dockerfile index 41a51542..7eb0b5ed 100644 --- a/tutorecommerce/templates/ecommerce/build/ecommerce-worker/Dockerfile +++ b/tutorecommerce/templates/ecommerce/build/ecommerce-worker/Dockerfile @@ -13,7 +13,7 @@ RUN useradd --home-dir /openedx --create-home --shell /bin/bash --uid ${APP_USER USER ${APP_USER_ID} RUN mkdir /openedx/ecommerce_worker && \ - git clone https://github.com/openedx/ecommerce-worker.git --branch {{ OPENEDX_COMMON_VERSION }} --depth 1 /openedx/ecommerce_worker + git clone https://github.com/openedx-unsupported/ecommerce-worker.git --branch open-release/sumac.master --depth 1 /openedx/ecommerce_worker WORKDIR /openedx/ecommerce_worker # Install pyenv diff --git a/tutorecommerce/templates/ecommerce/build/ecommerce/Dockerfile b/tutorecommerce/templates/ecommerce/build/ecommerce/Dockerfile index 26298fa6..7a870dcb 100644 --- a/tutorecommerce/templates/ecommerce/build/ecommerce/Dockerfile +++ b/tutorecommerce/templates/ecommerce/build/ecommerce/Dockerfile @@ -11,8 +11,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ ###### Checkout code FROM minimal AS checkout -ARG ECOMMERCE_REPOSITORY=https://github.com/openedx/ecommerce.git -ARG ECOMMERCE_VERSION='{{ OPENEDX_COMMON_VERSION }}' +ARG ECOMMERCE_REPOSITORY=https://github.com/openedx-unsupported/ecommerce.git +ARG ECOMMERCE_VERSION='open-release/sumac.master' RUN mkdir -p /openedx/ecommerce && \ git clone $ECOMMERCE_REPOSITORY --branch $ECOMMERCE_VERSION --depth 1 /openedx/ecommerce