René's URL Explorer Experiment


Title: Remote creation API by tiennou · Pull Request #4667 · libgit2/libgit2 · GitHub

Open Graph Title: Remote creation API by tiennou · Pull Request #4667 · libgit2/libgit2

X Title: Remote creation API by tiennou · Pull Request #4667 · libgit2/libgit2

Description: This is the PR for the code I've written for #4658. It adds a git_remote_create_ext with an option structure for handling the 3 other _create calls (ie. _with_fetchspec, _anonymous, _detached). I've not pondered too much about the difference between anonymous & detached remotes. AFAICT, both are in-memory, and anonymous ones can make use of an underlying repository, so config will be respected.

Open Graph Description: This is the PR for the code I've written for #4658. It adds a git_remote_create_ext with an option structure for handling the 3 other _create calls (ie. _with_fetchspec, _anonymous, _detached)....

X Description: This is the PR for the code I've written for #4658. It adds a git_remote_create_ext with an option structure for handling the 3 other _create calls (ie. _with_fetchspec, _anonymous, _detach...

Opengraph URL: https://github.com/libgit2/libgit2/pull/4667

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:071e4054-6bb3-26d7-ba4f-c1a2a8b84911
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA1BC:294157:36EAE2D:4923574:6A655AC7
html-safe-nonceff5fb5d57763b2924a7af357e21472889c67307a588971a204d4290ae4e22ba2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUJDOjI5NDE1NzozNkVBRTJEOjQ5MjM1NzQ6NkE2NTVBQzciLCJ2aXNpdG9yX2lkIjoiMjQyMTg5NTM1MDkxMzk0ODM1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace12837400443f4de1c011a04419c2e6e9bc414f0c6a43294ce3ea87aa04ed671
hovercard-subject-tagpull_request:192039885
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
twitter:imagehttps://avatars.githubusercontent.com/u/81099?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/81099?s=400&v=4
og:image:altThis is the PR for the code I've written for #4658. It adds a git_remote_create_ext with an option structure for handling the 3 other _create calls (ie. _with_fetchspec, _anonymous, _detached)....
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git
octolytics-dimension-user_id394745
octolytics-dimension-user_loginlibgit2
octolytics-dimension-repository_id901662
octolytics-dimension-repository_nwolibgit2/libgit2
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id901662
octolytics-dimension-repository_network_root_nwolibgit2/libgit2
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F4667%2Fcommits%2F10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Flibgit2%2Flibgit2%2Fpull%2F4667%2Fcommits%2F10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=libgit2%2Flibgit2
Reloadhttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
Reloadhttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
Reloadhttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
libgit2 https://github.com/libgit2
libgit2https://github.com/libgit2/libgit2
Notifications https://github.com/login?return_to=%2Flibgit2%2Flibgit2
Fork 2.6k https://github.com/login?return_to=%2Flibgit2%2Flibgit2
Star 10.5k https://github.com/login?return_to=%2Flibgit2%2Flibgit2
Code https://github.com/libgit2/libgit2
Issues 422 https://github.com/libgit2/libgit2/issues
Pull requests 108 https://github.com/libgit2/libgit2/pulls
Discussions https://github.com/libgit2/libgit2/discussions
Actions https://github.com/libgit2/libgit2/actions
Projects https://github.com/libgit2/libgit2/projects
Security and quality 9 https://github.com/libgit2/libgit2/security
Insights https://github.com/libgit2/libgit2/pulse
Code https://github.com/libgit2/libgit2
Issues https://github.com/libgit2/libgit2/issues
Pull requests https://github.com/libgit2/libgit2/pulls
Discussions https://github.com/libgit2/libgit2/discussions
Actions https://github.com/libgit2/libgit2/actions
Projects https://github.com/libgit2/libgit2/projects
Security and quality https://github.com/libgit2/libgit2/security
Insights https://github.com/libgit2/libgit2/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Flibgit2%2Flibgit2%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Flibgit2%2Flibgit2%2Fissues%2Fnew%2Fchoose
pks-thttps://github.com/pks-t
libgit2:masterhttps://github.com/libgit2/libgit2/tree/master
tiennou:feature/remote-create-apihttps://github.com/tiennou/libgit2/tree/feature/remote-create-api
Conversation 62 https://github.com/libgit2/libgit2/pull/4667
Commits 18 https://github.com/libgit2/libgit2/pull/4667/commits
Checks 0 https://github.com/libgit2/libgit2/pull/4667/checks
Files changed https://github.com/libgit2/libgit2/pull/4667/files
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
Remote creation API https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#top
Show all changes 18 commits https://github.com/libgit2/libgit2/pull/4667/files
798be87 tests: rename remote creation test suite tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/798be87ee5fb8a8bd10ffac158ab6bd2fa84f2af
10fa2dd tests: consolidate all remote creation tests in one test suite tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
fa69195 tests: git_remote_create_with_fetchspec tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/fa69195e99256c216bfed9f5c33179e9db4ca2ab
f778af6 tests: git_remote_create_anonymous tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/f778af68f8a00f9c1cae302317739715b3a394fe
4e0da45 tests: check what happens with the remote. section counts tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/4e0da4501c3e4a43d519659f3d21aaf19646545a
f8fc987 tests: git_remote_create_detached tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/f8fc987ca295420d33e15d1948a78d7d376c589f
0e5a27c tests: count config section helper already exists tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/0e5a27cd544f91cae56602479d407a2bc5c33912
de2af3c remote: move static method tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/de2af3c2d81e1e91b6ab21ac9fa8825b98c5c4a0
b2640c3 config: add asserts for non-null parameters in lock/unlock tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/b2640c3617c836e4efa4dbc1ef0c329a8ff58825
b741bb8 remote: add a helper for generating the default fetchspec tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/b741bb89e47c1d0637a676b10fd57ccb08a7c429
43b4b2f remote: merge if-statements tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/43b4b2faadbd46c3ef56516785f64b2b9cd2b5a0
3cbaebd remote: provide a generic API for creating remotes tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/3cbaebdf7dac02b193f3416937c9cdb2e244f50b
fdb116b remote: add a creation flag for ignoring url.insteadOf tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/fdb116b364c59d1e3692441963ec47616c71b3db
d365029 remote: add a flag to prevent generation of the default fetchspec tiennou Jun 20, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/d365029406087471fda7cbf7bda68e8453200494
3652b83 tests: remote/create: remove macro and unroll tests tiennou Jun 22, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/3652b83a8690e20ba15501b435b9ff0201d3f118
10cba76 remote: lower the default vector size to 8 tiennou Jul 6, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/10cba764a528a631b0261542cffdc02bf3956d75
37acffa remote: remove static create_internal function tiennou Oct 8, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/37acffac08cd9bf7eb26dacc6ac30de74ee09d65
666c7bd tests: unwarranted NULL-ification tiennou Oct 8, 2018 https://github.com/libgit2/libgit2/pull/4667/commits/666c7bd84547b8793967820339cf265664fd9a95
Clear filters https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
remotes.c https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#diff-4fb5241a3802fb42ad78bafb8c5244721ad81a614f1eff72d17da994f483b596
create.c https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#diff-b01c5bd3f3d8eb374eab42ec890b216d2aa6797176e4d9ea1c6f8806edd55c56
Prev https://github.com/libgit2/libgit2/pull/4667/commits/798be87ee5fb8a8bd10ffac158ab6bd2fa84f2af
Next https://github.com/libgit2/libgit2/pull/4667/commits/fa69195e99256c216bfed9f5c33179e9db4ca2ab
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
https://github.com/tiennou
tiennouhttps://github.com/libgit2/libgit2/commits?author=tiennou
tests/network/remote/remotes.chttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#diff-4fb5241a3802fb42ad78bafb8c5244721ad81a614f1eff72d17da994f483b596
View file https://github.com/tiennou/libgit2/blob/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65/tests/network/remote/remotes.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/libgit2/libgit2/pull/4667/commits/{{ revealButtonHref }}
https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#diff-4fb5241a3802fb42ad78bafb8c5244721ad81a614f1eff72d17da994f483b596
https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#diff-4fb5241a3802fb42ad78bafb8c5244721ad81a614f1eff72d17da994f483b596
https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#diff-4fb5241a3802fb42ad78bafb8c5244721ad81a614f1eff72d17da994f483b596
https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#diff-4fb5241a3802fb42ad78bafb8c5244721ad81a614f1eff72d17da994f483b596
tests/remote/create.chttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#diff-b01c5bd3f3d8eb374eab42ec890b216d2aa6797176e4d9ea1c6f8806edd55c56
View file https://github.com/tiennou/libgit2/blob/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65/tests/remote/create.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/libgit2/libgit2/pull/4667/commits/{{ revealButtonHref }}
https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#diff-b01c5bd3f3d8eb374eab42ec890b216d2aa6797176e4d9ea1c6f8806edd55c56
https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#diff-b01c5bd3f3d8eb374eab42ec890b216d2aa6797176e4d9ea1c6f8806edd55c56
pks-thttps://github.com/pks-t
Jun 22, 2018https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#r197410816
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
tiennouhttps://github.com/tiennou
Jun 22, 2018https://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65#r197549970
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4667/commits/10fa2dd61c383e1d920a78cc12aa72f6e0bf7b65
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.