1 from flask_script import Command, Option
2 from coprs.logic import coprs_logic
3
4 from commands.create_chroot import CreateChrootCommand
5 from commands.rawhide_to_release import RawhideToReleaseCommand
6
7
9 """
10 Branch fedora-rawhide-* chroots to fedora-N* and execute rawhide_to_release
11 on them
12 """
13
14 option_list = [
15 Option("fedora_version",
16 help="The version of Fedora to branch Rawhide into, e.g. 32",
17 type=int),
18 Option(
19 "--dist-git-branch",
20 "-b",
21 dest="branch",
22 help="Branch name for this set of new chroots"),
23 ]
24
25 - def run(self, fedora_version, branch=None):
43