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:8297cf23-7c59-f040-0d94-e1bea6a622ac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0A0:259088:78A4E38:A23BE1D:6A5E21EC |
| html-safe-nonce | f5df36783b77f2c1b2a701f8a5bf6c55bbb7b0ca3fa7ef91c7dce3b496898ee1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEEwOjI1OTA4ODo3OEE0RTM4OkEyM0JFMUQ6NkE1RTIxRUMiLCJ2aXNpdG9yX2lkIjoiNjQ4NzU4OTgwMjIzMDAzMDgyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 57fe99f79f9faf6a0bdcedb2b1fd840dc5526d86630a9767915a534beb67a385 |
| 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 | e5010f4d2748a3cbef86e1580413ff14701bd99f255268dfb4a2857c77e2cc7c |
| 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 | 7d23604c4a8ce0274b4c71bb2adbe6e1c9d5904f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width