Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9339305
D6770.id24610.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
974 B
Subscribers
None
D6770.id24610.diff
View Options
diff --git a/swh/lister/maven/lister.py b/swh/lister/maven/lister.py
--- a/swh/lister/maven/lister.py
+++ b/swh/lister/maven/lister.py
@@ -302,6 +302,7 @@
"gid": page["gid"],
"aid": page["aid"],
"version": page["version"],
+ "base_url": self.BASE_URL,
}
]
},
diff --git a/swh/lister/maven/tests/test_lister.py b/swh/lister/maven/tests/test_lister.py
--- a/swh/lister/maven/tests/test_lister.py
+++ b/swh/lister/maven/tests/test_lister.py
@@ -122,6 +122,7 @@
assert src.get("gid") == artifact["gid"]
assert src.get("aid") == artifact["aid"]
assert src.get("version") == artifact["version"]
+ assert MVN_URL == artifact["base_url"]
break
else:
raise AssertionError
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 3 2025, 9:35 AM (5 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219899
Attached To
D6770: maven: Pass the base URL of the Maven instance to the loader
Event Timeline
Log In to Comment