{"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-649908756", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 649908756, "node_id": "MDEyOklzc3VlQ29tbWVudDY0OTkwODc1Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-26T02:09:09Z", "updated_at": "2022-10-27T13:57:08Z", "author_association": "OWNER", "body": "I mentioned this issue here: https://simonwillison.net/2020/Jun/26/weeknotes-plugins-sqlite-generate/\r\n\r\nRepositories created by following the README in https://github.com/simonw/datasette-template and https://github.com/simonw/click-app have a `main` branch instead of `master` so I have a few examples live now. https://github.com/simonw/datasette-saved-queries is one example.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-692965391", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 692965391, "node_id": "MDEyOklzc3VlQ29tbWVudDY5Mjk2NTM5MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-15T20:37:14Z", "updated_at": "2020-09-15T20:37:14Z", "author_association": "OWNER", "body": "I've been running on `main` for a while now with no issues.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-667424128", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 667424128, "node_id": "MDEyOklzc3VlQ29tbWVudDY2NzQyNDEyOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-07-31T23:21:56Z", "updated_at": "2020-07-31T23:23:24Z", "author_association": "OWNER", "body": "I'm going to change the default branch on the GitHub repository. If something breaks I can always change it back again.\r\n\r\nDone that! Default is now `main`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-667424020", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 667424020, "node_id": "MDEyOklzc3VlQ29tbWVudDY2NzQyNDAyMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-07-31T23:21:30Z", "updated_at": "2020-07-31T23:21:30Z", "author_association": "OWNER", "body": "https://github.com/simonw/datasette/tree/main branch now exists and will automatically mirror master (and vice-versa).", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-667295759", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 667295759, "node_id": "MDEyOklzc3VlQ29tbWVudDY2NzI5NTc1OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-07-31T18:45:35Z", "updated_at": "2020-07-31T18:45:35Z", "author_association": "OWNER", "body": "Watch out for places in the documentation that might link to `master` - e.g. here:\r\n\r\nhttps://github.com/simonw/datasette/blob/2d7fa8b9058dfbf9c7c371cdeec115d32a177dc9/docs/custom_templates.rst#L247", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-646686493", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 646686493, "node_id": "MDEyOklzc3VlQ29tbWVudDY0NjY4NjQ5Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-19T15:04:51Z", "updated_at": "2020-06-19T15:04:51Z", "author_association": "OWNER", "body": "https://twitter.com/jaffathecake/status/1273983493006077952 concerns what happens to open pull requests - they will automatically close when you remove `master` unless you repoint them to `main` first.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-644584075", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 644584075, "node_id": "MDEyOklzc3VlQ29tbWVudDY0NDU4NDA3NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-16T07:24:08Z", "updated_at": "2020-06-16T07:24:08Z", "author_association": "OWNER", "body": "This guide is fantastic - I'll be following it closely: https://github.com/chancancode/branch-rename/blob/main/README.md - in particular the Action to mirror master and main for a while.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-644384787", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 644384787, "node_id": "MDEyOklzc3VlQ29tbWVudDY0NDM4NDc4Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-15T20:56:07Z", "updated_at": "2020-06-15T20:56:19Z", "author_association": "OWNER", "body": "The big question is how this impacts existing CI configuration. `datasette-psutil` is configured to use Circle CI, what happens if I push a new commit?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-644384417", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 644384417, "node_id": "MDEyOklzc3VlQ29tbWVudDY0NDM4NDQxNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-15T20:55:23Z", "updated_at": "2020-06-15T20:55:23Z", "author_association": "OWNER", "body": "I'm doing https://github.com/simonw/datasette-psutil first.\r\n\r\nIn my local checkout:\r\n```\r\ngit branch -m master main\r\ngit push -u origin main\r\n```\r\n(Thanks, https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx)\r\n\r\nThen in https://github.com/simonw/datasette-psutil/settings/branches I changed the default branch to `main`.\r\n\r\n\"Branches\"\r\n\r\nLinks to these docs: https://help.github.com/en/github/administering-a-repository/setting-the-default-branch\r\n\r\nThat worked! https://github.com/simonw/datasette-psutil\r\n\r\nOne catch, which I think will impact my most widely used repos the most (like datasette) - linking to a specific file now looks like this:\r\n\r\nhttps://github.com/simonw/datasette-psutil/blob/main/datasette_psutil/__init__.py\r\n\r\nThe old https://github.com/simonw/datasette-psutil/blob/master/datasette_psutil/__init__.py link is presumably frozen in time?\r\n\r\nI've definitely got links spread around the web to my \"most recent version of this code\" that would use the `master` reference, which would need to be updated to `main` instead. Most of those are probably in the Datasette docs and on my blog though.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-644322234", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 644322234, "node_id": "MDEyOklzc3VlQ29tbWVudDY0NDMyMjIzNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-15T19:06:16Z", "updated_at": "2020-06-15T19:06:16Z", "author_association": "OWNER", "body": "I'll make this change on a few of my other repos first to make sure I haven't missed any tricky edge-cases.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null}