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. --- repoman/pym/repoman/argparser.py | 2 +- repoman/pym/repoman/tests/simple/test_simple.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/repoman/pym/repoman/argparser.py b/repoman/pym/repoman/argparser.py index 2e8aee1b6..3359e2f65 100644 --- a/repoman/pym/repoman/argparser.py +++ b/repoman/pym/repoman/argparser.py @@ -162,7 +162,7 @@ def parse_args(argv, qahelp, repoman_default_opts): parser.add_argument( '-d', '--include-dev-profiles', choices=('y', 'n'), metavar='<y|n>', - default='n', + default='y', help='include dev profiles in dependency checks') parser.add_argument( diff --git a/repoman/pym/repoman/tests/simple/test_simple.py b/repoman/pym/repoman/tests/simple/test_simple.py index 494152eca..f254336d9 100644 --- a/repoman/pym/repoman/tests/simple/test_simple.py +++ b/repoman/pym/repoman/tests/simple/test_simple.py @@ -191,7 +191,7 @@ class SimpleRepomanTestCase(TestCase): ("", git_cmd + ("init-db",)), ("", git_cmd + ("add", ".")), ("", git_cmd + ("commit", "-a", "-m", "add whole repo")), - ("", repoman_cmd + ("full", "-d", "y")), + ("", repoman_cmd + ("full",)), ("", cp_cmd + (test_ebuild, test_ebuild[:-8] + "2.ebuild")), ("", git_cmd + ("add", test_ebuild[:-8] + "2.ebuild")), ("", repoman_cmd + ("commit", "-m", "cat/pkg: bump to version 2")), -- 2.16.2