{"id":41269,"date":"2023-11-29T16:25:53","date_gmt":"2023-11-29T21:25:53","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=41269"},"modified":"2023-11-29T22:27:44","modified_gmt":"2023-11-30T03:27:44","slug":"github-code-search-now-requires-logging-in","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/11\/29\/github-code-search-now-requires-logging-in\/","title":{"rendered":"GitHub Code Search Now Requires Logging In"},"content":{"rendered":"<p><a href=\"https:\/\/github.com\/orgs\/community\/discussions\/77046\">koepnick<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=38432261\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/github.com\/orgs\/community\/discussions\/77046\"><p>This is revolting and an anathema to the open source movement. A movement, I might add, Microsoft is abusing here.<\/p><p>We&rsquo;re told that this is for security&#8230; But what <em>possible<\/em> point is there when I can simply clone the repository and use more dedicated tools for proper searching and analysis?<\/p><p>So what possible reason is there?! Do you NOT have enough of our data? Is it not enough to monetize every bowel movement, you now feel the need to track which individual lines of code I&rsquo;m browsing?<\/p><p>I was on an older machine and needed to search for something in OUR OWN REPOSITORY and couldn&rsquo;t. I actually want people to be able to search our codebase.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/github.com\/orgs\/community\/discussions\/77046#discussioncomment-7681591\">martinwoodward<\/a>:<\/p>\n<blockquote cite=\"https:\/\/github.com\/orgs\/community\/discussions\/77046#discussioncomment-7681591\"><p>While searching across all repos has required being logged in for a long time, when we enhanced the search capabilities earlier in the 2023 we had to <a href=\"https:\/\/github.blog\/changelog\/2023-06-07-code-search-now-requires-login\/\">extend this to repos as well<\/a> [<a href=\"https:\/\/news.ycombinator.com\/item?id=36230929\">Hacker News<\/a>].<\/p>\n<p>This is primarily to ensure we can support the load for developers on GitHub and help protect the servers from being overwhelmed by anonymous requests from bots etc.<\/p><\/blockquote>\n\n<p>See also: <a href=\"https:\/\/github.blog\/2023-02-06-the-technology-behind-githubs-new-code-search\/\">The technology behind GitHub&rsquo;s new code search<\/a>.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/07\/03\/twitter-now-requires-logging-in\/\">Twitter Now Requires Logging In<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/06\/09\/whither-stack-overflow-archives\/\">Whither Stack Overflow Archives?<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/04\/26\/cheating-is-all-you-need\/\">Cheating Is All You Need<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/12\/17\/pruning-githubs-code-search-index\/\">Pruning GitHub&rsquo;s Code Search Index<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>koepnick (via Hacker News): This is revolting and an anathema to the open source movement. A movement, I might add, Microsoft is abusing here.We&rsquo;re told that this is for security&#8230; But what possible point is there when I can simply clone the repository and use more dedicated tools for proper searching and analysis?So what possible [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-11-29T21:25:57Z","apple_news_api_id":"1532a15b-406e-4ae1-9b00-eea0ce6ce150","apple_news_api_modified_at":"2023-11-30T03:27:47Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/AFTKhW0BuSuGbAO6gzmzhUA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[524,991,355,71,343,96],"class_list":["post-41269","post","type-post","status-publish","format-standard","hentry","category-technology","tag-github","tag-open-source-software","tag-privacy","tag-programming","tag-search","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=41269"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41269\/revisions"}],"predecessor-version":[{"id":41271,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41269\/revisions\/41271"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=41269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=41269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=41269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}