Skip to content

Commit e70e048

Browse files
committed
fix: added correct github repo links
1 parent cc3a877 commit e70e048

File tree

2 files changed

+71
-53
lines changed

2 files changed

+71
-53
lines changed

repo.sh

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ repos=(
2626
"https://github.com/openedx/cs_comments_service.git"
2727
"https://github.com/edx/ecommerce.git"
2828
"https://github.com/openedx/edx-notes-api.git"
29-
"https://github.com/openedx/edx-platform.git"
29+
"https://github.com/edx/edx-platform.git"
3030
"https://github.com/openedx/xqueue.git"
3131
"https://github.com/edx/edx-analytics-dashboard.git"
32-
"https://github.com/openedx/frontend-app-gradebook.git"
33-
"https://github.com/openedx/frontend-app-learner-dashboard.git"
34-
"https://github.com/openedx/frontend-app-learner-record.git"
32+
"https://github.com/edx/frontend-app-gradebook.git"
33+
"https://github.com/edx/frontend-app-learner-dashboard.git"
34+
"https://github.com/edx/frontend-app-learner-record.git"
3535
"https://github.com/edx/frontend-app-payment.git"
36-
"https://github.com/openedx/frontend-app-publisher.git"
36+
"https://github.com/edx/frontend-app-publisher.git"
3737
"https://github.com/edx/edx-analytics-dashboard.git"
3838
"https://github.com/edx/edx-analytics-data-api.git"
3939
"https://github.com/openedx/enterprise-catalog.git"
@@ -46,29 +46,29 @@ repos=(
4646
non_release_repos=(
4747
"https://github.com/openedx/frontend-app-authn.git"
4848
"https://github.com/openedx/frontend-app-course-authoring.git"
49-
"https://github.com/openedx/frontend-app-learning.git"
49+
"https://github.com/edx/frontend-app-learning.git"
5050
"https://github.com/edx/registrar.git"
5151
"https://github.com/edx/frontend-app-program-console.git"
5252
"https://github.com/openedx/frontend-app-account.git"
53-
"https://github.com/openedx/frontend-app-profile.git"
54-
"https://github.com/openedx/frontend-app-ora-grading.git"
53+
"https://github.com/edx/frontend-app-profile.git"
54+
"https://github.com/edx/frontend-app-ora-grading.git"
5555
"https://github.com/openedx/enterprise-subsidy.git"
56-
"https://github.com/openedx/frontend-app-admin-portal.git"
57-
"https://github.com/openedx/frontend-app-learner-portal-enterprise.git"
56+
"https://github.com/edx/frontend-app-admin-portal.git"
57+
"https://github.com/edx/frontend-app-learner-portal-enterprise.git"
5858
"https://github.com/edx/frontend-app-enterprise-checkout.git"
5959
"https://github.com/edx/edx-exams.git"
60-
"https://github.com/openedx/frontend-app-skills.git"
60+
"https://github.com/edx/frontend-app-skills.git"
6161
"https://github.com/edx/frontend-app-ora.git"
6262
"https://github.com/edx/frontend-app-exams-dashboard.git"
63-
"https://github.com/openedx/frontend-app-learner-portal-programs.git"
64-
"https://github.com/openedx/frontend-app-communications.git"
65-
"https://github.com/openedx/frontend-app-discussions.git"
63+
"https://github.com/edx/frontend-app-learner-portal-programs.git"
64+
"https://github.com/edx/frontend-app-communications.git"
65+
"https://github.com/edx/frontend-app-discussions.git"
6666
"https://github.com/edx/frontend-app-enterprise-api-doc.git"
6767
"https://github.com/edx/frontend-app-enterprise-public-catalog.git"
6868
"https://github.com/edx/frontend-app-support-tools.git"
6969
"https://github.com/edx/frontend-app-authoring.git"
70-
"https://github.com/openedx/frontend-app-instruct.git"
71-
"https://github.com/openedx/frontend-app-catalog.git"
70+
"https://github.com/edx/frontend-app-instruct.git"
71+
"https://github.com/edx/frontend-app-catalog.git"
7272
"https://github.com/edx/openedx-translations.git"
7373
)
7474

@@ -79,14 +79,14 @@ ssh_repos=(
7979
"[email protected]:edx/ecommerce.git"
8080
"[email protected]:openedx/edx-notes-api.git"
8181
"[email protected]:openedx/enterprise-catalog.git"
82-
"[email protected]:openedx/edx-platform.git"
82+
"[email protected]:edx/edx-platform.git"
8383
"[email protected]:openedx/xqueue.git"
8484
"[email protected]:edx/edx-analytics-dashboard.git"
85-
"[email protected]:openedx/frontend-app-gradebook.git"
86-
"[email protected]:openedx/frontend-app-learner-dashboard.git"
87-
"[email protected]:openedx/frontend-app-learner-record.git"
85+
"[email protected]:edx/frontend-app-gradebook.git"
86+
"[email protected]:edx/frontend-app-learner-dashboard.git"
87+
"[email protected]:edx/frontend-app-learner-record.git"
8888
"[email protected]:edx/frontend-app-payment.git"
89-
"[email protected]:openedx/frontend-app-publisher.git"
89+
"[email protected]:edx/frontend-app-publisher.git"
9090
"[email protected]:edx/edx-analytics-dashboard.git"
9191
"[email protected]:edx/edx-analytics-data-api.git"
9292
"[email protected]:edx/portal-designer.git"
@@ -98,29 +98,29 @@ ssh_repos=(
9898
non_release_ssh_repos=(
9999
"[email protected]:openedx/frontend-app-authn.git"
100100
"[email protected]:openedx/frontend-app-course-authoring.git"
101-
"[email protected]:openedx/frontend-app-learning.git"
101+
"[email protected]:edx/frontend-app-learning.git"
102102
"[email protected]:edx/registrar.git"
103103
"[email protected]:edx/frontend-app-program-console.git"
104104
"[email protected]:openedx/frontend-app-account.git"
105-
"[email protected]:openedx/frontend-app-profile.git"
106-
"[email protected]:openedx/frontend-app-ora-grading.git"
105+
"[email protected]:edx/frontend-app-profile.git"
106+
"[email protected]:edx/frontend-app-ora-grading.git"
107107
"[email protected]:openedx/enterprise-subsidy.git"
108-
"[email protected]:openedx/frontend-app-admin-portal.git"
109-
"[email protected]:openedx/frontend-app-learner-portal-enterprise.git"
108+
"[email protected]:edx/frontend-app-admin-portal.git"
109+
"[email protected]:edx/frontend-app-learner-portal-enterprise.git"
110110
"[email protected]:edx/frontend-app-enterprise-checkout.git"
111111
"[email protected]:edx/edx-exams.git"
112-
"[email protected]:openedx/frontend-app-skills.git"
112+
"[email protected]:edx/frontend-app-skills.git"
113113
"[email protected]:edx/frontend-app-ora.git"
114114
"[email protected]:edx/frontend-app-exams-dashboard.git"
115-
"[email protected]:openedx/frontend-app-learner-portal-programs.git"
116-
"[email protected]:openedx/frontend-app-communications.git"
117-
"[email protected]:openedx/frontend-app-discussions.git"
115+
"[email protected]:edx/frontend-app-learner-portal-programs.git"
116+
"[email protected]:edx/frontend-app-communications.git"
117+
"[email protected]:edx/frontend-app-discussions.git"
118118
"[email protected]:edx/frontend-app-enterprise-api-doc.git"
119119
"[email protected]:edx/frontend-app-enterprise-public-catalog.git"
120120
"[email protected]:edx/frontend-app-support-tools.git"
121121
"[email protected]:edx/frontend-app-authoring.git"
122-
"[email protected]:openedx/frontend-app-instruct.git"
123-
"[email protected]:openedx/frontend-app-catalog.git"
122+
"[email protected]:edx/frontend-app-instruct.git"
123+
"[email protected]:edx/frontend-app-catalog.git"
124124
"[email protected]:edx/openedx-translations.git"
125125
)
126126

@@ -322,32 +322,32 @@ FORKED_REPOS=(
322322
["cs_comments_service"]="openedx"
323323
["ecommerce"]="edx"
324324
["edx-notes-api"]="openedx"
325-
["edx-platform"]="openedx"
325+
["edx-platform"]="edx"
326326
["xqueue"]="openedx"
327327
["edx-analytics-dashboard"]="edx"
328328
["frontend-app-gradebook"]="edx"
329-
["frontend-app-learner-dashboard"]="openedx"
330-
["frontend-app-learner-record"]="openedx"
331-
["frontend-app-skills"]="openedx"
329+
["frontend-app-learner-dashboard"]="edx"
330+
["frontend-app-learner-record"]="edx"
331+
["frontend-app-skills"]="edx"
332332
["frontend-app-learning"]="edx"
333333
["frontend-app-ora"]="edx"
334334
["frontend-app-ora-grading"]="edx"
335335
["frontend-app-exams-dashboard"]="edx"
336-
["frontend-app-learner-portal-programs"]="openedx"
336+
["frontend-app-learner-portal-programs"]="edx"
337337
["frontend-app-program-console"]="edx"
338-
["frontend-app-communications"]="openedx"
339-
["frontend-app-discussions"]="openedx"
340-
["frontend-app-profile"]="openedx"
338+
["frontend-app-communications"]="edx"
339+
["frontend-app-discussions"]="edx"
340+
["frontend-app-profile"]="edx"
341341
["frontend-app-enterprise-api-doc"]="edx"
342342
["frontend-app-enterprise-public-catalog"]="edx"
343-
["frontend-app-publisher"]="openedx"
343+
["frontend-app-publisher"]="edx"
344344
["frontend-app-support-tools"]="edx"
345-
["frontend-app-admin-portal"]="openedx"
346-
["frontend-app-learner-portal-enterprise"]="openedx"
345+
["frontend-app-admin-portal"]="edx"
346+
["frontend-app-learner-portal-enterprise"]="edx"
347347
["frontend-app-enterprise-checkout"]="edx"
348348
["frontend-app-authoring"]="edx"
349-
["frontend-app-instruct"]="openedx"
350-
["frontend-app-catalog"]="openedx"
349+
["frontend-app-instruct"]="edx"
350+
["frontend-app-catalog"]="edx"
351351
["openedx-translations"]="edx"
352352
["frontend-app-payment"]="edx"
353353
["edx-analytics-data-api"]="edx"

test_repo.sh

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ fi
7171
cd ..
7272

7373
echo
74-
echo "TEST 2: OpenEDX Origin Repository"
74+
echo "TEST 2: EDX Origin Repository (edx-platform)"
7575
TOTAL_TESTS=$((TOTAL_TESTS + 1))
76-
create_test_repo "edx-platform" "https://github.com/openedx/edx-platform.git"
76+
create_test_repo "edx-platform" "https://github.com/edx/edx-platform.git"
7777
show_remotes "edx-platform" "BEFORE"
7878
cd /workspaces/devstack
7979
echo " Output:"
@@ -82,14 +82,32 @@ cd "$TEST_WORKSPACE"
8282
show_remotes "edx-platform" "AFTER"
8383
cd edx-platform
8484
if git remote | grep -q "openedx" && git remote | grep -q "edx" && ! git remote | grep -q "origin"; then
85-
print_pass "OpenEDX origin handling"
85+
print_pass "EDX origin handling (edx-platform)"
8686
else
87-
print_fail "OpenEDX origin handling"
87+
print_fail "EDX origin handling (edx-platform)"
8888
fi
8989
cd ..
9090

9191
echo
92-
echo "TEST 3: Personal Fork Error"
92+
echo "TEST 3: OpenEDX Origin Repository (course-discovery)"
93+
TOTAL_TESTS=$((TOTAL_TESTS + 1))
94+
create_test_repo "course-discovery" "https://github.com/openedx/course-discovery.git"
95+
show_remotes "course-discovery" "BEFORE"
96+
cd /workspaces/devstack
97+
echo " Output:"
98+
DEVSTACK_WORKSPACE="$TEST_WORKSPACE" make dev.setup-remotes
99+
cd "$TEST_WORKSPACE"
100+
show_remotes "course-discovery" "AFTER"
101+
cd course-discovery
102+
if git remote | grep -q "openedx" && git remote | grep -q "edx" && ! git remote | grep -q "origin"; then
103+
print_pass "OpenEDX origin handling (course-discovery)"
104+
else
105+
print_fail "OpenEDX origin handling (course-discovery)"
106+
fi
107+
cd ..
108+
109+
echo
110+
echo "TEST 4: Personal Fork Error"
93111
TOTAL_TESTS=$((TOTAL_TESTS + 1))
94112
create_test_repo "credentials" "https://github.com/personaluser/credentials.git"
95113
show_remotes "credentials" "BEFORE"
@@ -107,7 +125,7 @@ fi
107125
cd ..
108126

109127
echo
110-
echo "TEST 4: Non-Forked Repository"
128+
echo "TEST 5: Non-Forked Repository"
111129
TOTAL_TESTS=$((TOTAL_TESTS + 1))
112130
create_test_repo "unknown-repo" "https://github.com/edx/unknown-repo.git"
113131
show_remotes "unknown-repo" "BEFORE"
@@ -125,7 +143,7 @@ fi
125143
cd ..
126144

127145
echo
128-
echo "TEST 5: Idempotent Operations"
146+
echo "TEST 6: Idempotent Operations"
129147
TOTAL_TESTS=$((TOTAL_TESTS + 1))
130148
create_test_repo "ecommerce" "https://github.com/edx/ecommerce.git"
131149
show_remotes "ecommerce" "BEFORE (fresh repo)"
@@ -148,7 +166,7 @@ fi
148166
cd ..
149167

150168
echo
151-
echo "TEST 6: Make Integration"
169+
echo "TEST 7: Make Integration"
152170
TOTAL_TESTS=$((TOTAL_TESTS + 1))
153171
cd /workspaces/devstack
154172
if make -n dev.setup-remotes >/dev/null 2>&1 && make help | grep -q "dev.setup-remotes"; then

0 commit comments

Comments
 (0)