Open merliseclyde opened 5 years ago
I was having a similar issue, I think it has to do with the gert branch being merged. I got this error when running org_create_assignment()
but I was able to get to the same result with doing the three steps individually: repo_create()
, repo_add_team()
, repo_mirror()
.
repo_mirror_template()
also failed for me.
I think this is because the current version depends on a updated version of gert that is still sitting in a pull request. If you install gert from my branch:
remotes::install_github("rundel/gert@mirror")
does that fix things?
Yes - I had installed rundel@master, but with mirror it is working.
The repo_mirror step now asks for confirmation for every repo (or more); the repo was created prior, but failed to clone. Can there be an overwrite=TRUE option ?
Using a template repo still fails for me...
I'd think both of these issues should be fixed now.
The prompting was me just not handling the possibility of writing things gracefully - repo_mirror now checks the targets to see if they have any commits - if there are more than one then it will prompt you to rerun with overwrite=TRUE
.
The template repo issue I believe was likely due to GitHub's template mirroring requiring that the target repo does not exist. Their process creates the repo and then populates it - the error messaging and checks wrt were terrible so I've made some changes to improve that.
Let me know if this solves things or if there are lingering issues.
Thanks!!! Will check it out with next assignment :-) cheers, m
Merlise A Clyde Professor Department of Statistical Science Duke University
clyde@duke.edumailto:clyde@duke.edu 919 681 8440
On Oct 18, 2019, at 7:14 AM, Colin Rundel notifications@github.com<mailto:notifications@github.com> wrote:
I'd think both of these issues should be fixed now.
The prompting was me just not handling the possibility of writing things gracefully - repo_mirror now checks the targets to see if they have any commits - if there are more than one then it will prompt you to rerun with overwrite=TRUE.
The template repo issue I believe was likely due to GitHub's template mirroring requiring that the target repo does not exist. Their process creates the repo and then populates it - the error messaging and checks wrt were terrible so I've made some changes to improve that.
Let me know if this solves things or if there are lingering issues.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rundel_ghclass_issues_82-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAAC54FHKLYIRBMQMONHQDFDQPGLCPA5CNFSM4JBTLP22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBT6SMQ-23issuecomment-2D543680818&d=DwMCaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=x3pHRqWA0t5CXMKfReZn7ZqLj13kFVUgFfTldRCztdQ&m=uV5qkF_u5YTsTZ2xFUKPeSAgEK5woFTtUMtI2RhRzdY&s=o1ISFe7a3qvVuyrnVHxRD-j98F2B9lxjdj9zl2nQp5Q&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AAC54FCCZVTR3MRA2BTBL2LQPGLCPANCNFSM4JBTLP2Q&d=DwMCaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=x3pHRqWA0t5CXMKfReZn7ZqLj13kFVUgFfTldRCztdQ&m=uV5qkF_u5YTsTZ2xFUKPeSAgEK5woFTtUMtI2RhRzdY&s=kqLFKlz8IXVgMpahDuY2xPuGu6D9StOCW4IpivoUg3I&e=.
Merlise A Clyde Professor Department of Statistical Science Duke University http://stat.duke.edu/~clyde
clyde@duke.edumailto:clyde@duke.edu 919 681 8440
Using a repo that is either a template or not, I am getting errors when trying to create an assignment.
For the case that it is not a repo, it fails on trying to clone (repo_mirror) the repo with an error
For a template repo it gives the error