-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dnfdaemon: implement D-Bus API for cleaning caches #1589
Conversation
3937511
to
9c8b527
Compare
|
||
Remove or expire cached data. | ||
--> | ||
<method name="read_all_repos"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left over read_all_repos
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
#include <sdbus-c++/sdbus-c++.h> | ||
#include <unistd.h> | ||
|
||
#include <iostream> | ||
#include <set> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this header is not actually used.
The std::unordered_set
is defined in unordered_set
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Implements `clean()` method on `Base` interface to clean requested types of caches. Supported types are "all", "packages", "metadata", "dbcache", and also "expire-cache" for marking repository metadata expired.
The transfer id is now generated on the server side, do not pass it in list_fd() call.
9c8b527
to
2158337
Compare
Changes:
3937511 (Marek Blaha, 46 seconds ago)
dnfdaemon-client: Clean command implemetation
7008046 (Marek Blaha, 20 hours ago)
dnfdaemon: D-Bus API for cleaning caches
Implements
clean()
method onBase
interface to clean requested types ofcaches. Supported types are "all", "packages", "metadata", "dbcache", and
also "expire-cache" for marking repository metadata expired.
Resolves: #1179