Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dynamic class git repos #159

Merged
merged 3 commits into from
Sep 12, 2024
Merged

Add support for dynamic class git repos #159

merged 3 commits into from
Sep 12, 2024

Conversation

charliemirabile
Copy link
Contributor

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.

The repositories are initialized with a copy of the singularity repo,
and a copy of any other repos stored in a new untracked subdirectory
`repos` that is similar in function to `docs`.

The repositories will be stored in a volume so that persistent changes can
be made to them via pushing to them over http from a port on the host.
Copy link
Contributor

@michael-burke4 michael-burke4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@charliemirabile charliemirabile merged commit 51105ce into master Sep 12, 2024
@charliemirabile charliemirabile deleted the git_repos branch September 12, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants