binary release package format: .xz is actually .7z #10780

Closed
opened 2025-11-02 09:17:58 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @bpint on GitHub (May 4, 2023).

Description

Just a minor issue. A linux binary package from gitea release page with .xz suffix, is actually in 7z format, instead of xz.

For example,

$ wget https://github.com/go-gitea/gitea/releases/download/v1.19.3/gitea-1.19.3-linux-amd64.xz
$ tar -Jxvf gitea-1.19.3-linux-amd64.xz
tar: This does not look like a tar archive
tar: Skipping to next header
\300ƒ\002
tar: Skipping to next header
tar: A lone zero block at 125921
tar: Exiting with failure status due to previous errors

$ 7z x gitea-1.19.3-linux-amd64.xz

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.utf8,Utf16=on,HugeFiles=on,64 bits,2 CPUs x64)

Scanning the drive for archives:
1 file, 59008744 bytes (57 MiB)

Extracting archive: gitea-1.19.3-linux-amd64.xz
--
Path = gitea-1.19.3-linux-amd64.xz
Type = xz
Physical Size = 59008744
Method = LZMA2:26 CRC64
Streams = 1
Blocks = 1

Everything is Ok               

Size:       125716896
Compressed: 59008744

Gitea Version

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Self-hosted on a linux-based NAS.

Database

SQLite

Originally created by @bpint on GitHub (May 4, 2023). ### Description Just a minor issue. A linux binary package from gitea release page with .xz suffix, is actually in 7z format, instead of xz. For example, ```console $ wget https://github.com/go-gitea/gitea/releases/download/v1.19.3/gitea-1.19.3-linux-amd64.xz $ tar -Jxvf gitea-1.19.3-linux-amd64.xz tar: This does not look like a tar archive tar: Skipping to next header \300ƒ\002 tar: Skipping to next header tar: A lone zero block at 125921 tar: Exiting with failure status due to previous errors $ 7z x gitea-1.19.3-linux-amd64.xz 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_US.utf8,Utf16=on,HugeFiles=on,64 bits,2 CPUs x64) Scanning the drive for archives: 1 file, 59008744 bytes (57 MiB) Extracting archive: gitea-1.19.3-linux-amd64.xz -- Path = gitea-1.19.3-linux-amd64.xz Type = xz Physical Size = 59008744 Method = LZMA2:26 CRC64 Streams = 1 Blocks = 1 Everything is Ok Size: 125716896 Compressed: 59008744 ``` ### Gitea Version * ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Self-hosted on a linux-based NAS. ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 09:17:58 -06:00
Author
Owner

@bpint commented on GitHub (May 4, 2023):

my bad. not a bug

@bpint commented on GitHub (May 4, 2023): my bad. not a bug
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10780