Repository: packit-service/packit
Pull request #731 (2020-02-26 12:13:26)

Add fedora-32 to 'fedora-all' and 'fedora-development' aliases
```
$ copr-cli list-chroots | grep fedora-32
fedora-32-aarch64
fedora-32-armhfp
fedora-32-i386
fedora-32-x86_64
```

We really need https://github.com/packit-service/packit-service/issues/411 and #706 


Patch:
diff --git a/packit/config/aliases.py b/packit/config/aliases.py
index 986b3238..b45ad582 100644
--- a/packit/config/aliases.py
+++ b/packit/config/aliases.py
@@ -24,9 +24,9 @@ from typing import Dict, List, Set
 from packit.exceptions import PackitException
 
 ALIASES: Dict[str, List[str]] = {
-    "fedora-development": ["fedora-rawhide"],
+    "fedora-development": ["fedora-rawhide", "fedora-32"],
     "fedora-stable": ["fedora-30", "fedora-31"],
-    "fedora-all": ["fedora-rawhide", "fedora-30", "fedora-31"],
+    "fedora-all": ["fedora-rawhide", "fedora-30", "fedora-31", "fedora-32"],
 }
 ARCHITECTURE_LIST: List[str] = [
     "aarch64",


Test patch:
diff --git a/tests/unit/test_config_aliases.py b/tests/unit/test_config_aliases.py
index 0d72ba6a..265a94a3 100644
--- a/tests/unit/test_config_aliases.py
+++ b/tests/unit/test_config_aliases.py
@@ -13,8 +13,8 @@ from packit.exceptions import PackitException
         ("openmandriva-rolling", {"openmandriva-rolling"}),
         ("opensuse-leap-15.0", {"opensuse-leap-15.0"}),
         ("fedora-stable", {"fedora-30", "fedora-31"}),
-        ("fedora-development", {"fedora-rawhide"}),
-        ("fedora-all", {"fedora-rawhide", "fedora-30", "fedora-31"}),
+        ("fedora-development", {"fedora-rawhide", "fedora-32"}),
+        ("fedora-all", {"fedora-rawhide", "fedora-30", "fedora-31", "fedora-32"}),
         ("centos-stream", {"centos-stream"}),
     ],
 )
@@ -45,15 +45,20 @@ def test_get_versions_from_multiple_values(names, versions):
         ("centos-stream", {"centos-stream-x86_64"}),
         ("centos-stream-x86_64", {"centos-stream-x86_64"}),
         ("fedora-stable", {"fedora-30-x86_64", "fedora-31-x86_64"}),
-        ("fedora-development", {"fedora-rawhide-x86_64"}),
+        ("fedora-development", {"fedora-rawhide-x86_64", "fedora-32-x86_64"}),
         ("fedora-29-x86_64", {"fedora-29-x86_64"}),
         ("fedora-29-aarch64", {"fedora-29-aarch64"}),
         ("fedora-29-i386", {"fedora-29-i386"}),
         ("fedora-stable-aarch64", {"fedora-30-aarch64", "fedora-31-aarch64"}),
-        ("fedora-development-aarch64", {"fedora-rawhide-aarch64"}),
+        ("fedora-development-aarch64", {"fedora-rawhide-aarch64", "fedora-32-aarch64"}),
         (
             "fedora-all",
-            {"fedora-rawhide-x86_64", "fedora-30-x86_64", "fedora-31-x86_64"},
+            {
+                "fedora-rawhide-x86_64",
+                "fedora-30-x86_64",
+                "fedora-31-x86_64",
+                "fedora-32-x86_64",
+            },
         ),
     ],
 )
@@ -94,13 +99,13 @@ def test_get_build_targets_from_multiple_values(names, versions):
         ("rawhide", {"master"}),
         ("master", {"master"}),
         ("f30", {"f30"}),
-        ("fedora-development", {"master"}),
+        ("fedora-development", {"master", "f32"}),
         ("fedora-stable", {"f30", "f31"}),
         ("epel-7", {"epel7"}),
         ("epel7", {"epel7"}),
         ("el6", {"el6"}),
         ("epel-6", {"el6"}),
-        ("fedora-all", {"master", "f30", "f31"}),
+        ("fedora-all", {"master", "f30", "f31", "f32"}),
     ],
 )
 def test_get_branches(name, branches):