Commit f12e62a [cli] keeping 'copr mock-config' functionality

2 files Authored and Committed by praiskup 2 months ago
[cli] keeping 'copr mock-config' functionality

No doubts, this functionality is needed and there's no real
technical reason to deprecate this, I already offered a help to
solve this.

There were refused theories that we'll implement this
functionality in 'copr-rpmbuild', but that's not viable option
since copr-rpmbuild is not wanted on EPEL7 (see PR#306), nor even
on EPEL6.

This reverts commit a42861a1150e3467d4347f0f67128b994cad1def.

    
 1 @@ -387,7 +387,6 @@
 2           :param args: argparse arguments provided by the user
 3   
 4           """
 5 -         sys.stderr.write("# This command is deprecated and will be removed in a future release.\n")
 6           username = self.client.username
 7           project = args.project.split("/")
 8           if len(project) != 2:
 9 @@ -709,7 +708,7 @@
10   
11       parser_mock_config = subparsers.add_parser(
12           "mock-config",
13 -         help="Deprecated. Get the mock profile (similar to koji mock-config)"
14 +         help="Get the mock profile (similar to koji mock-config)"
15       )
16       parser_mock_config.add_argument(
17           "project",
1 @@ -85,7 +85,7 @@
2   Build package from its source definition
3   
4   mock-config::
5 - DEPRECATED. Get the mock profile (similar to koji mock-config)
6 + Get the mock profile (similar to koji mock-config)
7   
8   build-module::
9   Build module via Copr MB