blob: 9b4ca02cca1604bacd3f035e32094a70d646bc14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
Order of no particular importance:
*** Make the daemon aware on how long between updates ***
Requires writing to a database for config stuff
- Probably should move the job number stuff there too
New method GetHoursSinceLastUpdate
Use this in the update icon
*** Add new callback for status ***
TimeRemaining()
*** Prepare download to refresh system ***
Either use a flag or a new method. I'm not sure which yet.
*** Add a way to import GPG keys ***
In fedora, if you add a signed repo you have to agree to the GPG key.
*** Split up PolicyKit install into different types ***
Have different permissions for signed and unsigned repos.
*** Handle rollbacks for select backends ***
To do rollbacks sanely in PK we need a few things:
* allow transaction data to be changed in _db
*** Use resolve for pkcon operations ***
'pkcon install zsh' should work as well as 'pkcon install "zsh;1.0;i386;repo"'
def command_resolve(package, filter_enum)
ret=client_resolve (package, filter)
if ret wait()
length=get_length
if length == 1 return get_item(client, 0)
else
print matched too many, quit
for each length
print get_item(client, 1)
case: INSTALL
if not a valid package_id then
pacakge=command_resolve(package, ENUM_AVAILABLE);
if (package== NULL) {
error
}
*** Unit tests ***
PkSpawn is a complex and untested bit of code.
*** Send SIGQUIT ***
Do SIGKILL only if SIGQUIT didn't work...
|