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