Mailinglist Archive: zypp-commit (171 mails)

< Previous Next >
[zypp-commit] <sat-solver> master : - oops, forgot to set the repo priorities
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Wed, 24 Jun 2009 16:22:25 +0200
  • Message-id: <E1MJTN2-0003LC-BG@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit eb8cba5e16f9287fdffa055f53edbc005acd414a
Author: Michael Schroeder <mls@xxxxxxx>
Date: Wed Jun 24 16:22:25 2009 +0200

- oops, forgot to set the repo priorities
---
examples/solv.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/examples/solv.c b/examples/solv.c
index 3b3c19b..35a8637 100644
--- a/examples/solv.c
+++ b/examples/solv.c
@@ -306,6 +306,7 @@ read_repos(Pool *pool, struct repoinfo *repoinfos, int
nrepoinfos)
repo = repo_create(pool, cinfo->alias);
cinfo->repo = repo;
repo->appdata = cinfo;
+ repo->priority = 99 - cinfo->priority;
repo_add_repomdxml(repo, fp, 0);
fclose(fp);
primaryfile = 0;
@@ -329,6 +330,7 @@ read_repos(Pool *pool, struct repoinfo *repoinfos, int
nrepoinfos)
repo = repo_create(pool, cinfo->alias);
cinfo->repo = repo;
repo->appdata = cinfo;
+ repo->priority = 99 - cinfo->priority;
descrdir = 0;
defvendor = 0;
if ((fp = curlfopen(cinfo->baseurl, "content", 0)) != 0)
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages