From Mageia wiki
Revision as of 19:35, 16 June 2013 by Boklm (talk | contribs)
Jump to: navigation, search

Updates advisories are managed using mgaadv. This page explains how to create an updates advisory.

SVN access

To be able to add or edit advisories, you need to have commit access to the svn server. So you must be in the packagers or QA ldap group. You also need to setup your ssh key to be able to access the svn (see Packagers_ssh for details). The following command should work :

$ svn ls svn+ssh://svn.mageia.org/svn/advisories/

Installation

The first step to create advisories is to install the package mga-advisories :

# urpmi mga-advisories

Configuration

Configuration of mgaadv can be done using the command initqaconf :

$ mgaadv initqaconf

This should open a text editor with something like this :

---
advisories_dir: /home/boklm/mageia-advisories/advisories
mode: qa
out_dir: /home/boklm/mageia-advisories/html
status_dir: /home/boklm/mageia-advisories/status

By default it will save advisories in the directory mageia-advisories under your home directory. You can change this if you you want :

  • advisories_dir: the directory where advisories infos are (a checkout of the advisories svn repository)
  • out_dir: the directory where html pages will be saved
  • status_dir: directory where status of the advisories is saved

After saving the file and closing the text editor it should checkout the advisories svn in the advisories_dir directory.

If you want to edit the configuration later, the file is .mga-advisories/mga-advisories.conf in your home directory.

Adding a new advisory