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

[WIP] Commit and Push commands #116

Merged
merged 3 commits into from
Jan 10, 2020
Merged

[WIP] Commit and Push commands #116

merged 3 commits into from
Jan 10, 2020

Conversation

LinuxMercedes
Copy link
Member

@LinuxMercedes LinuxMercedes commented Feb 3, 2018

This pair of commands will allow people to push local changes to students' repos. For example, autograder output can be added and pushed once grading is complete.

We have no plans to add a "copy this file to all local student repos" feature. If necessary, this can be done from a shell like so:

for dir in hw1/*; do [[ -d $dir ]] && cp updated-file $dir/original-file; done

The push command is written to, by default, require you to lock student repos before pushing to them. This will reduce the possibility of conflicts; however, it is impossible to avoid conflicts on the students' side if they have un-pushed commits before assigner push is run. We recommend using this feature very carefully if students are intended to continue working in their repos after the push occurs (i.e., if assigner push is used to update an assignment after it has been assigned and opened).

Closes #98, closes #138.

TODO:

  • Changelog
  • Tutorial docs
  • Integration tests

@LinuxMercedes LinuxMercedes force-pushed the pr/assigner-push branch 4 times, most recently from 82776f6 to 038ab62 Compare February 9, 2018 23:44
@LinuxMercedes LinuxMercedes added this to the v2.0 milestone Sep 8, 2018
@LinuxMercedes LinuxMercedes force-pushed the pr/assigner-push branch 6 times, most recently from ca2c736 to 473e117 Compare January 19, 2019 03:26
@LinuxMercedes
Copy link
Member Author

Added a neat commit tip to the tutorial; fixes #138!

@LinuxMercedes LinuxMercedes merged commit 9e01d94 into master Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant