Define error codes to identify different errors.
The cli displays error information to users based on error codes.
Add -v,--verbose option to display detailed error information.
Signed-off-by: ice909 <gaochang1@uniontech.com>
* Add dbus method GenerateCache, signal GenerateCacheFinished. (PM)
* Add an exclusive write lock to the application cache in
ensureCache to ensure that the container runs after the cache
is generated. (cli)
Log:
* Change the arg of ReplyInteraction, ID(s) to task(o).
* Rename requestInteraction to RequestInteraction.
* Change the property of RequestInteraction:
Remove ID(s).
messageID(u) -> messageID(i).
Add new arg additonalMessage(a{sv}).
Log:
* Change dbus return type to QVariantMap.
* Add new dbus method SetRunningState, Prune.
* Add new subcommand prune.
* Change the parameters in TaskChange.
* Add task for Uninstall.
* Set correct Status and SubStatus.
Log:
* Rename state/subState to State/SubState.
* Change the type of State/SubState to 'u'.
* Add new property Percentage.
* Implement some functions to read these properties.
Log:
1. Update dbus interface xml files to
use QVariantMap as parameters and response;
2. Add api/schema/v1.yaml to generate all API types;
3. Remove qserializer.
Signed-off-by: black-desk <me@black-desk.cn>
* use dbus signal to notify cli download progress
* support cancel downloading manually
* use eventloop instead of threadpool
Signed-off-by: ComixHe <heyuming@deepin.org>