Mailinglist Archive: zypp-devel (149 mails)

< Previous Next >
[zypp-devel] Comments/ideas for libzypp-bindings-python
  • From: "Jan-Simon Möller" <dl9pf@xxxxxx>
  • Date: Fri, 5 Sep 2008 07:31:50 +0200
  • Message-id: <200809050731.50336.dl9pf@xxxxxx>
Moin moin!
Just some observations/ideas and random stuff.

RepoManager:
* I miss iterators like knownRepos() and knownServices() returning the
respective RepoInfo
** Reason: I can easily add repositories, but its hard to find the already
known repos from RepoManager
to query/refresh/whatever
* If I use the nice feature addService("alias", URL("pathtorepofile")) i'm
stuck refreshing the repos
as >>> myrepomanager.refreshServices() fails with RuntimeError: Parse error
* I've no chance to iterate and/or get repoinfos for handling.
* i've an url and an alias, but no serviceinfo up to now, but
TypeError: in method 'RepoManager_refreshService', argument 2 of type
'zypp::ServiceInfo const &'
requires a ServiceInfo :/
* ok, getService(alias) works ... but syntax is bad imho...
myrepomanager.refreshService(myrepomanager.getService("alias")) or ?
If i can addService("alias", URL) why not refreshService("alias")
** btw refreshService fails here with "RuntimeError: Parse error" (same repos
work done with repoinfo)


best regards
Jan-Simon




--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups