Open kohlhase opened 2 months ago
So, here is the summary of the files that should be on the build server:
And another batch of build server maintenance things:
MathHub/exams
courses/Jacobs/ACS
is messed up please completely delete it and clone courses/Jacobs/ACS/{course,problems}
. MiKoMH
, MiKoCourses
, und MiKoProblems
löschenI figured out how to use git-filter-repo
to remove the *.xlsx
and *.ods
files from history of hwexam
and deposit them in a new repository grades
.
courses/FAU/LBS/hwexam-private
of courses/FAU/LBS/hwexam
are synchronized. git clone git@gl.mathhub.info:courses/FAU/LBS/hwexam.git
in ~/tmp/hwexam
. hwexam-new
on GitLab, but do not clone it yet, and unprotect the main branch: https://gl.mathhub.info/courses/FAU/LBS/hwexam-new/-/settings/repository#js-protected-branches-settingscd ~/tmp/hwexam
(this will only work on a new clone) and then
git filter-repo --invert-paths --path-glob '*/*.xlsx' --path-glob '*/*.ods' --path-glob '*/*.csv'
(this keeps all files but (cf. --invert-paths
) the spreadsheets)git remote add new git@gl.mathhub.info:courses/FAU/LBS/hwexam-new.git
git push new main
rm -Rf ~/tmp/hwexam
courses/FAU/LBS/grades
, clone it in the right place, and unprotect the main
branch: https://gl.mathhub.info/courses/FAU/LBS/grades/-/settings/repository#js-protected-branches-settingsgit clone git@gl.mathhub.info:courses/FAU/LBS/hwexam.git
in ~/tmp/hwexam
. cd ~/tmp/hwexam
(this will only work on a new clone) and then
git filter-repo --path-glob '*/*.xlsx' --path-glob '*/*.ods' --path-glob '*/*.csv'
(this keeps only the spreadsheets)git remote add new git@gl.mathhub.info:courses/FAU/LBS/grades.git
git push new main
rm -Rf ~/tmp/hwexam
hwexam
and the hwexam-private
repositories (in gitlab; see https://gl.mathhub.info/courses/FAU/KRMT/hwexam/edit --> General --> Advanced --> delete project) courses/FAU/LBS/hwexam-new
to hwexam
and make it public
public
(do not forget to save) courses/FAU/LBS/hwexam-private
of hwexam
.
I want to get rid of https://gl.mathhub.info/MiKo{MH,Problems,Courses}, they were good when my courses were the only thing around, but now they are a liability. I have already moved out my old courses to https://gl.mathhub.info/courses/Jacobs and https://gl.mathhub.info/courses/FAU/{LBS,KRMT} and now I want to do the same with the rest (most importantly
AI
andIWGS
which are in current use. The rest (bits and pieces) will follow when I have time.The target structure for active courses is the following (here for AI):
course
with all the slides.problems
with all the homework (subdirsource/prob
) and quiz problems (subdirsource quiz
)hwexam
with all the (old) homework assignments and exams organized by semestergrades
for all the grade information.problems-private
andhwexam-private
which extend the contents of the public archivesproblems
andhwexam
with the upcoming problems and exams. These forks have a much restricted visibility (that's their raison d'être). The instructors should clone them in place of the public variants (so that the paths/URIs inMETA-INF/MANIFEST.MF
work). Then the private problems/exams can be published by a pull request upstream.Less active courses have a subset of this setup. This seems to be working well for
LBS
andKRMT
so far. For the reorganization we have toMiKo{MH,Problems,Courses}
(see below)courses/FAU/*/hwexam
archives into their sistergrades
repository.courses/FAU/*/hwexam
, with the git-filter-repo tool (see comment below).While we are doing all of this the system is in a limbo. So I will try to get this going as fast as possible.
I will keep track of the replacements here (all under the prefix https://gl.mathhub.info/
I do not think we need to do anything about the problem URIs, right?