This commit is contained in:
parent
97665ec18d
commit
0639a1dbf4
@ -4,7 +4,7 @@ Date: Mon, 11 Sep 2023 18:43:28 +0200
|
|||||||
Subject: [PATCH 3/3] Reproducible exclusions order in maven metadata
|
Subject: [PATCH 3/3] Reproducible exclusions order in maven metadata
|
||||||
|
|
||||||
---
|
---
|
||||||
python/javapackages/maven/dependency.py | 6 +++---
|
python/javapackages/maven/dependency.py | 4 ++--
|
||||||
python/javapackages/metadata/dependency.py | 4 ++--
|
python/javapackages/metadata/dependency.py | 4 ++--
|
||||||
2 files changed, 5 insertions(+), 5 deletions(-)
|
2 files changed, 5 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
@ -21,15 +21,6 @@ index 8b92327c..534a631e 100644
|
|||||||
exc_root.insert(len(exc_root), exc.get_xml_element())
|
exc_root.insert(len(exc_root), exc.get_xml_element())
|
||||||
xml_root.insert(len(root), exc_root)
|
xml_root.insert(len(root), exc_root)
|
||||||
|
|
||||||
@@ -127,7 +127,7 @@ class Dependency(AbstractArtifact):
|
|
||||||
excnodes = xmlnode.findall("{*}exclusions/{*}exclusion")
|
|
||||||
|
|
||||||
exclusions = []
|
|
||||||
- for exc in [Exclusion.from_xml_element(x) for x in excnodes]:
|
|
||||||
+ for exc in [Exclusion.from_xml_element(x) for x in sorted(excnodes)]:
|
|
||||||
exclusions.append(exc)
|
|
||||||
|
|
||||||
return cls(parts["groupId"],
|
|
||||||
@@ -137,7 +137,7 @@ class Dependency(AbstractArtifact):
|
@@ -137,7 +137,7 @@ class Dependency(AbstractArtifact):
|
||||||
version=parts["version"],
|
version=parts["version"],
|
||||||
scope=parts["scope"],
|
scope=parts["scope"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user