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

Only add specified assignments/files #51

Closed
betatim opened this issue Dec 19, 2018 · 2 comments
Closed

Only add specified assignments/files #51

betatim opened this issue Dec 19, 2018 · 2 comments

Comments

@betatim
Copy link
Collaborator

betatim commented Dec 19, 2018

Right now abc-author adds all assignments to the student directory. Similarly abc-distribute will generate a PR that modifies everything.

Instead we want to have abc-author assignment1 which only adds assignment1 related files to the already existing student/ directory. abc-author -d assignment1 would remove the assignment from the student/ directory again.

abc-distribute (w/o arguments) would generate a PR based on everything in student/ (copy over whole student/ directory). abc-distribute assignment1 would only create a PR with changes for that assignment (copy over only the assignment specific sub-directory from student/).

One thing that will be tricky to figure out is the .circleci/config.yaml which we will need to edit as we do this.

@lwasser
Copy link

lwasser commented Dec 20, 2018

I had another thought about this yesterday @betatim Right now what works well is each time i distribute content we reset the PR in the student's directory. This handles the student that maybe misses the first assignment for whatever reason or any assignment. Is there a clever way to still ensure that we don't get PR merge conflicts for the students?

related to this issue as well.
And this one too.

@lwasser
Copy link

lwasser commented Nov 13, 2019

closing this for the time being as we are using nbgrader now!

@lwasser lwasser closed this as completed Nov 13, 2019
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

No branches or pull requests

2 participants