Enable testing 'dev' profiles by default. Those profiles are in the way
of becoming stable, and therefore it is crucial that developers test
that their changes do not break them. Instead of requiring developers
to explicitly type 'repoman full -d' all the time, just test them
by default.

The -d/--include-dev option is left as no-op to preserve backwards
compatibility with existing scripts.
---
 repoman/pym/repoman/argparser.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/repoman/pym/repoman/argparser.py b/repoman/pym/repoman/argparser.py
index b7e6071ba..852d7efac 100644
--- a/repoman/pym/repoman/argparser.py
+++ b/repoman/pym/repoman/argparser.py
@@ -162,8 +162,8 @@ def parse_args(argv, qahelp, repoman_default_opts):
 
        parser.add_argument(
                '-d', '--include-dev', dest='include_dev', action='store_true',
-               default=False,
-               help='include dev profiles in dependency checks')
+               default=True,
+               help='(no-op, preserved for backwards compatibility)')
 
        parser.add_argument(
                '-e', '--include-exp-profiles', choices=('y', 'n'), 
metavar='<y|n>',
-- 
2.16.2


Reply via email to