Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123536
D8758.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
763 B
Subscribers
None
D8758.diff
View Options
diff --git a/swh/core/tarball.py b/swh/core/tarball.py
--- a/swh/core/tarball.py
+++ b/swh/core/tarball.py
@@ -249,7 +249,7 @@
ADDITIONAL_ARCHIVE_FORMATS = [
# name, extensions, function
("tar.Z|x", [".tar.Z", ".tar.x"], _unpack_tar),
- ("jar", [".jar"], _unpack_jar),
+ ("jar", [".jar", ".war"], _unpack_jar),
("tbz2", [".tbz", "tbz2"], _unpack_tar),
# FIXME: make this optional depending on the runtime lzip package install
("tar.lz", [".tar.lz"], _unpack_tar),
diff --git a/swh/core/tests/data/archives/hello.war b/swh/core/tests/data/archives/hello.war
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 10:07 AM (19 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219494
Attached To
D8758: swh.core.tarball: Wire support to existing tarball
Event Timeline
Log In to Comment