https://bugzilla.novell.com/show_bug.cgi?id=369827
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=369827#c2
Michael Andres changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lslezak@novell.com
AssignedTo|ma@novell.com |jkupec@novell.com
Status|ASSIGNED |NEW
--- Comment #2 from Michael Andres 2008-03-26 10:46:40 MST ---
repo priority is supported in libzypp-4.6.1, by adding a line 'priority=N' to
the .repo file. Where N is an integer number from 1 (highest prio) to 99 (least
and default).
zypper/YaST: Priority is handled the same way as other repo attributes. You can
get/set it in the RepoInfo:
/**
* Repository priority for solver.
* Some number between 1 (highest priority) and 99 (defaultPriority).
*/
unsigned RepoInfo::priority() const;
/**
* Set repository priority for solver.
* A newval_r of 0 sets the default priority.
*/
RepoInfo & RepoInfo::setPriority( unsigned newval_r );
@Jano: You probably want to add support for this in zypper.
@Ladislav: I guess we also want to support for this in repositories.ycp.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.