{"id":15560860,"url":"https://github.com/fmenezes/codeowners","last_synced_at":"2025-10-18T10:47:06.522Z","repository":{"id":57534155,"uuid":"280480218","full_name":"fmenezes/codeowners","owner":"fmenezes","description":"CodeOwners decoder provides funcionality to evaluate CODEOWNERS file in Go.","archived":false,"fork":false,"pushed_at":"2020-09-02T11:08:30.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T14:11:44.529Z","etag":null,"topics":["codeowners","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/fmenezes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"codeowners.go","security":null,"support":null},"funding":{"github":"fmenezes"}},"created_at":"2020-07-17T17:00:39.000Z","updated_at":"2020-09-02T11:08:32.000Z","dependencies_parsed_at":"2022-09-26T18:21:26.998Z","dependency_job_id":null,"html_url":"https://github.com/fmenezes/codeowners","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmenezes%2Fcodeowners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmenezes%2Fcodeowners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmenezes%2Fcodeowners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmenezes%2Fcodeowners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fmenezes","download_url":"https://codeload.github.com/fmenezes/codeowners/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246135773,"owners_count":20729058,"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","go","golang"],"created_at":"2024-10-02T16:03:24.245Z","updated_at":"2025-10-18T10:47:01.489Z","avatar_url":"https://github.com/fmenezes.png","language":"Go","funding_links":["https://github.com/sponsors/fmenezes"],"categories":[],"sub_categories":[],"readme":"[![Go](https://github.com/fmenezes/codeowners/workflows/Go/badge.svg)](https://github.com/fmenezes/codeowners/actions?query=branch%3Amaster)\n[![Go Report Card](https://goreportcard.com/badge/github.com/fmenezes/codeowners)](https://goreportcard.com/report/github.com/fmenezes/codeowners)\n[![Coverage](https://coveralls.io/repos/github/fmenezes/codeowners/badge.svg?branch=master)](https://coveralls.io/github/fmenezes/codeowners?branch=master)\n[![Godoc](https://godoc.org/github.com/fmenezes/codeowners?status.svg)](https://godoc.org/github.com/fmenezes/codeowners)\n\n# CODEOWNERS\n\nCodeOwners package provides funcionality to evaluate CODEOWNERS file in Go. Also provides a CLI to lint.\n\n## Documentation\n\n### Package\n\nTo find package documentation follow https://godoc.org/github.com/fmenezes/codeowners\n\n### CLI\n\n#### Installation\n\nSimply run `go get -u github.com/fmenezes/codeowners/cmd/codeownerslint`\n\n#### Usage\n\nSimply calling `codeownerslint` will kick off the cli on the current directory.\n\n##### Options\n\n| Option        | Default Value | Description                                                                    |\n| ------------- | ------------- | ------------------------------------------------------------------------------ |\n| d             | .             | Directory: specifies the directory you want to use to lint the CODEOWNERS file |\n| f             |               | Format: specifies the format you want to return lint results                   |\n| t             |               | Token: specifies the Github's token you want to use                            |\n| tt            | bearer        | Token Type: specifies the Github's token type you want to use                  |\n\t\n##### Exit Codes\n\n| Exit Code     | Description                                                      |\n| ------------- | ---------------------------------------------------------------- |\n| 0             | Success: no errors returned                                      |\n| 1             | Warnings: linter returned a few warnings but no errors           |\n| 2             | Errors: linter returned a few errors                             |\n| 3             | Unexpected errors: errors that prevented the linter from running |\n\n## Compatibility\n\n:warning: This module is on a v0 mode and it is not ready to be used, once it reaches the v1 we will lock the API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmenezes%2Fcodeowners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffmenezes%2Fcodeowners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmenezes%2Fcodeowners/lists"}