Download Redirector State - December 2022

22. Dec 2022 | Andrii Nikitin | CC-BY-SA-3.0

Download Redirector State - December 2022

Download Redirector State (download.opensuse.org) - December 2022

Introduction

The post describes changes that went live for download.opensuse.org on 22-Dec. No critical changes in functionality are expected, so most of the users can ignore the details below. The functionality was already available on mirrorcache.opensuse.org for weeks, excluding some final visual polishing.

Changes in file listing rendering

Rendering of directory listing previously was done with an Apache module. The new functionality provides three methods for rendering the content of folders:

Using AJAX with an HTML table allows the filtering of rows using a special box in the top right corner, as well as sorting files by name, size, or time. It also significantly reduces the download size for rendering folders with many files, which also is mentioned in this ticket.

Plain HTML can be used by tools without JavaScript support, e.g. curl and wget.

JSON rendering is used internally by JavaScript and also may be used by eventual tools which need file listings.

If no /download or /browse route is specified, then the method of rendering is chosen dynamically: the first method is used for browsers, and traditional HTML rendering is used otherwise.

Showing mirrors on the map

Mirrorlist now can show mirrors on the map, which may be useful for visual representation. (Mirrorlist is shown if you click ‘Details’ link in the file listing or add .mirrorlist to the file URL). The map appears when button ‘Toggle map’ at the bottom of mirrorlist page is pressed.

Download reports

It is possible to see download statistics for several recent days in the ‘Reports’ menu, e.g. Downloads per country with the following limitations:

  • The statistics are collected after the day is over, i.e. no statistics for the current day.
  • The statistics for geographical regions are available on the corresponding MirrorCache instance (see below).
  • Values in column ‘Bytes Redirected’ are currently only valid on the main and US instances.

Current regional instances

Feedback

Open a ticket on GitHub or progress.opensuse.org or email admin at opensuse.org.

Share this post: