underground-software / singularity

KDLP: Beyond the event horizon
https://kdlp.underground.software
GNU General Public License v3.0
0 stars 5 forks source link

Add support for dynamic class git repos #159

Closed charliemirabile closed 2 months ago

charliemirabile commented 2 months ago

A new container manages the class git repos.

They are initialized with a copy of singularity and a copy of any other bare repos stored in a new docs like folder called repos, and stored in a volume for persistence.

It has a warpdrive like script that allows adding new repos on the fly and runs an http server with a port mapped to the host that can accept pushes to the repos so they can be synced to publish new content as the semester progresses.

CGIT now pulls its repo data from this container's volume in a readonly fashion to publish the repos (behind auth) for students to clone.