forked from pool/javapackages-tools
This commit is contained in:
25
0003-Reproducible-exclusions-order-in-maven-metadata.patch
Normal file
25
0003-Reproducible-exclusions-order-in-maven-metadata.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
From 790780dfcce03b998ba20f9ef19a8a1222a71295 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Fridrich=20=C5=A0trba?= <fridrich.strba@bluewin.ch>
|
||||
Date: Mon, 11 Sep 2023 18:43:28 +0200
|
||||
Subject: [PATCH 3/3] Reproducible exclusions order in maven metadata
|
||||
|
||||
---
|
||||
python/javapackages/maven/dependency.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/python/javapackages/maven/dependency.py b/python/javapackages/maven/dependency.py
|
||||
index 8b92327c..189a9ff7 100644
|
||||
--- a/python/javapackages/maven/dependency.py
|
||||
+++ b/python/javapackages/maven/dependency.py
|
||||
@@ -100,7 +100,7 @@ class Dependency(AbstractArtifact):
|
||||
|
||||
if self.exclusions:
|
||||
exc_root = Element("exclusions")
|
||||
- for exc in self.exclusions:
|
||||
+ for exc in sorted(self.exclusions):
|
||||
exc_root.insert(len(exc_root), exc.get_xml_element())
|
||||
xml_root.insert(len(root), exc_root)
|
||||
|
||||
--
|
||||
2.42.0
|
||||
|
||||
Reference in New Issue
Block a user