A configuration organization tool.
Go to file
Felipe Monteiro d16432f246 git: Use currently checked out ref when none supplied
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] a8591a094a/git/remote.py (L779)

Change-Id: Ib1736eb20a51996cf03fa7f6187f078b39595267
2018-08-09 22:03:35 +01:00
doc Refresh docs for Airship 2018-08-06 09:04:58 -05:00
images/pegleg Update Dockerfile to allow override of FROM variable 2018-07-17 14:37:08 -05:00
site_yamls/site Check that Pegleg only considers YAML 2018-04-10 08:25:36 -05:00
src/bin/pegleg git: Use currently checked out ref when none supplied 2018-08-09 22:03:35 +01:00
tools Update Dockerfile to allow override of FROM variable 2018-07-17 14:37:08 -05:00
.dockerignore Update to UCP layout standard 2018-03-05 07:42:00 -06:00
.gitignore Allow linting policies to be selectable 2018-03-13 08:57:00 -05:00
.gitreview Update .gitreview for openstack infra 2018-05-17 19:52:49 +01:00
.zuul.yaml (zuul) Docker image jobs 2018-06-08 08:54:34 -05:00
LICENSE Initial commit 2018-01-26 15:47:15 -06:00
Makefile Update Dockerfile to allow override of FROM variable 2018-07-17 14:37:08 -05:00
README.md Pegleg documentation updates 2018-03-21 13:31:35 -05:00
tox.ini Add git and branch revision support to pegleg 2018-07-20 01:14:13 +01:00

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