Bug 1386 - add distrib links to first page of mirrors.mageia.org
Summary: add distrib links to first page of mirrors.mageia.org
Status: NEW
Alias: None
Product: Websites
Classification: Unclassified
Component: mirrors.mageia.org (show other bugs)
Version: trunk
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Atelier Team
QA Contact:
URL: http://mirrors.mageia.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-22 16:18 CEST by Sander Lepik
Modified: 2015-09-02 13:42 CEST (History)
8 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
mockup of distrib.html (123.19 KB, text/html)
2013-01-08 10:51 CET, Sander Lepik
Details

Description Sander Lepik 2011-05-22 16:18:39 CEST
Description of problem:
http://mirrors.mageia.org/distrib is a bit of mess (eg. http://mirrors.mageia.org/distrib?version=cauldron&arch=i586). It's very hard to find what you want (it should be sorted at least).

But it would be nice to have one more column at first page that lists distrib urls like mirror urls, so you can just copy url and use it with urpmi.addmedia.

Or it could be link to filtered distrib page that shows links for specified mirror only.
Comment 1 Sander Lepik 2011-05-22 17:51:55 CEST
Distrib links could be listed in this view too:

http://mirrors.mageia.org/mirrors/mageia.c3sl.ufpr.br
Comment 2 Ahmad Samir 2011-05-22 18:24:44 CEST
(In reply to comment #0)
> Description of problem:
> http://mirrors.mageia.org/distrib is a bit of mess (eg.
> http://mirrors.mageia.org/distrib?version=cauldron&arch=i586). It's very hard
> to find what you want (it should be sorted at least).
> 

And if you want arch x86_64? or Mageia 1 i586? or Mageia 2 x86_64?

My point is, the idea was to make it create exactly the list "you" want, after selecting the release and arch.

[...]

CC: (none) => nanardon

Comment 3 Sander Lepik 2011-05-22 19:16:02 CEST
Well, it would be ok to add link to distrib list which is filtered to that specific mirror you selected. At this page it may list both archs.

Or something like that:

You click on the link Distrib (or something like that) at the first page and after that it will show you the same page as /distrib, but it will remember the mirror for you. So you can get distrib links for that mirror only.

it could print even commands you need to enter into terminal

urpmi.addmedia --distrib mirror_links_here

It would solve the "no easyurpmi" problem for some people complaining in the ml.
Comment 4 Romain d'Alverny 2011-05-22 23:35:57 CEST
Why should there be a manual step here? can't this be directly managed between the client and the server?

CC: (none) => rdalverny

Comment 5 Michael Scherer 2011-05-23 00:56:24 CEST
We can use the .urpmi-media system : http://wiki.mandriva.com/en/Development/Howto/CreateRepository#Providing_an_easy_way_to_add_your_repository_to_a_system 

But as said on -discuss, rpmdrake already provides a graphical interface, so yes, we can alraedy do this between client and server. 

I would be in favor of displaying the documentaion instead of directing people to mirrors.mageia.org ( that is for the moment still a backend software rather than something that would be user facing ).

CC: (none) => misc

Comment 6 Marja Van Waes 2011-10-14 20:04:41 CEST
@ webteam

any news?

CC: (none) => marja11

Comment 7 Malo Deniélou 2012-01-28 13:52:02 CET
It'd be great to have a good interface for Mageia 2 (and even better for Beta 1, when more people will start upgrading and testing).

CC: (none) => malo

Dan Joita 2012-03-07 11:17:11 CET

CC: (none) => djmarian4u
Summary: Add distrib links to first page => add distrib links to first page

Comment 8 Romain d'Alverny 2012-08-07 13:23:29 CEST
We need more input here:
 - what's the use case? (and how/why/when wouldn't it be handled through distrib tools using the API already)
 - how would it look like? (mockup welcome)

Keywords: (none) => NEEDINFO

Comment 9 roelof Wobben 2013-01-08 09:00:19 CET
@Romain : for which person are the questions of comment 8. 

Roelof

CC: (none) => r.wobben

Comment 10 Romain d'Alverny 2013-01-08 10:05:08 CET
(In reply to comment #9)
> @Romain : for which person are the questions of comment 8. 

Everyone, but especially Sander, as he opened the bug.
Comment 11 Sander Lepik 2013-01-08 10:50:39 CET
http://mirrors.mageia.org/distrib this view should have mirror selection too. And Link from http://mirrors.mageia.org should choose this mirror.

Link example: http://mirrors.mageia.org/distrib?mirror=<mirror_id_or_something>

It could default to latest stable release (mga2 currently).
Comment 12 Sander Lepik 2013-01-08 10:51:36 CET
Created attachment 3337 [details]
mockup of distrib.html
Sander Lepik 2013-01-08 10:52:47 CET

Keywords: NEEDINFO => (none)

Comment 13 Romain d'Alverny 2013-01-08 11:03:49 CET
Thanks Sander, but again what's the actual use case => who would use this, for what, and why? :)

(it's not only that, but what I suggest/suspect under this is: why/how should a manual operation be needed at all here?)
Comment 14 Sander Lepik 2013-01-08 11:14:24 CET
I often need it when i manage remote servers where i need a fast way to add my favourite mirror. I don't know any better way to do this. And to be true i also prefer cli tools when using local systems..
Comment 15 Romain d'Alverny 2013-01-08 11:51:15 CET
Ok, then, wouldn't an integrated CLI tool even be better for that, with a scenario like this?

  $ get-mageia-mirror --help

      get-mageia-mirror [-c <country>] [-v <version>] [-a <arch>] [-p <protocol>] [--system]

  $ get-mageia-mirror -c FR --system
  [system version = 2]
  [system arch = x86_64]
  [country = FR]
  fetching mirrors list...

    [1] distrib-coffee.ipsl.jussieu.fr
    [2] ...

  Select your preferred mirror [1]: 1

    [1] rsync
    [2] http
    [3] ftp

  Select your preferred protocol [ftp]: 2

  http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/x86_64


(not that changing the Web interface is not possible, but - there's likely no maintainer/developer behind it at the moment)
Comment 16 Sander Lepik 2013-01-08 12:09:38 CET
I'm not against some cli tool but i would still like to see this functionality on mirrors.mageia.org too. It shouldn't be that much trouble. Only filter for mirrors is missing and an option to preselect mirror with url.
Comment 17 Romain d'Alverny 2013-01-08 12:27:11 CET
Why I suggest this is that mirrors.m.o has unfortunately got no update for several months despite several pending requests (https://bugs.mageia.org/buglist.cgi?component=mirrors.mageia.org).
Filip Komar 2014-02-05 09:01:07 CET

CC: (none) => filip.komar

Filip Komar 2015-09-02 13:42:55 CEST

Summary: add distrib links to first page => add distrib links to first page of mirrors.mageia.org


Note You need to log in before you can comment on or make changes to this bug.