task #255

split media filter for Mandriva and Mageia

Added by Samuel Verschelde about 1 year ago. Updated 12 months ago.

Status:New Start date:05/04/2012
Priority:Medium Due date:
Assignee:Samuel Verschelde % Done:

0%

Category:-
Target version:0.4

Description

The media filter has lots of entries for Mageia, it could be split into :

  • mediaroot: core, tainted, nonfree
  • mediatype: release, updates, updates-testing, backports, backports_testing

It must be configurable in madbconf.yml: allow to choose which filters appear in the banner. All filters must be accepted in URL even if absent from banner. If this filter is present, configuration (madbconf.yml) must give a regexp rule to extract both parts of the media name, and a separator to combine the 2 parts into the media name. That rule will be used when adding a new media in madb.

Add 2 fields in the media table to store the values for each media if there's such a regexp, or let it null otherwise.

Drawbacks : can't do filters such as "all core media + non-free without backports", but is there really a use case for that?

History

Updated by Samuel Verschelde 12 months ago

  • Target version changed from 0.3 to 0.4

Also available in: Atom PDF