Go to file
David Pursehouse b148ac9d9a Allow command options to be set from environment variables
Extend the Command base class to allow options to be set from values
in environment variables, if the user has not given the option on the
command line and the environment variable is set.

Derived classes of Command can override the implementation of the method
_GetEnvironmentOptions to configure which of its options may be set from
environment variables.

Change-Id: I7c780bcf9644d6567893d9930984c054bce7351e
2012-11-17 12:40:42 +09:00
docs Minor documentation formatting and grammatical fixes 2012-11-14 08:54:43 +09:00
hooks Update commit-msg hook to version from Gerrit v2.5-rc0 2012-10-04 10:31:09 +02:00
subcmds Add option to abort on error in forall 2012-11-16 04:22:10 +09:00
tests Fix inconsistent indentation 2012-11-14 11:38:57 +09:00
.gitignore .gitignore: add an entry for repopickles 2009-06-28 15:08:56 -07:00
.project Add PyDev project files to repo 2009-06-02 00:09:07 +02:00
.pydevproject Change PyDev project version to "python 2.6" 2012-10-23 21:35:46 -07:00
.pylintrc Tidy up code formatting a bit more 2012-11-14 12:09:38 +09:00
color.py Fix inconsistent indentation 2012-11-14 11:38:57 +09:00
command.py Allow command options to be set from environment variables 2012-11-17 12:40:42 +09:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
error.py Raise a NoManifestException when the manifest DNE 2012-11-15 18:50:11 -08:00
git_command.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
git_config.py Tidy up code formatting a bit more 2012-11-14 12:09:38 +09:00
git_refs.py Even more coding style cleanup 2012-10-30 10:28:20 +09:00
git_ssh Don't allow git fetch to start ControlMaster 2010-10-29 08:15:14 -07:00
main.py Allow command options to be set from environment variables 2012-11-17 12:40:42 +09:00
manifest_xml.py Better error message if 'remove-project' refers to non-existent project 2012-11-16 19:12:55 +09:00
pager.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
progress.py Support units in progress messages 2011-09-19 14:52:57 -07:00
project.py Raise a NoManifestException when the manifest DNE 2012-11-15 18:50:11 -08:00
repo Sync help text in repo from init.py 2012-11-15 06:21:24 +09:00
SUBMITTING_PATCHES Add pylint configuration and instructions 2012-10-24 10:18:13 +09:00
trace.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00