{"id":15008229,"url":"https://github.com/python/bedevere","last_synced_at":"2025-04-08T03:18:21.945Z","repository":{"id":37707319,"uuid":"87574304","full_name":"python/bedevere","owner":"python","description":"A bot to help identify missing information for CPython pull requests","archived":false,"fork":false,"pushed_at":"2024-10-01T09:14:46.000Z","size":480,"stargazers_count":117,"open_issues_count":15,"forks_count":58,"subscribers_count":54,"default_branch":"main","last_synced_at":"2024-10-29T16:06:54.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/python.png","metadata":{"funding":{"custom":"https://www.python.org/psf/donations/python-dev/","github":["python"]},"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-07T18:15:00.000Z","updated_at":"2024-10-23T20:37:38.000Z","dependencies_parsed_at":"2023-02-05T21:47:15.774Z","dependency_job_id":"6436eb57-d57a-42ef-9e88-10f47e52df1d","html_url":"https://github.com/python/bedevere","commit_stats":{"total_commits":476,"total_committers":38,"mean_commits":"12.526315789473685","dds":0.7016806722689075,"last_synced_commit":"052a36e7875f28422b76d66a85b66c2330c94174"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python%2Fbedevere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python%2Fbedevere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python%2Fbedevere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python%2Fbedevere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python","download_url":"https://codeload.github.com/python/bedevere/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247685633,"owners_count":20979085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T19:15:39.151Z","updated_at":"2025-04-08T03:18:21.928Z","avatar_url":"https://github.com/python.png","language":"Python","funding_links":["https://www.python.org/psf/donations/python-dev/","https://github.com/sponsors/python"],"categories":[],"sub_categories":[],"readme":"# bedevere\n\n[![Build Status](https://github.com/python/bedevere/actions/workflows/ci.yml/badge.svg?event=push)](https://github.com/python/bedevere/actions)\n[![codecov](https://codecov.io/gh/python/bedevere/branch/main/graph/badge.svg)](https://codecov.io/gh/python/bedevere)\n\nThis bot is meant to help identify issues with a CPython pull request.\n\n## What the bot does:\n- ### Identifies missing GitHub issue numbers in the title\nIf no GitHub issue number is found the status fails and the\n\"Details\" link points to the relevant\n[section of the devguide](https://devguide.python.org/getting-started/pull-request-lifecycle.html#submitting).\n- ### Links to GitHub issues\nIf an issue number is found then the \"Details\" link points to the relevant issue\nitself, making it easier to navigate from PR to issue.\n- ### Identifies missing news entry\nIf no `Misc/NEWS.d` entry is found or the news entry is formatted incorrectly\nand the issue doesn't have the `skip news` label, the status fails and a relevant\ndescription label is added to it.\n- ### Closes invalid PRs\nCloses PRs that try to merge a maintenance branch into the main branch, adds\n`invalid` label, and posts a relevant message.\n- ### Labels PRs for docs\nLabels PRs for documentation as `type-documentation`\n- ### Copies main labels to backport\nCopies labels from main PRs to backport PRs\n\n## PR State Machine\n\nThis diagram represent the state machine for pull requests, and the labels\napplied by Bedevere.\n\nThe colors represent who can make a state change or who is currently\nblocking the PR from moving forward:\n* Yellow: the PR creator\n* Green: core developers\n* Blue: anyone\n\n\u003c!--\n  Changes to the labels in this flowchart should be reflected\n  in the devguide: https://devguide.python.org/triage/labels/\n--\u003e\n\n```mermaid\nflowchart TD\n    A([Published PR]):::creator\n    A_draft([New Draft PR]):::creator\n    A_draft -- publish draft by contributor --\u003e A:::creator\n    A -- by contributor --\u003e B[Awaiting review]:::anyone\n    A -- by core dev --\u003e C[Awaiting core review]:::coredev\n    B \u0026 C -- new review by\\nanother contributor --\u003e C\n    C \u0026 B \u0026 E  -- new core review\\nrequests changes --\u003e D[Awaiting changes]:::creator\n    D -- changes by contributor --\u003e E[Awaiting change review]:::coredev\n    C \u0026 E \u0026 B -- new core review\\napproves ---\u003e F[Awaiting merge]:::coredev\n    G[When a review is dismissed\\nthe highest remaining state is restored\\nbased on the remaining reviews]\nclassDef creator stroke:#CC0;\nclassDef anyone stroke:#00C;\nclassDef coredev stroke:#0C0;\nclassDef triager stroke:#C0C;\nlinkStyle 0,1,7 stroke:#CC0,color:auto;\nlinkStyle 2,3 stroke:#00C,color:auto;\nlinkStyle 4,5,6,8,9,10 stroke:#0C0,color:auto;\n```\n\n## *Aside*: where does the name come from?\nSince this bot is about identifying pull requests that need changes,\nit seemed fitting to name it after Sir Bedevere who knew\n[how to identify a witch](https://youtu.be/yp_l5ntikaU).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython%2Fbedevere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython%2Fbedevere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython%2Fbedevere/lists"}