Blame SOURCES/0023-Turn-off-strict-validation-of-modulemd-documents-RhBug200485320071662007167.patch

2e44c8
From 6eb68174565ce0402cead9e45053b560e819e982 Mon Sep 17 00:00:00 2001
2e44c8
From: Aleš Matěj <amatej@redhat.com>
2e44c8
Date: Tue, 21 Sep 2021 12:10:49 +0200
2e44c8
Subject: [PATCH] Turn off strict validation of modulemd documents (RhBug:2004853,2007166,2007167)
2e44c8
2e44c8
https://bugzilla.redhat.com/show_bug.cgi?id=2004853
2e44c8
https://bugzilla.redhat.com/show_bug.cgi?id=2007166
2e44c8
https://bugzilla.redhat.com/show_bug.cgi?id=2007167
2e44c8
---
2e44c8
 libdnf/module/modulemd/ModuleMetadata.cpp | 2 +-
2e44c8
 1 file changed, 1 insertion(+), 1 deletion(-)
2e44c8
2e44c8
diff --git a/libdnf/module/modulemd/ModuleMetadata.cpp b/libdnf/module/modulemd/ModuleMetadata.cpp
2e44c8
index fbdd8a1..9dcd661 100644
2e44c8
--- a/libdnf/module/modulemd/ModuleMetadata.cpp
2e44c8
+++ b/libdnf/module/modulemd/ModuleMetadata.cpp
2e44c8
@@ -78,7 +78,7 @@ void ModuleMetadata::addMetadataFromString(const std::string & yaml, int priorit
2e44c8
     g_autoptr(GPtrArray) failures = NULL;
2e44c8
 
2e44c8
     ModulemdModuleIndex * mi = modulemd_module_index_new();
2e44c8
-    gboolean success = modulemd_module_index_update_from_string(mi, yaml.c_str(), TRUE, &failures, &error);
2e44c8
+    gboolean success = modulemd_module_index_update_from_string(mi, yaml.c_str(), FALSE, &failures, &error);
2e44c8
     if(!success){
2e44c8
         ModuleMetadata::reportFailures(failures);
2e44c8
     }
2e44c8
--
2e44c8
libgit2 1.0.1
2e44c8