From e8b1d365f2a0353fe2836d67eae1948c909e9101 Mon Sep 17 00:00:00 2001
From: Christopher Engelhard <ce@lcts.de>
Date: Jul 31 2022 16:12:02 +0000
Subject: Add obsoletes for nextcloud 18-22


---

diff --git a/obsoletes/nextcloud:nextcloud-18.yaml b/obsoletes/nextcloud:nextcloud-18.yaml
new file mode 100644
index 0000000..4babe5b
--- /dev/null
+++ b/obsoletes/nextcloud:nextcloud-18.yaml
@@ -0,0 +1,23 @@
+# Document type identifier
+# `document: modulemd-obsoletes` describes information about a stream obsoleting another one or a stream being EOLed
+document: modulemd-obsoletes
+version: 1
+data:
+  # A string representing UTC date in ISO 8601 format: YYYY-MM-DDTHH:MMZ
+  # When merging, entries with a newer 'modified' value will override any earlier values.
+  # MANDATORY
+  modified: 2022-07-31T17:00Z
+  # A boolean option to cancel/reset all previously specified obsoletes
+  # Example: repo 'fedora' has Obsoletes:nodejs:12; we want to bring nodejs:12 back in 'updates'
+  # If used, following options will be ignored: eol_date, obsoleted_by
+  # OPTIONAL
+  reset: false
+  # A string representing a Name of a module that is obsoleted
+  # MANDATORY
+  module: nextcloud
+  # A string representing a Stream of a module that is obsoleted
+  # MANDATORY
+  stream: nextcloud-18
+  # A string describing the change, reason, etc.
+  # MANDATORY
+  message: "Nextcloud 18 is EOLed upstream, nextcloud:nextcloud-18 will no longer be supported. It is recommended to switch to nextcloud:23"
diff --git a/obsoletes/nextcloud:nextcloud-19.yaml b/obsoletes/nextcloud:nextcloud-19.yaml
new file mode 100644
index 0000000..aee4d35
--- /dev/null
+++ b/obsoletes/nextcloud:nextcloud-19.yaml
@@ -0,0 +1,23 @@
+# Document type identifier
+# `document: modulemd-obsoletes` describes information about a stream obsoleting another one or a stream being EOLed
+document: modulemd-obsoletes
+version: 1
+data:
+  # A string representing UTC date in ISO 8601 format: YYYY-MM-DDTHH:MMZ
+  # When merging, entries with a newer 'modified' value will override any earlier values.
+  # MANDATORY
+  modified: 2022-07-31T17:00Z
+  # A boolean option to cancel/reset all previously specified obsoletes
+  # Example: repo 'fedora' has Obsoletes:nodejs:12; we want to bring nodejs:12 back in 'updates'
+  # If used, following options will be ignored: eol_date, obsoleted_by
+  # OPTIONAL
+  reset: false
+  # A string representing a Name of a module that is obsoleted
+  # MANDATORY
+  module: nextcloud
+  # A string representing a Stream of a module that is obsoleted
+  # MANDATORY
+  stream: nextcloud-19
+  # A string describing the change, reason, etc.
+  # MANDATORY
+  message: "Nextcloud 19 is EOLed upstream, nextcloud:nextcloud-19 will no longer be supported. It is recommended to switch to nextcloud:23"
diff --git a/obsoletes/nextcloud:nextcloud-20.yaml b/obsoletes/nextcloud:nextcloud-20.yaml
new file mode 100644
index 0000000..28c4cc0
--- /dev/null
+++ b/obsoletes/nextcloud:nextcloud-20.yaml
@@ -0,0 +1,23 @@
+# Document type identifier
+# `document: modulemd-obsoletes` describes information about a stream obsoleting another one or a stream being EOLed
+document: modulemd-obsoletes
+version: 1
+data:
+  # A string representing UTC date in ISO 8601 format: YYYY-MM-DDTHH:MMZ
+  # When merging, entries with a newer 'modified' value will override any earlier values.
+  # MANDATORY
+  modified: 2022-07-31T17:00Z
+  # A boolean option to cancel/reset all previously specified obsoletes
+  # Example: repo 'fedora' has Obsoletes:nodejs:12; we want to bring nodejs:12 back in 'updates'
+  # If used, following options will be ignored: eol_date, obsoleted_by
+  # OPTIONAL
+  reset: false
+  # A string representing a Name of a module that is obsoleted
+  # MANDATORY
+  module: nextcloud
+  # A string representing a Stream of a module that is obsoleted
+  # MANDATORY
+  stream: nextcloud-20
+  # A string describing the change, reason, etc.
+  # MANDATORY
+  message: "Nextcloud 20 is EOLed upstream, nextcloud:nextcloud-20 will no longer be supported. It is recommended to switch to nextcloud:23"
diff --git a/obsoletes/nextcloud:nextcloud-21.yaml b/obsoletes/nextcloud:nextcloud-21.yaml
new file mode 100644
index 0000000..e8dc453
--- /dev/null
+++ b/obsoletes/nextcloud:nextcloud-21.yaml
@@ -0,0 +1,23 @@
+# Document type identifier
+# `document: modulemd-obsoletes` describes information about a stream obsoleting another one or a stream being EOLed
+document: modulemd-obsoletes
+version: 1
+data:
+  # A string representing UTC date in ISO 8601 format: YYYY-MM-DDTHH:MMZ
+  # When merging, entries with a newer 'modified' value will override any earlier values.
+  # MANDATORY
+  modified: 2022-07-31T17:00Z
+  # A boolean option to cancel/reset all previously specified obsoletes
+  # Example: repo 'fedora' has Obsoletes:nodejs:12; we want to bring nodejs:12 back in 'updates'
+  # If used, following options will be ignored: eol_date, obsoleted_by
+  # OPTIONAL
+  reset: false
+  # A string representing a Name of a module that is obsoleted
+  # MANDATORY
+  module: nextcloud
+  # A string representing a Stream of a module that is obsoleted
+  # MANDATORY
+  stream: nextcloud-21
+  # A string describing the change, reason, etc.
+  # MANDATORY
+  message: "Nextcloud 21 is EOLed upstream, nextcloud:nextcloud-21 will no longer be supported. It is recommended to switch to nextcloud:23"
diff --git a/obsoletes/nextcloud:nextcloud-22.yaml b/obsoletes/nextcloud:nextcloud-22.yaml
new file mode 100644
index 0000000..1750e82
--- /dev/null
+++ b/obsoletes/nextcloud:nextcloud-22.yaml
@@ -0,0 +1,28 @@
+# Document type identifier
+# `document: modulemd-obsoletes` describes information about a stream obsoleting another one or a stream being EOLed
+document: modulemd-obsoletes
+version: 1
+data:
+  # A string representing UTC date in ISO 8601 format: YYYY-MM-DDTHH:MMZ
+  # When merging, entries with a newer 'modified' value will override any earlier values.
+  # MANDATORY
+  modified: 2022-07-31T17:00Z
+  # A boolean option to cancel/reset all previously specified obsoletes
+  # Example: repo 'fedora' has Obsoletes:nodejs:12; we want to bring nodejs:12 back in 'updates'
+  # If used, following options will be ignored: eol_date, obsoleted_by
+  # OPTIONAL
+  reset: false
+  # A string representing a Name of a module that is obsoleted
+  # MANDATORY
+  module: nextcloud
+  # A string representing a Stream of a module that is obsoleted
+  # MANDATORY
+  stream: nextcloud-22
+  # A string representing UTC date in ISO 8601 format: YYYY-MM-DDTHH:MMZ
+  # It is strongly recommended to keep HH:MM to 00:00.
+  # If not specified, the module is EOLed immediately.
+  # OPTIONAL
+  eol_date: 2022-09-01T00:00Z
+  # A string describing the change, reason, etc.
+  # MANDATORY
+  message: "Nextcloud 22 is EOLed upstream, nextcloud:nextcloud-22 will no longer be supported. It is recommended to switch to nextcloud:23"

