Implement hands on hp-populate-remote #77
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update: I realised that the commits in this PR were created from the wrong branch. I will close this PR and open a new one (#78) from the correct branch. Apologies for the confusion.
Exercise Review
Exercise Discussion
Below is a more detailed description of the changes along with implementation notes:
add_originfunction inexercise_utils/git.py. This might be helpful in the future. I noticed that there is already aremove_remoteimplementation, andadd_originis intended to be used in a similar way.gitmastery-thingsis created successfully across multiple attempts, I added a check to delete any existing remote repository with the same name. Please note that this requires setting up delete access for the GitHub CLI viagh auth refresh -h github.com -s delete_repo. I also realised that the GitHub CLI needs to be configured beforehand for this part of the hands-on to work.Note: The download script tested via
test-download.shworks fine. Here is the remote repo I managed to create.Checklist
Git-Masteryorganization, have you created a request for it?repo-smithto validate the exercise grading scheme?test-download.sh?git-autograder?app?