{"id":16475969,"url":"https://github.com/softprops/git-codeowners","last_synced_at":"2025-03-21T06:32:19.495Z","repository":{"id":62439477,"uuid":"98150695","full_name":"softprops/git-codeowners","owner":"softprops","description":"a git extension to work with CODEOWNERS files","archived":false,"fork":false,"pushed_at":"2020-02-10T22:06:47.000Z","size":556,"stargazers_count":20,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T11:59:55.000Z","etag":null,"topics":["codeowners","git","github","owners"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softprops.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2017-07-24T05:03:39.000Z","updated_at":"2025-02-03T21:44:37.000Z","dependencies_parsed_at":"2022-11-01T22:15:57.080Z","dependency_job_id":null,"html_url":"https://github.com/softprops/git-codeowners","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softprops%2Fgit-codeowners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softprops%2Fgit-codeowners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softprops%2Fgit-codeowners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softprops%2Fgit-codeowners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softprops","download_url":"https://codeload.github.com/softprops/git-codeowners/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244751720,"owners_count":20504246,"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":["codeowners","git","github","owners"],"created_at":"2024-10-11T12:41:05.785Z","updated_at":"2025-03-21T06:32:19.076Z","avatar_url":"https://github.com/softprops.png","language":"Rust","readme":"# git-codeowners [![Build Status](https://travis-ci.org/softprops/git-codeowners.svg?branch=master)](https://travis-ci.org/softprops/git-codeowners) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE) [![Crates.io](https://img.shields.io/crates/v/git-codeowners.svg)](https://crates.io/crates/git-codeowners)\n\n\u003e a git extention for Github [CODEOWNERS files](https://help.github.com/articles/about-codeowners/)\n\nGithub `CODEOWNERS` files document ownership over paths within git repositories allowing\nyou to more effectively focus communication with the right people.\n\n## install\n\n### Homebrew\n\nFor osx users, you can use `brew` to install or update `git-codeowners`\n\n```bash\n$ brew install softprops/tools/git-codeowners\n```\n\nTo upgrade, just use `brew upgrade` instead\n\n### GH releases\n\nYou can download releases for osx and linux directly from github releases\n\n```bash\n$ cd $HOME/bin\n$ curl -L \"https://github.com/softprops/git-codeowners/releases/download/v0.1.2/git-codeowners-$(uname -s)-$(uname -m).tar.gz\" \\\n  | tar -xz\n```\n\n### Cargo\n\nIf you are a rust user can can just use `cargo`\n\n```bash\n$ cargo install git-codeowners\n```\n\n## usage\n\ngit-codeowners is intended for use as a git extention ( a program whose name starts with git- ) to extend your git workflow.\n\n```bash\n$ git codeowners file src/main.rs\n@softprops\n```\n\n```bash\n$ git codeowners log origin/master..\n05a4fc chore: do the hokey cokey\n * \"Cargo.lock\" @ops\n * \"Cargo.toml\" @ops\n\ne5fe46 feat: Discover current repository\n * \"Cargo.lock\" @ops\n * \"Cargo.toml\" @ops\n * \"src/main.rs\" @softprops\n\nSummary:\n * @softprops: 1 file in 1 commit, including: \"src/main.rs\" in e5fe46 feat: Discover current repository\n * @ops: 4 files in 2 commits, including: \"src/main.rs\" in 05a4fc chore: do the hokey cokey\n```\n\n```bash\n$ git-codeowners --help\ngit-codeowners 0.1.2\nGithub CODEOWNERS answer sheet\n\nUSAGE:\n    git-codeowners [FLAGS] [OPTIONS] \u003cSUBCOMMAND\u003e\n\nFLAGS:\n    -e, --emails     Only return emails\n    -h, --help       Prints help information\n    -t, --teams      Only return teams\n    -u, --users      Only return users\n    -V, --version    Prints version information\n\nOPTIONS:\n    -c, --codeowners \u003ccodeowners\u003e    An explicit path for a CODEOWNERS file. program will exit 1 if file can not be\n                                     resolved\n\nSUBCOMMANDS:\n    help    Prints this message or the help of the given subcommand(s)\n    log     annotate log information\n    path    Finds information about a specific path or set of paths\n```\n\nDoug Tangren (softprops) 2017\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftprops%2Fgit-codeowners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftprops%2Fgit-codeowners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftprops%2Fgit-codeowners/lists"}