Bug 399369 - offline update config setting
Summary: offline update config setting
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: PackageKit (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-04 10:16 UTC by Harald Sitter
Modified: 2018-10-05 15:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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