Skip to content

feat: implement remaining backend stubs (DnfManager, PolkitHelper, NvidiaUpdater)#9

Merged
Sopwit merged 2 commits into
devfrom
fix/backend-stubs
Mar 6, 2026
Merged

feat: implement remaining backend stubs (DnfManager, PolkitHelper, NvidiaUpdater)#9
Sopwit merged 2 commits into
devfrom
fix/backend-stubs

Conversation

@Sopwit
Copy link
Copy Markdown
Member

@Sopwit Sopwit commented Mar 6, 2026

Backend'deki son 3 stub modülünün tam implementasyonu.

DnfManager — DNF paket yöneticisi wrapper (install/remove/query/cleanCache)
PolkitHelper — PolicyKit D-Bus yetki kontrolü + policy XML dosyası
NvidiaUpdater — dnf check-update ile güncelleme kontrolü ve uygulama

Dosyalar: dnfmanager.h/.cpp, polkit.h/.cpp, updater.h/.cpp, polkit policy XML, CMakeLists.txt

Sopwit added 2 commits March 6, 2026 03:10
…idiaUpdater)

DnfManager:
- rpm -q ile paket kurulu mu kontrolü
- DNF install/remove/enableRepo/cleanCache işlemleri
- root yetkilendirme (pkexec üzerinden)
- rpm -qi ile paket bilgisi sorgulama

PolkitHelper:
- D-Bus PolicyKit1 Authority üzerinden yetki kontrolü
- checkAuthorization (dialog göstermeden) ve requestAuthorization (dialoglu)
- QML Q_PROPERTY binding (authorized)
- PolicyKit policy XML dosyası eklendi

NvidiaUpdater:
- dnf check-update ile güncelleme kontrolü
- Mevcut/yeni versiyon QML property'leri
- Güncelleme uygulama (dnf update + akmods)
- QML progressMessage/updateFinished sinyalleri

Ek:
- Polkit policy dosyası: data/polkit/
- CMakeLists.txt: polkit policy install kuralı
CI clang-format check geçmesi için tüm .cpp ve .h dosyaları
LLVM default stil ile formatlandı.
@Sopwit Sopwit merged commit dc95451 into dev Mar 6, 2026
1 check passed
@Sopwit Sopwit deleted the fix/backend-stubs branch March 22, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant