{"id":41799293,"url":"https://github.com/egen/gitlab-codeowners-linter","last_synced_at":"2026-01-25T05:35:15.154Z","repository":{"id":59397098,"uuid":"534644609","full_name":"egen/gitlab-codeowners-linter","owner":"egen","description":"gitlab-codeowners-linter is a linter for Gitlab's CODEOWNERS file","archived":false,"fork":false,"pushed_at":"2025-07-14T15:43:54.000Z","size":71,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-14T19:57:39.211Z","etag":null,"topics":["codeowners","codeowners-validator","gitlab","gitlab-ci","linter","linting"],"latest_commit_sha":null,"homepage":"","language":"Python","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/egen.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,"zenodo":null}},"created_at":"2022-09-09T13:01:39.000Z","updated_at":"2025-07-14T15:43:57.000Z","dependencies_parsed_at":"2025-07-14T19:57:44.399Z","dependency_job_id":null,"html_url":"https://github.com/egen/gitlab-codeowners-linter","commit_stats":null,"previous_names":["egen/gitlab-codeowners-linter"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/egen/gitlab-codeowners-linter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egen%2Fgitlab-codeowners-linter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egen%2Fgitlab-codeowners-linter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egen%2Fgitlab-codeowners-linter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egen%2Fgitlab-codeowners-linter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egen","download_url":"https://codeload.github.com/egen/gitlab-codeowners-linter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egen%2Fgitlab-codeowners-linter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28744429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T05:12:38.112Z","status":"ssl_error","status_checked_at":"2026-01-25T05:04:50.338Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["codeowners","codeowners-validator","gitlab","gitlab-ci","linter","linting"],"created_at":"2026-01-25T05:35:15.098Z","updated_at":"2026-01-25T05:35:15.148Z","avatar_url":"https://github.com/egen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitlab-codeowners-linter\nKeep your [Gitlab's CODEOWNERS file](https://docs.gitlab.com/ee/user/project/code_owners.html) up to date with this linter.\n\n## Features\ngitlab-codeowners-linter makes sure that the CODEOWNERS file is formatted respecting the following rules:\n  - every section must be sorted alphabetically\n  - within a section, paths must be ordered alphabetically\n  - paths in a section must be unique\n  - there must be no empty lines between paths\n  - paths must exist\n  - there must not be duplicated sections\n  - there must not be trailing whitespace\n\nThe linter can run in check or autofix mode.\n\n## Usage\nInstall the library with\n```bash\ngit clone git@github.com:Qarik-Group/gitlab-codeowners-linter.git\ncd gitlab-codeowners-linter\npip install .\n```\n\nYou need to pass the path to the CODEOWNERS file to the linter. It can be done via positional argument or with the `--codeowners_file` with the path to the CODEOWNERS file.\nThe linter by default will run in autofix mode. If you just want to check your file without modifying it use `--no_autofix`.\n\n### Usage with pre-commit\n\nYou can use this linter with `pre-commit` by adding the following hook in your `.pre-commit-config.yaml` file.\n\n```yaml\nrepos:\n- repo:  https://github.com/Qarik-Group/gitlab-codeowners-linter\n  rev: v1.0.3\n  hooks:\n  - id:  gitlab-codeowners-linter\n    args: ['--codeowners_file=path/to/your/CODEOWNERS/file']\n```\nNote: with `pre-commit` the usage of `--codeowners_file` is optional, it only speeds up the linter","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegen%2Fgitlab-codeowners-linter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegen%2Fgitlab-codeowners-linter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegen%2Fgitlab-codeowners-linter/lists"}