listCourses has a feature/bug -- can't update a course whose course_user table has gone missing
Maintainer thường phản hồi trong vòng 4 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
The course listing logic that filters candidates for the upgrade-course page is the starting point; the issue quotes the Perl readDirectory grep that lists directories under the courses directory. Read how the upgrade course page builds its candidate list and how it checks for the course_user table. Done would mean the upgrade page lists course directories even when their database tables are missing, without changing any database until the user confirms.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
in testing I often leave the directories of courses that I've been working with in ww-docker-data. They may even contain .pg test problems in the directory. I used to rebuild the docker container, then go to upgrade course to rebuild the database tables for these courses and then proceed from there.
Now I can't do that. If the course_user table is missing the course doesn't even appear in the list of candidates for upgrading the course. For most cases this is an advantage, but for the upgrade course page I suggest that we might prefer the old behavior and use
return grep { not (m/^\./ or m/^CVS$/) and -d "$coursesDir/$_" } readDirectory($coursesDir);
to list the courses available for potential upgrade. Comments?
@dlglin has already pointed out that some modifications to this upgrade script are needed so that no modifications are made until the ok is given.
- Ngôn ngữ chính
- Perl
- Star
- 164
- Fork
- 167
- Merge trung bình
- 6 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 27
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openwebwork/webwork2
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
openwebwork/webwork2#3295 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
openwebwork/webwork2#3290 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
openwebwork/webwork2#2997 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 56/100
openwebwork/webwork2#3276 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
openwebwork/webwork2#3272 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của openwebwork/webwork2
Issue tương tự
-
nftables: "Display comment in rules list?" option has no effect, comments not shown in rules listĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Type: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
inverse-inc/packetfence#9707 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Mailaddress phrase quotingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
RotherOSS/otobo#6457 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The reply-to for the pro user signup emails should be the email of the user instrad of the contact@ emailCó thể đã có người làm @sisodiaumang đã nhận hôm nay. Đang mở🏭 producer platform - spam
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
openfoodfacts/openfoodfacts-server#15447 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Harden argument handling in deploy-contract.shCó thể đã có người làm @Asta-wizard đã nhận 1 ngày trước. Đang mởStellar Wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Feyisara2108/stellargive#1377 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày