Title: Document possible values of CloneOptions · Issue #330 · nodegit/nodegit · GitHub
Open Graph Title: Document possible values of CloneOptions · Issue #330 · nodegit/nodegit
X Title: Document possible values of CloneOptions · Issue #330 · nodegit/nodegit
Description: I have given up trying to get this library working due to not being able to simply clone a public GH repo. The solution seems to lie somewhere in CloneOptions, but this options object seems totally undocumented, apart from referencing it...
Open Graph Description: I have given up trying to get this library working due to not being able to simply clone a public GH repo. The solution seems to lie somewhere in CloneOptions, but this options object seems totally...
X Description: I have given up trying to get this library working due to not being able to simply clone a public GH repo. The solution seems to lie somewhere in CloneOptions, but this options object seems totally...
Opengraph URL: https://github.com/nodegit/nodegit/issues/330
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Document possible values of CloneOptions","articleBody":"I have given up trying to get this library working due to not being able to simply clone a public GH repo. The solution seems to lie somewhere in CloneOptions, but this options object seems [totally undocumented](http://www.nodegit.org/#CloneOptions), apart from referencing its C-type. Looking up [git_clone_options](https://libgit2.github.com/libgit2/#HEAD/type/git_clone_options), I cannot seem to find even the options mentioned in the examples. \n\n[This example](https://github.com/nodegit/nodegit/blob/master/example/clone.js) uses `{ ignoreCertErrors: 1})`, but I cannot seem to find any such thing mentioned in the C documentation.\n\nCurrently, trying to check out a public repo just leaves me with an error, and no way to solve it: \n\n```\nnodegit.Clone.clone(\"git@github.com:nodegit/nodegit\", path.toString(), null)\n.then(0, function(err){\n console.log(err); // ==\u003e 'authentication required but no callback set'\n})\n```\n\nI am not the only one left in [confusion](https://www.bountysource.com/issues/1375198-passing-cloneoptions) either.\n","author":{"url":"https://github.com/fatso83","@type":"Person","name":"fatso83"},"datePublished":"2014-12-22T14:27:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/330/nodegit/issues/330"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5c103b31-db4d-f072-40c8-551b6bb49e39 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CDA8:607DA:283DE5:379061:6A5FA9B3 |
| html-safe-nonce | 75a8da6c88deba69e2f8773f847b5b9993d57ce3694c6e0f66e079c53ac7cc88 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREE4OjYwN0RBOjI4M0RFNTozNzkwNjE6NkE1RkE5QjMiLCJ2aXNpdG9yX2lkIjoiODQ2NjQ0NjgwNjQ4NjU5MTkyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f35fb82ee647b45a7654a890ccc77ef68d2e43a7126f3efc072fec91bf900dd5 |
| hovercard-subject-tag | issue:52653894 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/330/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eefa4c2376e422535df56c4a9b86870861ce5e779936be9bd24cac8b7a219d7b/nodegit/nodegit/issues/330 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eefa4c2376e422535df56c4a9b86870861ce5e779936be9bd24cac8b7a219d7b/nodegit/nodegit/issues/330 |
| og:image:alt | I have given up trying to get this library working due to not being able to simply clone a public GH repo. The solution seems to lie somewhere in CloneOptions, but this options object seems totally... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fatso83 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b835c054d57dfb6ce72ba8f0eb8f16f0370860631609eb10df818738c61c68d |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4df9bc0bde4bfd7cd95e75afdd7f103984ece3a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width