From eb789e492a1c83357c5e46133b4a3239e628babd Mon Sep 17 00:00:00 2001
From: Fabien Boucher <fboucher@redhat.com>
Date: Nov 02 2020 10:35:55 +0000
Subject: Re-organize resources for Fedora CI


---

diff --git a/resources/fedora-ci-config.yaml b/resources/fedora-ci-config.yaml
new file mode 100644
index 0000000..1570875
--- /dev/null
+++ b/resources/fedora-ci-config.yaml
@@ -0,0 +1,13 @@
+---
+resources:
+  projects:
+    Fedora-Zuul-CI:
+      description: Zuul CI for Fedora
+      connection: pagure.io
+      source-repositories:
+        - zuul-distro-jobs:
+            zuul/extra-config-paths:
+              - zuul-extra.d/
+        - fedora-zuul-jobs-config:
+            zuul/config-project: true
+        - fedora-zuul-jobs
diff --git a/resources/fedora-distgits.yaml b/resources/fedora-distgits.yaml
new file mode 100644
index 0000000..a9abc08
--- /dev/null
+++ b/resources/fedora-distgits.yaml
@@ -0,0 +1,117 @@
+---
+resources:
+  projects:
+    Fedora-Distgits:
+      description: Fedora Distgits handled by Fedora Zuul CI
+      connection: src.fedoraproject.org
+      source-repositories:
+        - tests/python:
+            zuul/include: []
+        - rpms/breezy:
+            zuul/include: []
+        - rpms/pipenv:
+            zuul/include: []
+        - rpms/poetry:
+            zuul/include: []
+        - rpms/pypy:
+            zuul/include: []
+        - rpms/pyproject-rpm-macros:
+            zuul/include: []
+        - rpms/pypy3:
+            zuul/include: []
+        - rpms/python2:
+            zuul/include: []
+        - rpms/python2.7:
+            zuul/include: []
+        - rpms/python27:
+            zuul/include: []
+        - rpms/python3:
+            zuul/include: []
+        - rpms/python3.5:
+            zuul/include: []
+        - rpms/python35:
+            zuul/include: []
+        - rpms/python3.6:
+            zuul/include: []
+        - rpms/python36:
+            zuul/include: []
+        - rpms/python3.7:
+            zuul/include: []
+        - rpms/python37:
+            zuul/include: []
+        - rpms/python3.8:
+            zuul/include: []
+        - rpms/python38:
+            zuul/include: []
+        - rpms/python3.9:
+            zuul/include: []
+        - rpms/python39:
+            zuul/include: []
+        - rpms/python3.10:
+            zuul/include: []
+        - rpms/python-clikit:
+            zuul/include: []
+        - rpms/python-cleo:
+            zuul/include: []
+        - rpms/python-flit:
+            zuul/include: []
+        - rpms/python-gear:
+            zuul/include: []
+        - rpms/python-pip:
+            zuul/include: []
+        - rpms/python-rpm-macros:
+            zuul/include: []
+        - rpms/python-setuptools:
+            zuul/include: []
+        - rpms/python-setuptools_scm:
+            zuul/include: []
+        - rpms/python-tomlkit:
+            zuul/include: []
+        - rpms/python-tox:
+            zuul/include: []
+        - rpms/python-tox-current-env:
+            zuul/include: []
+        - rpms/python-virtualenv:
+            zuul/include: []
+        - rpms/python-zuul-sphinx:
+            zuul/include: []
+        - rpms/nodepool:
+            zuul/include: []
+        - rpms/osbs-client:
+            zuul/include: []
+        - rpms/python-ogr:
+            zuul/include: []
+        - rpms/python-rpm-generators:
+            zuul/include: []
+        - rpms/python-sphinx-autodoc-typehints:
+            zuul/include: []
+        - rpms/python-sphinxcontrib-blockdiag:
+            zuul/include: []
+        - rpms/python-toml:
+            zuul/include: []
+        - rpms/python-wheel:
+            zuul/include: []
+        - rpms/python-pecan:
+            zuul/include: []
+        - rpms/ara:
+            zuul/include: []
+        - rpms/python-passlib:
+            zuul/include: []
+        - rpms/python-APScheduler:
+            zuul/include: []
+        - rpms/python-fb-re2:
+            zuul/include: []
+        - rpms/python-ws4py:
+            zuul/include: []
+        - rpms/python-sphinxcontrib-openapi:
+            zuul/include: []
+        - rpms/zuul:
+            zuul/include: []
+        - rpms/python-zuul-client:
+            zuul/include: []
+        - rpms/cmconvert:
+            zuul/include: []
+        - rpms/marshalparser:
+            zuul/include: []
+        - rpms/ghc-http2:
+            zuul/include: []
diff --git a/resources/fedora-sources.yaml b/resources/fedora-sources.yaml
new file mode 100644
index 0000000..5d94809
--- /dev/null
+++ b/resources/fedora-sources.yaml
@@ -0,0 +1,26 @@
+---
+resources:
+  projects:
+    Fedora-Sources:
+      description: Fedora Sources handled by Fedora Zuul CI
+      connection: pagure.io
+      source-repositories:
+        - fedora-infra/mbbox:
+           connection: github.com
+        - fedora-qa/os-autoinst-distri-fedora
+        - fedora-qa/fedora_openqa
+        - fedora-qa/python-wikitcms
+        - fedora-qa/blockerbugs
+        - fedora-qa/oraculum
+        - fedora-ci/messages
+        - fedora-infra/rpmautospec
+        - fedora-infra/ansible
+        - fedora-infra/toddlers
+        - fedscm-admin
+        - fm-gateway
+        - rpm-software-management/dnf:
+            connection: github.com
+        - rpm-software-management/libdnf:
+            connection: github.com
+        - rpm-software-management/librepo:
+            connection: github.com
diff --git a/resources/fedora.yaml b/resources/fedora.yaml
deleted file mode 100644
index f5d14fd..0000000
--- a/resources/fedora.yaml
+++ /dev/null
@@ -1,204 +0,0 @@
----
-resources:
-  projects:
-    Fedora-Zuul-CI:
-      description: Zuul CI for Fedora
-      connection: pagure.io
-      source-repositories:
-        - zuul-distro-jobs:
-            zuul/extra-config-paths:
-              - zuul-extra.d/
-        - fedora-zuul-jobs-config:
-            zuul/config-project: true
-        - fedora-zuul-jobs
-        - test-python-package-zuul-workflow:
-            zuul/include: []
-        - morucci/fedora-zuul-package-demo:
-            connection: github.com
-        - rpms/breezy:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/pipenv:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/poetry:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/pypy:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/pyproject-rpm-macros:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/pypy3:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python2:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python2.7:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python27:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python3:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python3.5:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python35:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python3.6:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python36:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python3.7:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python37:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python3.8:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python38:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python3.9:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python39:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python3.10:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-clikit:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-cleo:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-flit:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-gear:
-            connection: src.fedoraproject.org
-        - rpms/python-pip:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-rpm-macros:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-setuptools:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-setuptools_scm:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-tomlkit:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-tox:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-tox-current-env:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-virtualenv:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-zuul-sphinx:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/nodepool:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/osbs-client:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-ogr:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-rpm-generators:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-sphinx-autodoc-typehints:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-sphinxcontrib-blockdiag:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-toml:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-wheel:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-pecan:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/ara:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - fedora-infra/mbbox:
-           connection: github.com
-        - fedora-qa/os-autoinst-distri-fedora
-        - fedora-qa/fedora_openqa
-        - fedora-qa/python-wikitcms
-        - fedora-qa/blockerbugs
-        - fedora-qa/oraculum
-        - rpm-software-management/dnf:
-            connection: github.com
-        - rpm-software-management/libdnf:
-            connection: github.com
-        - rpm-software-management/librepo:
-            connection: github.com
-        - fedora-ci/messages
-        - fedora-infra/rpmautospec
-        - fedora-infra/ansible
-        - fedora-infra/toddlers
-        - rpms/python-passlib:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-APScheduler:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-fb-re2:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-ws4py:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-sphinxcontrib-openapi:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/zuul:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/python-zuul-client:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/cmconvert:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - rpms/marshalparser:
-            connection: src.fedoraproject.org
-            zuul/include: []
-        - fedscm-admin
-        - fm-gateway
-
-        # Haskell
-        - rpms/ghc-http2:
-            connection: src.fedoraproject.org
-            zuul/include: []
-
-        # Tests namespace
-        - tests/python:
-            connection: src.fedoraproject.org
-            zuul/include: []

