New class KOSRelease - a parser for os-release files

Authored by sitter on Mar 28 2019, 1:47 PM.

Description

New class KOSRelease - a parser for os-release files

Summary:
Imported form KInfoCenter along with test case. This also includes a
license change from GPL to LGPL.

When working on Linux-centric software it may be necessary to get specific
information about the system beyond what may be obtained from QSysInfo.
This new class allows complete access to all information in the os-release
file as per the os-release "specification".

https://www.freedesktop.org/software/systemd/man/os-release.html

Test Plan:

  • new test passes
  • header installed
  • camelheader installed
  • kinfocenter can successfully find the header and link the new class in place of the old builtin one

Reviewers: apol, mpyne

Reviewed By: apol, mpyne

Subscribers: davidedmundson, pino, aacid, mpyne, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D20092

Details

Committed
sitterApr 23 2019, 11:31 AM
Reviewer
apol
Differential Revision
D20092: New class KOSRelease - a parser for os-release files
Parents
R244:1a03abc5edd1: Fix bug about "** foo **"
Branches
Unknown
Tags
Unknown