Conversation
Contributor
|
looks good except my test user can't see the peer review when triggering intitial.py after running email-test.sh on email-test-4 |
Contributor
|
the peer review email is present in the volumes though |
This container manages the list of assignments and their due dates. On startup and when reloaded, its main program reads the list of all assignments, and spawns children proccesses to wait for the passage of each of their initial and final submission due dates and run a script then they occur. It skips due dates that are already in the past, so this container can be restarted safely without needing to make the scripts it runs idempotent. Currently, the scripts are just stubs that print their arguments. There is a `configure.sh` program similar to warpdrive that runs `configure.py` within the container to manage the assignments and reload the daemon after succesfully changing them.
This is bootleg, but it basically works.
Based on the list of students who submitted, we can form a cycle of peers to review each other's patches.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an initial version of a new 'chronus' container that manages the list of assignments and their due dates and generates peer review assignments.
Currently email is still not added to the journal automatically. The expectation for making this work in production is that a cronjob should be setup that releases all email every 5m (or something like that) by executing
podman-compose exec pop /usr/local/bin/init_journal /var/lib/email/journal/journal /var/lib/email/journal/temp /var/lib/email/mail.This system merely regulates restricting access to the latest emails for specific students based on whether or not they submitted.