pegleg/doc/source
Felipe Monteiro 2e51779d57 refactor: Exchange NotADirectoryError for better exception
This patch set replaces raising NotADirectoryError after trying
to parse a repository for its root path (normalize_repo_path in
pegleg.engine.util.git) with a better exception
(exceptions.GitInvalidRepoException). It is better because a
folder can still not be a repo, so raising the first exception
isn't apropos.

Next, this patch set changes where the exception is raised --
which is in normalize_repo_path itself, which is more appropriate
as the function is used in many places and so there should be
intrinsic error handling so as to avoid having to wrap it every
time.

Change-Id: I918d8c293f1140eb80c83499dba2c23af232b79e
2018-10-26 10:37:17 -04:00
..
cli Merge "docs: Rename downstream-specific terms to generic ones" 2018-10-25 05:24:19 +00:00
diagrams docs: Add developer overview guide 2018-09-13 18:28:58 -06:00
images Implement global lint and lint by site logic 2018-10-02 21:41:56 +01:00
artifacts.rst docs: Rename downstream-specific terms to generic ones 2018-10-19 01:38:38 -04:00
authoring_strategy.rst Refresh docs for Airship 2018-08-06 09:04:58 -05:00
conf.py Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
developer-overview.rst Merge "docs: Include venv workflow guide under "Developer Workflow"" 2018-10-02 17:32:32 +00:00
exceptions.rst refactor: Exchange NotADirectoryError for better exception 2018-10-26 10:37:17 -04:00
getting_started.rst docs: Update getting started documentation 2018-09-14 11:14:36 -06:00
index.rst Implement global lint and lint by site logic 2018-10-02 21:41:56 +01:00