ls1intum / Artemis

Artemis - Interactive Learning with Automated Feedback
https://docs.artemis.cit.tum.de
MIT License
456 stars 275 forks source link

LocalVC: Support multiple branches #8753

Open b-fein opened 3 weeks ago

b-fein commented 3 weeks ago

Is your feature request related to a problem?

As part of the software engineering lecture, we conduct exercises where multiple branches are required and checked by custom tests in our build pipeline.

Example:

It might also be useful for team exercises with multiple students working on a task to have multiple branches.

Describe the solution you'd like

GitLab currently allows students to push to any branch. LocalVC restricts this to main as far as I know. It would be nice if the push would be allowed for other branches as well.

Open questions:

Describe alternatives you've considered

No response

Additional context

This would be a blocker for us to migrate from GitLab to LocalVC.

krusche commented 3 weeks ago

We explicitly forbid pushing to other branches, because for simple exercises, students are confused if they (accidentally) do that and they do not get any results. Also, branches can easily lead to merge conflicts for inexperienced students.

Therefore, I would suggest to add this option on the exercise level.

In Gitlab and Bitbucket, this was also configured on the "exercise level"