Skip to content

Add support for dynamic class git repos#159

Merged
charliemirabile merged 3 commits into
masterfrom
git_repos
Sep 12, 2024
Merged

Add support for dynamic class git repos#159
charliemirabile merged 3 commits into
masterfrom
git_repos

Conversation

@charliemirabile

Copy link
Copy Markdown
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.

@michael-burke4 michael-burke4 left a comment

Copy link
Copy Markdown
Contributor

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