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:3d316deb-9028-ecf6-b95c-48e0c2fc9bcb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8654:11AF2D:19917:22702:6A5FE3FB |
| html-safe-nonce | 3d87fb0ba3974c8262cd38c35ffdc967f4e78b92e7ecaa5be81840c37e27631a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjU0OjExQUYyRDoxOTkxNzoyMjcwMjo2QTVGRTNGQiIsInZpc2l0b3JfaWQiOiIxODU0OTYwNTYxMTk0Nzg3ODM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9153e5e01f0c3750d3242363ccd4165dd66e45f17e1b254d6fb873627c074de0 |
| 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 | 78938542173c0d8e4ad1aefc7954896e81c10ce2620286603ef14cf593bd5a11 |
| 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 | 1a427601e09953033b696253e754ebc7328096a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width