- s = pool->solvables + i;
- if (s->repo != repo)
- continue;
- printf("\n");
- printf("solvable %d:\n", n);
- if (s->name || s->evr || s->arch)
- printf("name: %s %s %s\n", id2str(pool, s->name), id2str(pool, s->evr), id2str(pool, s->arch));
- if (s->vendor)
- printf("vendor: %s\n", id2str(pool, s->vendor));
- printids(repo, "provides", s->provides);
- printids(repo, "obsoletes", s->obsoletes);
- printids(repo, "conflicts", s->conflicts);
- printids(repo, "requires", s->requires);
- printids(repo, "recommends", s->recommends);
- printids(repo, "suggests", s->suggests);
- printids(repo, "supplements", s->supplements);
- printids(repo, "enhances", s->enhances);
- printids(repo, "freshens", s->freshens);
- if (repo->rpmdbid)
- printf("rpmdbid: %u\n", repo->rpmdbid[i - repo->start]);
+ repo = pool->repos[j];
+ dump_repodata(repo);
+ printf("repo %d contains %d solvables %d non-solvables\n", j, repo->nsolvables, repo->nextra);
+ for (i = repo->start, n = 1; i < repo->end; i++)
+ {
+ s = pool->solvables + i;
+ if (s->repo != repo)
+ continue;
+ printf("\n");
+ printf("solvable %d:\n", n);
+ if (s->name || s->evr || s->arch)
+ printf("name: %s %s %s\n", id2str(pool, s->name), id2str(pool, s->evr), id2str(pool, s->arch));
+ if (s->vendor)
+ printf("vendor: %s\n", id2str(pool, s->vendor));
+ printids(repo, "provides", s->provides);
+ printids(repo, "obsoletes", s->obsoletes);
+ printids(repo, "conflicts", s->conflicts);
+ printids(repo, "requires", s->requires);
+ printids(repo, "recommends", s->recommends);
+ printids(repo, "suggests", s->suggests);
+ printids(repo, "supplements", s->supplements);
+ printids(repo, "enhances", s->enhances);
+ printids(repo, "freshens", s->freshens);
+ if (repo->rpmdbid)
+ printf("rpmdbid: %u\n", repo->rpmdbid[i - repo->start]);