Bug 399369

Summary: offline update config setting
Product: [Applications] Discover Reporter: Harald Sitter <sitter>
Component: PackageKitAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Harald Sitter 2018-10-04 10:16:50 UTC
Currently offline updates are enabled by an environment variable. It'd be cool if we changed this (or added?) a config setting a user can put into .config/discoverrc to permanently enable offline updates.

This would allow us to do initial opt-in testing for offline updates.
Comment 1 Aleix Pol 2018-10-05 15:57:43 UTC
Git commit a2a9d9e19b82d2e54af6dd510f4977e2aa90ebbf by Aleix Pol.
Committed on 05/10/2018 at 15:55.
Pushed by apol into branch 'master'.

pk: Make it possible to enable offline updates beyond the env var

Adds a setting that can be defined on kdeglobals such as:
```
[Software]
UseOfflineUpdates=true
```

M  +18   -2    libdiscover/backends/PackageKitBackend/PackageKitUpdater.cpp
M  +3    -0    libdiscover/backends/PackageKitBackend/PackageKitUpdater.h

https://commits.kde.org/discover/a2a9d9e19b82d2e54af6dd510f4977e2aa90ebbf