{"id":21539291,"url":"https://github.com/nextdoor/barrelman","last_synced_at":"2025-09-04T12:39:40.925Z","repository":{"id":146805523,"uuid":"143933104","full_name":"Nextdoor/barrelman","owner":"Nextdoor","description":"Watch the things that matter to you on Github.","archived":false,"fork":false,"pushed_at":"2018-08-10T23:24:54.000Z","size":138,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-03-17T21:45:21.352Z","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/Nextdoor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2018-08-07T22:29:25.000Z","updated_at":"2018-08-16T04:15:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"26bf2fb4-56de-4f64-8c7a-1564f26a0f8c","html_url":"https://github.com/Nextdoor/barrelman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nextdoor/barrelman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nextdoor%2Fbarrelman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nextdoor%2Fbarrelman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nextdoor%2Fbarrelman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nextdoor%2Fbarrelman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nextdoor","download_url":"https://codeload.github.com/Nextdoor/barrelman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nextdoor%2Fbarrelman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273611371,"owners_count":25136971,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-24T04:14:40.109Z","updated_at":"2025-09-04T12:39:40.872Z","avatar_url":"https://github.com/Nextdoor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Barrelman\n\n**Watch the things that matter to you on Github.**\n\n![barrelman](barrelman.png)\n\n*The Barrelman is stationed in the crow's nest of an oceangoing vessel as a navigational aid. In early ships, the nest was simply a barrel lashed to the tallest mast.*  \n  \n Create rules for your repo in barrelman.yml and spy on your coworker's PRs. If a rule is triggered, you'll be added as a reviewer, a comment will be made, and Pierre will ping you.  \n\n![comment](comment.png)\n\nReview other's PRs and watch for things like:\n * Importing \"that library\"\n * Calling deprecated function\n * Using a bad word and not changing it in placeholder label\n \n  \n## Writing Rules \nBarrelman runs Python's regex engine on your rules. A rule consists of a pattern and a list of github usernames or teamnames.  \nPut rules in a file named **barrelman.yml** in the master branch of the repo. Rules will be checked against newly added changes from the diff of the PR.\n\n\n ````\n'hello world':\n    - dylan\n    - mary\n    - team/infra\n ````\n\n\u003cbr/\u003e\n\nBarrelman supports **regex**. Here are some examples. Check here for Python's regex syntax and remember to escape special characters.  \nhttps://docs.python.org/2/library/re.html#regular-expression-syntax\n````\n# Rule for urls\n'https?://(?:[-\\w.]|(?:%[\\da-fA-F]{2}))+':\n    - wonderwoman\n    \n# Rule to match \"todo\" at beginning and end of word, case insensitive. For ex, \"TODOIST\" will not match \n'\\b(?i)TODO\\b'\n    - tchalla\n    \n# Rule with newlines\n'line1\\nline2':\n    - tonystark\n```` \n\n\nBarrelman supports **github teams**. Specify a team by using \"team/\" in front of the team name.\n````\n'tooling':\n    - drake\n    - kanye\n    - team/devtools\n````\n\u003cbr/\u003e\n\nBarrelman will detect if the barrelman.yml file is corrupted on master or if a PR that changes it mucks it up.\n\nIf you receive a comment on a PR stating that something is wrong with the file, carefully check the format of the barrelman.yml file of the specified branch.\n\n**Common mistakes:** tabs instead of 4 spaces, no space after dash, missing colon after rule.\nIf your regex pattern is not getting recognized, try removing the surrounding quotes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextdoor%2Fbarrelman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextdoor%2Fbarrelman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextdoor%2Fbarrelman/lists"}