{"id":35638,"date":"2022-04-20T14:01:49","date_gmt":"2022-04-20T18:01:49","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=35638"},"modified":"2022-04-20T14:01:49","modified_gmt":"2022-04-20T18:01:49","slug":"how-we-lost-54k-github-stars","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2022\/04\/20\/how-we-lost-54k-github-stars\/","title":{"rendered":"How We Lost 54k GitHub Stars"},"content":{"rendered":"<p><a href=\"https:\/\/httpie.io\/blog\/stardust\">Jakub Rozto&#x10D;il<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=31033758\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/httpie.io\/blog\/stardust\"><p>Due to an unfortunate sequence of events, I accidentally made the project&rsquo;s repository private for a moment. And GitHub cascade-deleted our community that took 10 years to build.<\/p><p>[&#8230;]<\/p><p>It&rsquo;s a peculiarity of GitHub, to put it mildly, that making a repo private permanently deletes all watchers and stars. I was even aware of this, and I obviously had no intention to make <code>httpie\/httpie<\/code> private. So, why then?<\/p><p>The proximate cause was that I thought I was inside a different repo; one with no content and zero stars.<\/p><p>[&#8230;]<\/p><p>The problem is that the [confirmation] box looks exactly the same for repos with no commits and stars and for repos with a decade-long history and 55k stargazers and watchers.<\/p><p>[&#8230;]<\/p><p>The GitHub team themselves accidentally made the <a href=\"https:\/\/github.com\/desktop\/desktop\">GitHub Desktop app repo<\/a> private once. And they restored everything for themselves within hours.<\/p><\/blockquote>\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/04\/20\/github-deleting-contributions-from-russian-developers\/\">GitHub Deleting Contributions From Russian Developers<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/04\/14\/the-longest-atlassian-outage-of-all-time\/\">The Longest Atlassian Outage of All Time<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Jakub Rozto&#x10D;il (via Hacker News): Due to an unfortunate sequence of events, I accidentally made the project&rsquo;s repository private for a moment. And GitHub cascade-deleted our community that took 10 years to build.[&#8230;]It&rsquo;s a peculiarity of GitHub, to put it mildly, that making a repo private permanently deletes all watchers and stars. I was even [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2022-04-20T18:01:51Z","apple_news_api_id":"1d3c0f40-e8ec-472b-ad2d-798e4de3bd7b","apple_news_api_modified_at":"2022-04-20T18:01:51Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AHTwPQOjsRyutLXmOTeO9ew","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":[1016,77,524,96],"class_list":["post-35638","post","type-post","status-publish","format-standard","hentry","category-technology","tag-datacide","tag-design","tag-github","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/35638","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=35638"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/35638\/revisions"}],"predecessor-version":[{"id":35639,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/35638\/revisions\/35639"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=35638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=35638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=35638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}