GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - andreoliwa/python-cdown: CLI interface and Python package to parse and validate CODEOWNERS files used by GitHub and GitLab (not tested with BitBucket yet)

BranchesTags
Open more actions menu

Latest commit

 

History

283 Commits
283 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
ci
ci
 
 
docs
docs
 
 
src/cdown
src/cdown
 
 
tests
tests
 
 
.cookiecutterrc
.cookiecutterrc
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.mergify.yml
.mergify.yml
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.readthedocs.yml
.readthedocs.yml
 
 
AUTHORS.rst
AUTHORS.rst
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CHANGELOG.rst
CHANGELOG.rst
 
 
CONTRIBUTING.rst
CONTRIBUTING.rst
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.rst
README.rst
 
 
poetry.lock
poetry.lock
 
 
pyproject.toml
pyproject.toml
 
 
setup.cfg
setup.cfg
 
 
tox.ini
tox.ini
 
 

Repository files navigation

Overview

docs Documentation Status
tests

Coverage Status
package
PyPI Package latest release PyPI Wheel Supported versions Supported implementations
Commits since latest release

(this project is a work in progress, still in alpha state)

CLI interface and Python package to parse and validate CODEOWNERS files used by GitHub and GitLab (not tested with BitBucket yet).

Each CLI command tries to follow Unix's philosophy of "Do one thing and do it well".

The commands mimic the interface of well-known tools like grep, ls, git ls-files. The very name of the project is a reference to chown.

  • Free software: MIT license

Installation

pip install cdown

You can also install the in-development version with:

pip install https://github.com/andreoliwa/python-cdown/archive/master.zip

Documentation

https://python-cdown.readthedocs.io/

Motivation

Why build yet another project instead of contributing to an existing one? There are other code owners tools, but none of them had all the features I'd like to use.

Below are alternatives to cdown with some of their features.

To the creators of these tools: thanks for the inspiration!

Repository Language Features
beaugunderson/codeowners JavaScript
  • Print files and its owners
  • List unowned files
  • Verify users/teams own a specific path
mszostok/codeowners-validator Go
  • Validator
  • GitHub action
  • Runs on Docker
toptal/codeowners-checker Ruby
  • List all the changes grouped by an owner
  • Filter changes by owner
hmarr/codeowners Go
  • Homebrew
  • Filter results by owner
  • Limit the files the tool looks at
hairyhenderson/go-codeowners Go
  • Go package without a CLI interface
timoschinkel/codeowners PHP
  • PHP package without a CLI interface

Development

To run all the tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows
set PYTEST_ADDOPTS=--cov-append
tox
Other
PYTEST_ADDOPTS=--cov-append tox

About

CLI interface and Python package to parse and validate CODEOWNERS files used by GitHub and GitLab (not tested with BitBucket yet)

Topics

clicodeownercodeownerscodeowners-filescodeowners-validatorpythonpython3

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

5 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.