René's URL Explorer Experiment


Title: docs are wrong about cloneOpts.remoteCallback · Issue #35 · nodegit/nodegit.github.com · GitHub

Open Graph Title: docs are wrong about cloneOpts.remoteCallback · Issue #35 · nodegit/nodegit.github.com

X Title: docs are wrong about cloneOpts.remoteCallback · Issue #35 · nodegit/nodegit.github.com

Description: referring to http://www.nodegit.org/guides/cloning/gh-two-factor/ The docs tell me that I should use the following options object for cloning with oauth. cloneOptions.remoteCallbacks = { certificateCheck: function() { return 1; }, creden...

Open Graph Description: referring to http://www.nodegit.org/guides/cloning/gh-two-factor/ The docs tell me that I should use the following options object for cloning with oauth. cloneOptions.remoteCallbacks = { certificat...

X Description: referring to http://www.nodegit.org/guides/cloning/gh-two-factor/ The docs tell me that I should use the following options object for cloning with oauth. cloneOptions.remoteCallbacks = { certificat...

Opengraph URL: https://github.com/nodegit/nodegit.github.com/issues/35

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"docs are wrong about cloneOpts.remoteCallback","articleBody":"referring to http://www.nodegit.org/guides/cloning/gh-two-factor/\nThe docs tell me that I should use the following options object for cloning with oauth.\n\n```\ncloneOptions.remoteCallbacks = {\n  certificateCheck: function() { return 1; },\n  credentials: function() {\n    return NodeGit.Cred.userpassPlaintextNew(GITHUB_TOKEN, \"x-oauth-basic\");\n  }\n};\n```\n\nHowever that doesn't work and isn't what is in the tests.\nI ended up using something like \n\n```\nvar cloneOptions = {\n    fetchOpts: {\n      callbacks: {\n        certificateCheck: function() { return 1; },\n        credentials: function() {\n          console.log(token);\n          return nodegit.Cred.userpassPlaintextNew(token, 'x-oauth-basic');\n        }\n      }\n    }\n  };\n```\n","author":{"url":"https://github.com/calebTomlinson","@type":"Person","name":"calebTomlinson"},"datePublished":"2015-12-01T21:56:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/35/nodegit.github.com/issues/35"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:53e3d63d-d0eb-0f79-6033-66bfd07c403d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA1BA:A458E:2691B81:363BD3A:6970FC11
html-safe-noncee6feec78ec49054d8b65a1c2854918c7022742bdf9039b6336a6c18d389cdb59
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUJBOkE0NThFOjI2OTFCODE6MzYzQkQzQTo2OTcwRkMxMSIsInZpc2l0b3JfaWQiOiI2ODM5NTk2MjE2NDYzOTgxNTg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac710bb39c49542cb81133a5349106d8050869f2df61d52935a5e28d79d6edd2ef
hovercard-subject-tagissue:119817006
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit.github.com/35/issue_layout
twitter:imagehttps://opengraph.githubassets.com/45c62e532cc6452de98c321be61622bcd695e994909f83c1073667a818ef6030/nodegit/nodegit.github.com/issues/35
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/45c62e532cc6452de98c321be61622bcd695e994909f83c1073667a818ef6030/nodegit/nodegit.github.com/issues/35
og:image:altreferring to http://www.nodegit.org/guides/cloning/gh-two-factor/ The docs tell me that I should use the following options object for cloning with oauth. cloneOptions.remoteCallbacks = { certificat...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecalebTomlinson
hostnamegithub.com
expected-hostnamegithub.com
None1b239ebed690c3053869ff31a3b7597834c25673659d63e7b6fd6a9b5d7853de
turbo-cache-controlno-preview
go-importgithub.com/nodegit/nodegit.github.com git https://github.com/nodegit/nodegit.github.com.git
octolytics-dimension-user_id657068
octolytics-dimension-user_loginnodegit
octolytics-dimension-repository_id1462352
octolytics-dimension-repository_nwonodegit/nodegit.github.com
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1462352
octolytics-dimension-repository_network_root_nwonodegit/nodegit.github.com
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseaeacfd55297f3de5395c83f200ac35d1f474115e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodegit/nodegit.github.com/issues/35#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit.github.com%2Fissues%2F35
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit.github.com%2Fissues%2F35
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodegit%2Fnodegit.github.com
Reloadhttps://github.com/nodegit/nodegit.github.com/issues/35
Reloadhttps://github.com/nodegit/nodegit.github.com/issues/35
Reloadhttps://github.com/nodegit/nodegit.github.com/issues/35
nodegit https://github.com/nodegit
nodegit.github.comhttps://github.com/nodegit/nodegit.github.com
Notifications https://github.com/login?return_to=%2Fnodegit%2Fnodegit.github.com
Fork 21 https://github.com/login?return_to=%2Fnodegit%2Fnodegit.github.com
Star 14 https://github.com/login?return_to=%2Fnodegit%2Fnodegit.github.com
Code https://github.com/nodegit/nodegit.github.com
Issues 21 https://github.com/nodegit/nodegit.github.com/issues
Pull requests 12 https://github.com/nodegit/nodegit.github.com/pulls
Actions https://github.com/nodegit/nodegit.github.com/actions
Projects 0 https://github.com/nodegit/nodegit.github.com/projects
Wiki https://github.com/nodegit/nodegit.github.com/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/nodegit/nodegit.github.com/security
Please reload this pagehttps://github.com/nodegit/nodegit.github.com/issues/35
Insights https://github.com/nodegit/nodegit.github.com/pulse
Code https://github.com/nodegit/nodegit.github.com
Issues https://github.com/nodegit/nodegit.github.com/issues
Pull requests https://github.com/nodegit/nodegit.github.com/pulls
Actions https://github.com/nodegit/nodegit.github.com/actions
Projects https://github.com/nodegit/nodegit.github.com/projects
Wiki https://github.com/nodegit/nodegit.github.com/wiki
Security https://github.com/nodegit/nodegit.github.com/security
Insights https://github.com/nodegit/nodegit.github.com/pulse
New issuehttps://github.com/login?return_to=https://github.com/nodegit/nodegit.github.com/issues/35
New issuehttps://github.com/login?return_to=https://github.com/nodegit/nodegit.github.com/issues/35
docs are wrong about cloneOpts.remoteCallbackhttps://github.com/nodegit/nodegit.github.com/issues/35#top
https://github.com/calebTomlinson
https://github.com/calebTomlinson
calebTomlinsonhttps://github.com/calebTomlinson
on Dec 1, 2015https://github.com/nodegit/nodegit.github.com/issues/35#issue-119817006
http://www.nodegit.org/guides/cloning/gh-two-factor/http://www.nodegit.org/guides/cloning/gh-two-factor/
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.