Commit Graph

1287 Commits

Author SHA1 Message Date
Andrius Štikonas 19cda738bd Do not set INCLUDE_INSTALL_DIR variable. 2022-01-20 19:04:53 +00:00
Andrius Štikonas cbea744bb3 Fix obsolete ECM variables 2022-01-20 18:35:33 +00:00
Andrius Štikonas a69bbb559d Fix cmake config file template to work with Qt6. 2022-01-18 01:18:04 +00:00
Andrius Štikonas 72b4142bcb Fix infinite recursion in dummy backend.
BUG: 432704
2022-01-16 14:22:50 +00:00
Andrius Štikonas 5174dce64f Remove unused forward declaration. 2022-01-16 13:59:01 +00:00
Andrius Štikonas 67550ca2f7 Add Qt6 CI. 2022-01-16 00:21:21 +00:00
Andrius Štikonas 73de1709e2 Port to Qt6. 2022-01-16 00:17:46 +00:00
Andrius Štikonas 08d2e3dc2c Changing swap labels while swap is active does not seem to work anymore. 2022-01-15 23:14:49 +00:00
Andrius Štikonas 7eb2ceed17 Port QStringRef to QStringView. 2022-01-15 22:49:42 +00:00
Andrius Štikonas b0cd5def42 Remove unused variable. 2022-01-15 22:33:29 +00:00
Andrius Štikonas d7912e21d8 Port away from KPluginLoader::factory. 2022-01-10 01:16:20 +00:00
Andrius Štikonas c31eabc842 Port away from deprecated method. 2022-01-10 01:11:13 +00:00
Andrius Štikonas 1d7a4e4010 Port away from KPluginLoader::metaData. 2022-01-10 00:33:43 +00:00
Andrius Štikonas 30d428c697 Port away from KPluginMetaData::serviceTypes. 2022-01-10 00:24:53 +00:00
Andrius Štikonas 5ffc5c6f23 Fix davfs entries being omitted from fstab file.
BUG: 447961
2022-01-05 23:00:17 +00:00
Andrius Štikonas e58ab02bac Add support for copying unknown partitions.
BUG: 447784
2022-01-01 16:18:57 +00:00
Andrius Štikonas d2fb56bcd2 Allow running chmod in externalcommand helper. 2021-12-28 15:26:01 +00:00
Tomaz Canabrava 770e16eb02 Use --recursive instead of -r 2021-12-28 15:07:35 +00:00
Tomaz Canabrava 36bb57c0dd Add posix permissions on filesystems used in posix systems 2021-12-28 15:07:35 +00:00
Tomaz Canabrava e1774d4026 Remove unused member 2021-12-28 15:07:35 +00:00
Tomaz Canabrava 9093b27bd8 Move the changePosixPermission to the Filesystem
And implement it on ext2, 3, 4. I don't know all the filesystems
that can have posix permissions, those three will do. if we need
more in the future we implement them, it's two lines of code.
2021-12-28 15:07:35 +00:00
Tomaz Canabrava 6c14ddb043 Add new job to change permission of the newly created partition 2021-12-28 15:07:35 +00:00
Andrius Štikonas 68c8fecffd Simplify code using K_PLUGIN_CLASS_WITH_JSON macro.
Also move kpmcore plugins into separate namespace.
2021-12-24 18:58:41 +00:00
Andrius Štikonas a5bdd5a4eb Switch to ntfsinfo to read NTFS usage.
BUG: 447248
2021-12-24 00:03:05 +00:00
Andrius Štikonas 31921c59fa Fix broken fstab when mount point includes space.
fstab column width was calculated before spaces were escaped which would
result in no space between mount point and file system type columns.

BUG: 446218
2021-12-04 23:31:02 +00:00
Tomaz Canabrava 65f986dc29 Add method to query if polkit is installed correctly
The std::cout and qDebugs on the external command helper is
not visible to the user as it runs in another process via dbus
this is highly annoying if you want to be able to discover what's
wrong on the command line.

A method that checks if the file is in the right place should be
called by the users of this library
2021-11-29 11:16:33 -03:00
Albert Astals Cid 259f562698 Add CI 2021-11-28 12:55:05 +01:00
Harald Sitter c79f5831ff add metainfo file
requirement to get generated on api.kde.org
2021-11-24 10:31:41 +00:00
Harald Sitter b3d0cfccaf set cmake interface dir on the target
this carries through into the Targets.cmake file we install which in
turn means that the imported target for the consumer defines its include
directory. this removes the need to manually add the include dir

also updated the readme accordingly
2021-11-23 10:14:58 +01:00
Ben Cooksley d9339e4833 Add additional dependencies of KPMCore 2021-11-21 16:40:25 +13:00
Ben Cooksley 702b30ee3a Add CI definitions for the seed job 2021-11-21 16:24:08 +13:00
l10n daemon script 172b76fe9b GIT_SILENT made messages (after extraction) 2021-11-20 00:30:09 +00:00
Andrius Štikonas e9fc875c5e Fix seek error when filling device with random data or zeroes. 2021-11-12 01:02:34 +00:00
l10n daemon script a9998425fd SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-11-09 01:23:12 +00:00
l10n daemon script 74218e12d6 GIT_SILENT made messages (after extraction) 2021-11-09 00:19:35 +00:00
Heiko Becker 644db18c75 GIT_SILENT Upgrade release service version to 22.03.70. 2021-11-08 20:59:42 +01:00
Andrius Štikonas 282cfdcde1 Do not destroy zfs pool when removing zfs partition.
This can be dangerous, e.g. if partition is part of raid set.
So better be more cautious and in some cases fail to remove partition
than lose data.
2021-10-30 21:13:09 +01:00
Andrius Štikonas 6f2be13f68 Bump minimal cmake version to 3.16 2021-09-29 17:56:45 +01:00
l10n daemon script 2734c58069 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-09-08 01:30:14 +00:00
l10n daemon script d31f1733b6 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-09-06 01:28:56 +00:00
Artem Grinev 00e6b77c29 Initialize all fields in Partition 2021-08-29 00:16:57 +04:00
Artem Grinev f4664671d6 Clear attributes on new partition creation 2021-08-27 02:37:19 +04:00
Albert Astals Cid c47ee6cae7 GIT_SILENT Upgrade release service version to 21.11.70. 2021-07-10 20:29:09 +02:00
l10n daemon script 4c32c38655 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-07-08 01:22:49 +00:00
l10n daemon script b3050dc894 GIT_SILENT made messages (after extraction) 2021-07-08 00:20:41 +00:00
l10n daemon script f0188249e8 GIT_SILENT made messages (after extraction) 2021-05-17 00:27:08 +00:00
l10n daemon script ce39e14904 GIT_SILENT made messages (after extraction) 2021-03-27 02:33:43 +01:00
Yaroslav Sidlovsky 8746ef72fd Fix smartctl exit status success check
According to the smartctl man page:
```
EXIT STATUS
The  exit  statuses of smartctl are defined by a bitmask.  If all is well with the disk, the exit status (return value) of smartctl is 0 (all bits turned off).  If a problem occurs, or an error, potential error, or fault is detected, then a non-zero status is
returned.  In this case, the eight different bits in the exit status have the following meanings for ATA disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode (see '-n' option above).

Bit 2: Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains records of errors.

Bit 7: The device self-test log contains records of errors.  [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.
```

BUG: 429028
2021-03-17 16:03:32 +03:00
Albert Astals Cid ad35460628 GIT_SILENT Upgrade release service version to 21.07.70. 2021-03-13 22:28:27 +01:00
l10n daemon script c06a188d0e GIT_SILENT made messages (after extraction) 2021-03-03 03:33:29 +01:00