introprog
introprog copied to clipboard
create introprog.g8 as alternative to workspace
It would be good do factor out the workspace part of this repo to another repo.
Perhaps make it a Gitter8 template as in https://github.com/lunduniversity/hello-scala.g8 will all given code of each week using subprojects as a replacement https://github.com/lunduniversity/workspace.
A problem is that this repo requires the code to pdflatex labs so a new repo will be a copy/fork of this repo with potential problems of inconsistency when updating... One solution to this might be a script that copy/update from one repo to another.
We could probably use Git Submodules to keep the different repositories in sync.
I also believe that a Giter8 template would be better than a regular repository since students otherwise would need to change the git remote URL if they clone the workspace repository and want to save their solutions in a private GitHub repo.
I think it is more robust to just copy code with a simple bash script to a new gitter8 workspace repo from this repo. As I want to include parts from the workspace in the compendium and I want this repo to be a monorepo that is self-contained, I think the copy to g8 is perhaps better.
But I'm uncertain if gitter8 and sbt is the right thing as scala-cli might be used in the first weeks instead of sbt, and I thinking of introducing sbt later, perhaps as late as in study period 2 snake.
See also https://github.com/lunduniversity/introprog/issues/630
But thanks for the tip about git submudules anyway :+1:
wont fix as g8 is yet another tool to install and I don't want to overload students