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