Need a CLI alternative to execute initNonNativeTables
Los mantenedores suelen responder en 4 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
The table creation lives in initNonNativeTables in WeBWorK/Utils/CourseManagement.pm and currently runs only when the admin course is first accessed in a browser. Read that subroutine and find where the admin-course path calls it, then look for existing command-line scripts in bin/ that manage courses. Done means a command-line entry point creates the depths, locations and location_addresses tables without a browser, and the change is confirmed by running it against a fresh database. The design choice of where that entry point lives is still open.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I've automated the installation of Georgia Tech's WeBWork on AWS using Terraform and Ansible. We're re-deploying it from scratch each semester to keep things clean with respect to content, patching, and user access.
All authentication happens via the Canvas LTI, and courses are added via command line. With this setup, the admin course and non-LTI-based logins are not necessary. Except...
Unfortunately, the "depths", "locations", and "location_addresses" tables are created on the first access of the admin course.
WeBWorK needs an alternative way to properly initialize these tables without browser interaction. As it stands now, I have to...
- Set up the admin course when I don't need it
- Log into a server and disable external-only authentication
- Log into the admin course via a browser to trigger the table creation
- Re-enable external-only authentication
This is not at all compatible with an automated deployment! I believe the tables are created in the initNonNativeTables subroutine of WeBWorK/Utils/CourseManagement.pm. Unfortunately, I'm not fluent enough in PERL or WeBWorK design/implementation to implement such a tool.
- Lenguaje dominante
- Perl
- Estrellas
- 164
- Forks
- 167
- Merge medio
- 6 d 7 h
- PR fusionados (30 d)
- 27
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de openwebwork/webwork2
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
openwebwork/webwork2#3295 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
openwebwork/webwork2#3290 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
openwebwork/webwork2#2997 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 56/100
openwebwork/webwork2#3276 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
openwebwork/webwork2#3272 · 6 comentarios ·
Los mantenedores suelen responder en 4 días
Todos los issues de openwebwork/webwork2
Issues similares
-
nftables: "Display comment in rules list?" option has no effect, comments not shown in rules listAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Type: Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
inverse-inc/packetfence#9707 ·
Los mantenedores suelen responder en 1 día
-
Mailaddress phrase quotingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
RotherOSS/otobo#6457 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
The reply-to for the pro user signup emails should be the email of the user instrad of the contact@ emailPosiblemente ocupada @sisodiaumang la tomó hoy. Abierto🏭 producer platform - spam
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
openfoodfacts/openfoodfacts-server#15447 ·
Los mantenedores suelen responder en 1 día
-
Harden argument handling in deploy-contract.shPosiblemente ocupada @Asta-wizard la tomó hace 1 día. AbiertoStellar Wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Feyisara2108/stellargive#1377 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día