d16432f246
This patch set adds logic to examine the currently checked out
reference in a repository if ref=None is passed to git.git_handler.
This makes it convenient to simply reuse the revision that is
currently checked out without having to re-supply it. Note that
ref is still a required parameter so providing None will have
to be done explicitly.
Defaults for ref='master' have been changed to ref=None.
Turns out the GitPython library has logic to use the
repo's Git config's fetch refspec by default [0],
which means that by default 'master' will be checked out
for many repositories.
Also adds a ``is_repository`` function to ``git`` module to
more robustly check whether a directory is a repo.
Unit tests and doc strings are updated as well.
[0]
|
||
---|---|---|
doc | ||
images/pegleg | ||
site_yamls/site | ||
src/bin/pegleg | ||
tools | ||
.dockerignore | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
LICENSE | ||
Makefile | ||
README.md | ||
tox.ini |
README.md
Pegleg
Pegleg is document aggregator that provides early linting and validations via Deckhand for documents that can be consumed by UCP. To learn more about UCP see UCP Integration
Getting Started
To get started, see getting started