René's URL Explorer Experiment


Title: Allow use of multiple extension galleries by oxy · Pull Request #2620 · coder/code-server · GitHub

Open Graph Title: Allow use of multiple extension galleries by oxy · Pull Request #2620 · coder/code-server

X Title: Allow use of multiple extension galleries by oxy · Pull Request #2620 · coder/code-server

Description: This PR should implement support for using multiple extension galleries by default. There's quite a few things that may be slightly hacky about it, since VSCode's extension gallery design is confusingly broken: galleryUrl is used for /extensionquery and uninstall statistics itemUrl is supposedly used for linking to item pages but is not essential for functionality (and our gallery doesn't support it) so I just left it out controlUrl appears to be used for reporting malicious extensions, neither OpenVSX nor our gallery supports this recommendationsUrl provides recommendations but neither OpenVSX nor our gallery supports this Awkward thing here is that galleryUrl on first glance appears to be the base URL for the whole API, and internally /extensionquery is appended to it, but then they go ahead and include separate URLs for other extension gallery functionality - which is quite confusing. So, I just changed the type of galleryUrl from string to string[] and patched the methods that read from it. It might also be possible to change the type of extensionGallery to a list of objects instead of an object with a list of galleryUrl - but given that the other variables aren't really used by either of the two galleries we plan to primarily support (ours and OpenVSX's), so I tried to minimize engineering time there. I've tested the result by installing extensions from both OpenVSX and our repo - and it works fine! Also, right now, I don't actually resort results to merge the two lists; it's just all of OpenVSX's first page, with all of Coder's (with duplicates filtered) after that.

Open Graph Description: This PR should implement support for using multiple extension galleries by default. There's quite a few things that may be slightly hacky about it, since VSCode's extension gallery design i...

X Description: This PR should implement support for using multiple extension galleries by default. There's quite a few things that may be slightly hacky about it, since VSCode's extension gallery ...

Opengraph URL: https://github.com/coder/code-server/pull/2620

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a65cf2ca-37b9-7aab-485a-49acbb945547
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE0E8:213839:358F2DB:4478798:6B01DA7F
html-safe-nonce196132bfe74f3b769e77b045e682e8c84a3a42211ab49d9910179cfaa28b110b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEU4OjIxMzgzOTozNThGMkRCOjQ0Nzg3OTg6NkIwMURBN0YiLCJ2aXNpdG9yX2lkIjoiOTE3MDc1NTI4NzY1OTk2MDk1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7981c6882f5fad6bffcdf722787df9dfc0e55ed079c8079489ae941f42c867de
hovercard-subject-tagpull_request:560092960
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/coder/code-server/pull/2620/files
twitter:imagehttps://avatars.githubusercontent.com/u/19502779?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/19502779?s=400&v=4
og:image:altThis PR should implement support for using multiple extension galleries by default. There's quite a few things that may be slightly hacky about it, since VSCode's extension gallery design i...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/coder/code-server/pull/2620/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fpull%2F2620%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fpull%2F2620%2Ffiles
Sign uphttps://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%2Ffiles&source=header-repo&source_repo=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/pull/2620/files
Reloadhttps://github.com/coder/code-server/pull/2620/files
Reloadhttps://github.com/coder/code-server/pull/2620/files
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests17 (17)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fcoder%2Fcode-server%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcoder%2Fcode-server%2Fissues%2Fnew%2Fchoose
oxyhttps://github.com/oxy
masterhttps://github.com/coder/code-server/tree/master
multiple-gallerieshttps://github.com/coder/code-server/tree/multiple-galleries
Conversation 11 https://github.com/coder/code-server/pull/2620
Commits 1 https://github.com/coder/code-server/pull/2620/commits
Checks 0 https://github.com/coder/code-server/pull/2620/checks
Files changed https://github.com/coder/code-server/pull/2620/files
Please reload this pagehttps://github.com/coder/code-server/pull/2620/files
Allow use of multiple extension galleries https://github.com/coder/code-server/pull/2620/files#top
Show all changes 1 commit https://github.com/coder/code-server/pull/2620/files
e7a8d89 Allow use of multiple extension galleries Jan 22, 2021 https://github.com/coder/code-server/pull/2620/commits/e7a8d891e5db6ce4f7a5f30d582881c9b329d072
Clear filters https://github.com/coder/code-server/pull/2620/files
Please reload this pagehttps://github.com/coder/code-server/pull/2620/files
Please reload this pagehttps://github.com/coder/code-server/pull/2620/files
extensionGalleryService.ts https://github.com/coder/code-server/pull/2620/files#diff-83ec886d513d48ade2716e55d26a6d90fbda50d3a8f489b24abe09e28faee471
productService.ts https://github.com/coder/code-server/pull/2620/files#diff-66766d357054f8c3f97b30d47809ca86a397d3416b1345e01ba0f500946fd040
ipc.d.ts https://github.com/coder/code-server/pull/2620/files#diff-ea6fbce1bd00e5f59cb2f95ee555b6af42f358b6fec80c5095708ccd60b0c43c
marketplace.ts https://github.com/coder/code-server/pull/2620/files#diff-13363397361503630e5f5811a12c2fb9f22970bfd3c5678b60c77e944e4e8647
lib/vscode/src/vs/platform/extensionManagement/common/extensionGalleryService.tshttps://github.com/coder/code-server/pull/2620/files#diff-83ec886d513d48ade2716e55d26a6d90fbda50d3a8f489b24abe09e28faee471
View file https://github.com/coder/code-server/blob/e7a8d891e5db6ce4f7a5f30d582881c9b329d072/lib/vscode/src/vs/platform/extensionManagement/common/extensionGalleryService.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/2620/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/2620/files#diff-83ec886d513d48ade2716e55d26a6d90fbda50d3a8f489b24abe09e28faee471
https://github.com/coder/code-server/pull/2620/files#diff-83ec886d513d48ade2716e55d26a6d90fbda50d3a8f489b24abe09e28faee471
jsjoeiohttps://github.com/jsjoeio
Jan 22, 2021https://github.com/coder/code-server/pull/2620/files#r562804897
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean
Please reload this pagehttps://github.com/coder/code-server/pull/2620/files
oxyhttps://github.com/oxy
Jan 22, 2021https://github.com/coder/code-server/pull/2620/files#r562826059
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/code-server/pull/2620/files
jsjoeiohttps://github.com/jsjoeio
Jan 22, 2021https://github.com/coder/code-server/pull/2620/files#r562908513
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/code-server/pull/2620/files
https://github.com/coder/code-server/pull/2620/files#diff-83ec886d513d48ade2716e55d26a6d90fbda50d3a8f489b24abe09e28faee471
https://github.com/coder/code-server/pull/2620/files#diff-83ec886d513d48ade2716e55d26a6d90fbda50d3a8f489b24abe09e28faee471
jsjoeiohttps://github.com/jsjoeio
Jan 22, 2021https://github.com/coder/code-server/pull/2620/files#r562806121
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/code-server/pull/2620/files
oxyhttps://github.com/oxy
Jan 22, 2021https://github.com/coder/code-server/pull/2620/files#r562826209
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/code-server/pull/2620/files
jsjoeiohttps://github.com/jsjoeio
Jan 22, 2021https://github.com/coder/code-server/pull/2620/files#r562806331
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/code-server/pull/2620/files
oxyhttps://github.com/oxy
Jan 22, 2021https://github.com/coder/code-server/pull/2620/files#r562825279
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/code-server/pull/2620/files
https://github.com/coder/code-server/pull/2620/files#diff-83ec886d513d48ade2716e55d26a6d90fbda50d3a8f489b24abe09e28faee471
lib/vscode/src/vs/platform/product/common/productService.tshttps://github.com/coder/code-server/pull/2620/files#diff-66766d357054f8c3f97b30d47809ca86a397d3416b1345e01ba0f500946fd040
View file https://github.com/coder/code-server/blob/e7a8d891e5db6ce4f7a5f30d582881c9b329d072/lib/vscode/src/vs/platform/product/common/productService.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/2620/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/2620/files#diff-66766d357054f8c3f97b30d47809ca86a397d3416b1345e01ba0f500946fd040
https://github.com/coder/code-server/pull/2620/files#diff-66766d357054f8c3f97b30d47809ca86a397d3416b1345e01ba0f500946fd040
lib/vscode/src/vs/server/ipc.d.tshttps://github.com/coder/code-server/pull/2620/files#diff-ea6fbce1bd00e5f59cb2f95ee555b6af42f358b6fec80c5095708ccd60b0c43c
View file https://github.com/coder/code-server/blob/e7a8d891e5db6ce4f7a5f30d582881c9b329d072/lib/vscode/src/vs/server/ipc.d.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/2620/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/2620/files#diff-ea6fbce1bd00e5f59cb2f95ee555b6af42f358b6fec80c5095708ccd60b0c43c
https://github.com/coder/code-server/pull/2620/files#diff-ea6fbce1bd00e5f59cb2f95ee555b6af42f358b6fec80c5095708ccd60b0c43c
lib/vscode/src/vs/server/node/marketplace.tshttps://github.com/coder/code-server/pull/2620/files#diff-13363397361503630e5f5811a12c2fb9f22970bfd3c5678b60c77e944e4e8647
View file https://github.com/coder/code-server/blob/e7a8d891e5db6ce4f7a5f30d582881c9b329d072/lib/vscode/src/vs/server/node/marketplace.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/2620/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/2620/files#diff-13363397361503630e5f5811a12c2fb9f22970bfd3c5678b60c77e944e4e8647
https://github.com/coder/code-server/pull/2620/files#diff-13363397361503630e5f5811a12c2fb9f22970bfd3c5678b60c77e944e4e8647
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.