openSUSE / get-o-o

Website that provides detailed information about openSUSE distributions
https://get.opensuse.org
Creative Commons Attribution Share Alike 4.0 International
58 stars 45 forks source link

Opensuse Leap 15.5 DVD "torrent" download leads to .iso file #184

Open IlgazC opened 9 months ago

IlgazC commented 9 months ago

Hello.

Steps to reproduce:

1) Use https://get.opensuse.org/leap to get forwarded to https://get.opensuse.org/leap/15.5/ (using openSUSE Tumbleweed current/Firefox) 2) Click on "Download" 3) Click on down pointing (drop down) down triangle next to Leap "Download" to show advanced options

image

4) Pick "Torrent file" from options

What happens: Firefox downloads the file however, its extension isn't "iso.torrent", it is ".iso" confusing KDE Dolphin and probably other file managers. E.g. on KDE current stable, Ark opens complaining about corrupt iso file.

What should happen:

Firefox should get file with "torrent" extension and file managers should invoke whatever associated with them (e.g. qbittorrent)

Extra test (using wget with the link):

/mnt/ext/downloads> wget -vvv https://download.opensuse.org/distribution/leap/15.5/iso/openSUSE-Leap-15.5-DVD-x86_64-Media.iso.torrent
--2024-01-31 06:20:20--  https://download.opensuse.org/distribution/leap/15.5/iso/openSUSE-Leap-15.5-DVD-x86_64-Media.iso.torrent
Resolving download.opensuse.org (download.opensuse.org)... 195.135.223.226, 2a07:de40:b250:131:10:151:131:30
Connecting to download.opensuse.org (download.opensuse.org)|195.135.223.226|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: /distribution/leap/15.5/iso/openSUSE-Leap-15.5-DVD-x86_64-Build491.1-Media.iso?torrent=1 [following]
--2024-01-31 06:20:20--  https://download.opensuse.org/distribution/leap/15.5/iso/openSUSE-Leap-15.5-DVD-x86_64-Build491.1-Media.iso?torrent=1
Reusing existing connection to download.opensuse.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 21664 (21K) [application/x-iso9660-image]
Saving to: ‘openSUSE-Leap-15.5-DVD-x86_64-Media.iso.torrent’

openSUSE-Leap-15.5-DVD-x86_ 100%[=========================================>]  21.16K  --.-KB/s    in 0.06s   

2024-01-31 06:20:20 (359 KB/s) - ‘openSUSE-Leap-15.5-DVD-x86_64-Media.iso.torrent’ saved [21664/21664]
sharabhh commented 6 months ago

how is it supposed to behave? Is the wrong file linked in the download button?

tacerus commented 3 months ago

https://progress.opensuse.org/issues/163214