Skip to content

Commit c69ec94

Browse files
authored
Merge branch 'master' into BOMS-200-handle-features-setting-dict-depr
2 parents ed1debd + 485d883 commit c69ec94

25 files changed

Lines changed: 608 additions & 95 deletions

.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"hostRequirements": {
3+
"cpus": 8
4+
},
25
"customizations": {
36
"vscode": {
47
"settings": {

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ updates:
66
schedule:
77
interval: "weekly"
88
reviewers:
9-
- "openedx/arbi-bom"
9+
- "openedx/orbi-bom"

.github/workflows/cli-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,6 @@ jobs:
7070

7171
- name: CLI tests
7272
run: pytest -s ./tests/*.py
73+
74+
- name: Repo setup-remotes tests
75+
run: ./tests/test_repo.sh

.github/workflows/upgrade-python-requirements.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
call-upgrade-python-requirements-workflow:
1414
with:
1515
branch: ${{ github.event.inputs.branch }}
16-
team_reviewers: "arbi-bom"
17-
email_address: arbi-bom@edx.org
18-
send_success_notification: false
16+
team_reviewers: "orbi-bom"
17+
email_address: orbi-bom-upgrade-prs@2u-internal.jsmalerts.atlassian.net
18+
send_success_notification: true
1919
secrets:
2020
requirements_bot_github_token: ${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }}
2121
requirements_bot_github_email: ${{ secrets.REQUIREMENTS_BOT_GITHUB_EMAIL }}

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
version: 2
77

88
build:
9-
os: "ubuntu-22.04"
9+
os: "ubuntu-lts-latest"
1010
tools:
1111
python: "3.8"
1212

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,18 @@ dev.status: ## Prints the status of all git repositories.
143143
dev.checkout: ## Check out "openedx-release/$OPENEDX_RELEASE" in each repo if set, use default branch otherwise.
144144
./repo.sh checkout
145145

146+
dev.setup-remotes: ## Set up edx and openedx remotes for all forked repositories.
147+
./repo.sh setup-remotes
148+
146149
dev.clone: dev.clone.ssh ## Clone service repos to the parent directory.
147150

148151
dev.clone.https: ## Clone service repos using HTTPS method to the parent directory.
149152
./repo.sh clone
153+
make dev.setup-remotes
150154

151155
dev.clone.ssh: ## Clone service repos using SSH method to the parent directory.
152156
./repo.sh clone_ssh
157+
make dev.setup-remotes
153158

154159
########################################################################################
155160
# Developer interface: Docker image management.

configuration_files/cms.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ DATABASES:
244244
DATA_DIR: /edx/var/edxapp
245245
DEFAULT_COURSE_VISIBILITY_IN_CATALOG: both
246246
DEFAULT_FEEDBACK_EMAIL: feedback@example.com
247-
DEFAULT_FILE_STORAGE: django.core.files.storage.FileSystemStorage
248247
DEFAULT_FROM_EMAIL: registration@example.com
249248
DEFAULT_JWT_ISSUER:
250249
AUDIENCE: lms-key
@@ -280,6 +279,7 @@ ELASTIC_SEARCH_CONFIG:
280279
- host: edx.devstack.elasticsearch
281280
port: 9200
282281
use_ssl: false
282+
ENABLE_MKTG_SITE: true
283283
EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend
284284
EMAIL_HOST: localhost
285285
EMAIL_HOST_PASSWORD: ''
@@ -314,7 +314,6 @@ ENABLE_ENROLLMENT_RESET: false
314314
ENABLE_EXPORT_GIT: false
315315
ENABLE_GRADE_DOWNLOADS: true
316316
ENABLE_LTI_PROVIDER: false
317-
ENABLE_MKTG_SITE: false
318317
ENABLE_MOBILE_REST_API: false
319318
ENABLE_OAUTH2_PROVIDER: false
320319
ENABLE_PUBLISHER: false
@@ -381,8 +380,16 @@ LOG_DIR: /edx/var/log/edx
381380
MAINTENANCE_BANNER_TEXT: Sample banner message
382381
MEDIA_ROOT: /edx/var/edxapp/media/
383382
MEDIA_URL: /media/
384-
MKTG_URLS: {}
385-
MKTG_URL_LINK_MAP: {}
383+
MKTG_URLS:
384+
ROOT: http://localhost:18010
385+
ABOUT: /about
386+
CONTACT: /contact
387+
FAQ: /help
388+
COURSES: /course
389+
TOS: /edx-terms-service
390+
HONOR: /honor
391+
PRIVACY: /privacy
392+
WHAT_IS_VERIFIED_CERT: /verified-certificate
386393
MOBILE_STORE_ACE_URLS: {}
387394
MODULESTORE:
388395
default:
@@ -493,6 +500,11 @@ SOCIAL_SHARING_SETTINGS:
493500
DASHBOARD_TWITTER: false
494501
STATIC_ROOT_BASE: /edx/var/edxapp/staticfiles
495502
STATIC_URL_BASE: /static/
503+
STORAGES:
504+
default:
505+
BACKEND: django.core.files.storage.FileSystemStorage
506+
staticfiles:
507+
BACKEND: django.contrib.staticfiles.storage.StaticFilesStorage
496508
STUDIO_NAME: Studio
497509
STUDIO_SHORT_NAME: Studio
498510
SUPPORT_SITE_LINK: ''

configuration_files/discovery.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ JWT_AUTH:
6969
JWT_PUBLIC_SIGNING_JWK_SET: ''
7070
LANGUAGE_CODE: en
7171
MEDIA_STORAGE_BACKEND:
72-
DEFAULT_FILE_STORAGE: django.core.files.storage.FileSystemStorage
72+
STORAGES:
73+
default:
74+
BACKEND: django.core.files.storage.FileSystemStorage
75+
staticfiles:
76+
BACKEND: django.contrib.staticfiles.storage.StaticFilesStorage
7377
MEDIA_ROOT: /edx/var/discovery/media
7478
MEDIA_URL: /media/
7579
OPENEXCHANGERATES_API_KEY: ''
@@ -91,7 +95,11 @@ SOCIAL_AUTH_EDX_OAUTH2_LOGOUT_URL: http://localhost:18000/logout
9195
SOCIAL_AUTH_EDX_OAUTH2_SECRET: discovery-sso-secret
9296
SOCIAL_AUTH_EDX_OAUTH2_URL_ROOT: http://127.0.0.1:8000
9397
SOCIAL_AUTH_REDIRECT_IS_HTTPS: false
94-
STATICFILES_STORAGE: django.contrib.staticfiles.storage.StaticFilesStorage
9598
STATIC_ROOT: /edx/var/discovery/staticfiles
99+
STORAGES:
100+
default:
101+
BACKEND: django.core.files.storage.FileSystemStorage
102+
staticfiles:
103+
BACKEND: django.contrib.staticfiles.storage.StaticFilesStorage
96104
TIME_ZONE: UTC
97105
USERNAME_REPLACEMENT_WORKER: OVERRIDE THIS WITH A VALID USERNAME

configuration_files/lms.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ DCS_SESSION_COOKIE_SAMESITE: Lax
265265
DCS_SESSION_COOKIE_SAMESITE_FORCE_ALL: true
266266
DEFAULT_COURSE_VISIBILITY_IN_CATALOG: both
267267
DEFAULT_FEEDBACK_EMAIL: feedback@example.com
268-
DEFAULT_FILE_STORAGE: django.core.files.storage.FileSystemStorage
269268
DEFAULT_FROM_EMAIL: registration@example.com
270269
DEFAULT_JWT_ISSUER:
271270
AUDIENCE: lms-key
@@ -304,6 +303,7 @@ ELASTIC_SEARCH_CONFIG:
304303
- host: edx.devstack.elasticsearch
305304
port: 9200
306305
use_ssl: false
306+
ENABLE_MKTG_SITE: true
307307
EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend
308308
EMAIL_HOST: localhost
309309
EMAIL_HOST_PASSWORD: ''
@@ -345,7 +345,6 @@ ENABLE_ENROLLMENT_RESET: false
345345
ENABLE_EXPORT_GIT: false
346346
ENABLE_GRADE_DOWNLOADS: true
347347
ENABLE_LTI_PROVIDER: false
348-
ENABLE_MKTG_SITE: false
349348
ENABLE_MOBILE_REST_API: false
350349
ENABLE_OAUTH2_PROVIDER: false
351350
ENABLE_PUBLISHER: false
@@ -421,8 +420,16 @@ MAILCHIMP_NEW_USER_LIST_ID: null
421420
MAINTENANCE_BANNER_TEXT: Sample banner message
422421
MEDIA_ROOT: /edx/var/edxapp/media/
423422
MEDIA_URL: /media/
424-
MKTG_URLS: {}
425-
MKTG_URL_LINK_MAP: {}
423+
MKTG_URLS:
424+
ROOT: http://localhost:18000
425+
ABOUT: /about
426+
CONTACT: /contact
427+
FAQ: /help
428+
COURSES: /course
429+
TOS: /edx-terms-service
430+
HONOR: /honor
431+
PRIVACY: /privacy
432+
WHAT_IS_VERIFIED_CERT: /verified-certificate
426433
MOBILE_STORE_URLS: {}
427434
MODULESTORE:
428435
default:
@@ -579,6 +586,11 @@ SOCIAL_SHARING_SETTINGS:
579586
DASHBOARD_TWITTER: false
580587
STATIC_ROOT_BASE: /edx/var/edxapp/staticfiles
581588
STATIC_URL_BASE: /static/
589+
STORAGES:
590+
default:
591+
BACKEND: django.core.files.storage.FileSystemStorage
592+
staticfiles:
593+
BACKEND: django.contrib.staticfiles.storage.StaticFilesStorage
582594
STUDIO_NAME: Studio
583595
STUDIO_SHORT_NAME: Studio
584596
SUPPORT_SITE_LINK: ''

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,8 +742,8 @@ services:
742742

743743
enterprise-catalog:
744744
image: edxops/enterprise-catalog-dev
745-
container_name: edx.devstack.enterprise-catalog
746-
hostname: enterprise-catalog.devstack.edx
745+
container_name: enterprise.catalog.app
746+
hostname: enterprise.catalog.app
747747
command: bash -c 'while true; do python /edx/app/enterprise-catalog/manage.py runserver 0.0.0.0:18160; sleep 2; done'
748748
ports:
749749
- "18160:18160"

0 commit comments

Comments
 (0)