commit d5fe31943bb377a921cceba0e8acd6a9ec313cd3
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Apr 4 18:01:41 2019 +0200
Add vars/all
vars/all/00-FedoraCycleNumber.yaml | 1 +
vars/all/FedoraBranched.yaml | 1 +
vars/all/FedoraBranchedNumber.yaml | 1 +
vars/all/FedoraPreviousCycleNumber.yaml | 1 +
vars/all/FedoraPreviousPrevious.yaml | 1 +
vars/all/FedoraPreviousPreviousCycleNumber.yaml | 1 +
vars/all/FedoraRawhideNumber.yaml | 1 +
vars/all/README | 38 +++++++++++++++++++++++
vars/all/RelEngFrozen.yaml | 1 +
9 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/vars/all/00-FedoraCycleNumber.yaml b/vars/all/00-FedoraCycleNumber.yaml
new file mode 100644
index 0000000..b909379
--- /dev/null
+++ b/vars/all/00-FedoraCycleNumber.yaml
@@ -0,0 +1 @@
+FedoraCycleNumber: 29
diff --git a/vars/all/FedoraBranched.yaml b/vars/all/FedoraBranched.yaml
new file mode 100644
index 0000000..2b54595
--- /dev/null
+++ b/vars/all/FedoraBranched.yaml
@@ -0,0 +1 @@
+FedoraBranched: True
diff --git a/vars/all/FedoraBranchedNumber.yaml b/vars/all/FedoraBranchedNumber.yaml
new file mode 100644
index 0000000..a203c73
--- /dev/null
+++ b/vars/all/FedoraBranchedNumber.yaml
@@ -0,0 +1 @@
+FedoraBranchedNumber: "{{ FedoraCycleNumber|int + 1 if FedoraBranched else 0
}}"
diff --git a/vars/all/FedoraPreviousCycleNumber.yaml
b/vars/all/FedoraPreviousCycleNumber.yaml
new file mode 100644
index 0000000..d12f90d
--- /dev/null
+++ b/vars/all/FedoraPreviousCycleNumber.yaml
@@ -0,0 +1 @@
+FedoraPreviousCycleNumber: "{{ FedoraCycleNumber|int - 1 }}"
diff --git a/vars/all/FedoraPreviousPrevious.yaml b/vars/all/FedoraPreviousPrevious.yaml
new file mode 100644
index 0000000..a8e3d3b
--- /dev/null
+++ b/vars/all/FedoraPreviousPrevious.yaml
@@ -0,0 +1 @@
+FedoraPreviousPrevious: False
diff --git a/vars/all/FedoraPreviousPreviousCycleNumber.yaml
b/vars/all/FedoraPreviousPreviousCycleNumber.yaml
new file mode 100644
index 0000000..e1854b2
--- /dev/null
+++ b/vars/all/FedoraPreviousPreviousCycleNumber.yaml
@@ -0,0 +1 @@
+FedoraPreviousPreviousCycleNumber: "{{ FedoraCycleNumber|int - 2 if
FedoraPreviousPrevious else 0 }}"
diff --git a/vars/all/FedoraRawhideNumber.yaml b/vars/all/FedoraRawhideNumber.yaml
new file mode 100644
index 0000000..3397ac9
--- /dev/null
+++ b/vars/all/FedoraRawhideNumber.yaml
@@ -0,0 +1 @@
+FedoraRawhideNumber: "{{ FedoraBranchedNumber|int + 1 if FedoraBranched else
FedoraCycleNumber|int + 1 }}"
diff --git a/vars/all/README b/vars/all/README
new file mode 100644
index 0000000..922053d
--- /dev/null
+++ b/vars/all/README
@@ -0,0 +1,38 @@
+This directory contains variables (one per file) that are loaded into
+various playbooks. The first set of these is to allow templates to
+handle the various stages of Fedora development so we don't have to
+remember all the places that need changing.
+
+There's 3 states for Fedora releases:
+
+1:
+
+Rawhide N+1
+Fedora N (stable)
+Fedora N-1 (stable)
+
+2: We branch a new release from rawhide:
+
+Rahide N+2
+Fedora N+1 (pre)
+Fedora N (stable)
+Fedora N-1 (stable)
+
+3. That release is released:
+
+Rawhide N+1
+Fedora N (stable)
+Fedora N-1 (stable)
+Fedora N-2 (stable)
+
+These are controlled by some variables:
+
+00-FedoraCycleNumber.yaml - The current stable release
+FedoraBranchedBodhi.yaml - If bodhi is enabled, If it's prebeta or postbeta
+FedoraBranchedNumber.yaml - The current branched release, or 0 if it doesnt exist
+FedoraBranched.yaml - true if there is a branched, false otherwise
+FedoraPreviousCycleNumber.yaml - number of previous stable release
+FedoraPreviousPreviousCycleNumber.yaml - number of previous previous stable release or 0
+FedoraPreviousPrevious.yaml - true if there is a previous previous, otherwise false
+FedoraRawhideNumber.yaml - The number of the current rawhide
+Frozen.yaml - If we are frozen or not, true or false
diff --git a/vars/all/RelEngFrozen.yaml b/vars/all/RelEngFrozen.yaml
new file mode 100644
index 0000000..72af779
--- /dev/null
+++ b/vars/all/RelEngFrozen.yaml
@@ -0,0 +1 @@
+RelEngFrozen: False
Show replies by date