Bug 1164724 - Links from wiki to tumbleweed / leap raspberry pi images are broken
Summary: Links from wiki to tumbleweed / leap raspberry pi images are broken
Status: NEW
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Adrian Schröter
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-24 14:10 UTC by Dominik Heidler
Modified: 2020-06-29 10:00 UTC (History)
6 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
suse-beta: needinfo? (dimstar)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Heidler 2020-02-24 14:10:00 UTC
The links from https://en.opensuse.org/HCL:Raspberry_Pi3 do not work.
Comment 1 Christian Boltz 2020-02-24 21:44:34 UTC
It's a wiki - is there anything that stops you from fixing the links yourself? ;-)

If not, please just do it (and close this bug afterwards) ;-)
Comment 2 Dominik Heidler 2020-02-25 09:42:31 UTC
I already tried but the images links are created by some macro:
{{Arm_image_instructions|Tumbleweed|raspberrypi3|http://download.opensuse.org/ports/aarch64/tumbleweed/images/|board=Raspberry Pi 3|arch=aarch64|contrib=no|imagetitle=64-bit openSUSE Tumbleweed image}}

But it's not the path but the filenames that are wrong.

Either the macro would have to get fixed to always point to the latest image - and not to the one with "current" in the filename - because that one doesn't exist.
I have no idea, where this macro is defined, though.

Or download.opensuse.org could get some "current" symlinks that always point to the newest image.
I think that option would make more sence.
Comment 3 Dominik Heidler 2020-02-25 10:13:38 UTC
I found the template definition for what I thought was some kind of macro:
https://en.opensuse.org/Template:Arm_image_instructions

It doesn't look like as if it could be adjusted to always point to the newest image using some kind of dynamic magic.

It seems that 32bit arm architectures have the required symlinks to make the links from the wiki work:
http://download.opensuse.org/ports/armv7hl/tumbleweed/images/

But aarch64 doesn't:
http://download.opensuse.org/ports/aarch64/tumbleweed/images/
Comment 4 Christian Boltz 2020-02-26 21:52:03 UTC
Dominik, thanks for debugging this. You found the right template, and the fact that the *-current symlinks don't exist in the aarch64 directory explains why the links are broken. Creating these symlinks is something that needs to be done on the OBS side (maybe project config?) since MediaWiki isn't good at guessing numbers ;-)

Dominique, is this something you can fix in the Tumbleweed (wild guess) project config?
If not, do you know who can do it?
Comment 5 Adrian Schröter 2020-02-27 06:17:48 UTC
The links with "-Current" in the name will stay away, since we obsoleted the custom scripts here.

We are currently in discussion how to make it possible to use the OBS staticlinks feature here. Currently broken due to manual overrides to custom -Snapshot names.

but using -BuildX.Y with X.Y numbers, which have a different meaning in logfiles is also not a good idea. Will discuss that further with openQA people today...
Comment 6 Christian Boltz 2020-03-06 16:20:59 UTC
Adrian, did the discussion bring any result?

(Also, I'm assigning this bug to you because we'll need a solution on the OBS side before there's a chance to fix the links in the wiki.)
Comment 7 Nicolas Patricio Saenz Julienne 2020-06-29 10:00:18 UTC
I'm also interested in having static links, it's needed in order to add openSUSE support on Raspberry Pi's official imager utility[1].

[1] https://www.raspberrypi.org/blog/raspberry-pi-imager-imaging-utility/