{"id":17962261,"url":"https://github.com/cogitri/apk-polkit","last_synced_at":"2026-01-18T21:32:10.873Z","repository":{"id":104818910,"uuid":"244731159","full_name":"Cogitri/apk-polkit","owner":"Cogitri","description":"apk-polkit exposes a DBus API for libapk, the library used by APK, the Alpine Package Keeper. Superceded by apk-polkit-rs (https://gitlab.alpinelinux.org/Cogitri/apk-polkit-rs","archived":false,"fork":false,"pushed_at":"2020-09-02T09:12:42.000Z","size":410,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T20:54:19.807Z","etag":null,"topics":["alpine-linux","dbus","dbus-service","dlanguage","polkit","postmarketos"],"latest_commit_sha":null,"homepage":"https://gitlab.alpinelinux.org/Cogitri/apk-polkit","language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cogitri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-03T20:07:30.000Z","updated_at":"2021-08-18T14:27:30.000Z","dependencies_parsed_at":"2023-05-30T06:45:44.624Z","dependency_job_id":null,"html_url":"https://github.com/Cogitri/apk-polkit","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cogitri%2Fapk-polkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cogitri%2Fapk-polkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cogitri%2Fapk-polkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cogitri%2Fapk-polkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cogitri","download_url":"https://codeload.github.com/Cogitri/apk-polkit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247061882,"owners_count":20877176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine-linux","dbus","dbus-service","dlanguage","polkit","postmarketos"],"created_at":"2024-10-29T11:16:49.365Z","updated_at":"2026-01-18T21:32:10.867Z","avatar_url":"https://github.com/Cogitri.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apk-polkit\n[![Gitlab CI status](https://gitlab.alpinelinux.org/Cogitri/apk-polkit/badges/master/pipeline.svg)](https://gitlab.alpineliux.org/Cogitri/apk-polkit/commits/master)\n\napk-polkit exposes a DBus API for libapk, the library used by APK, the Alpine Package Keeper.\nIt is intended to be used by software centres like GNOME Software.\n\napk-polkit works by running as a daemon with root permissions. It authenticates\nusers via polkit and if the authentication suceeds, it executes the operation\nthe user instructed it to do (e.g. install packages, update packages, ...)\n\n## Building\n\nApk-polkit has a few dependencies:\n\n* [glibd](https://github.com/gtkd-developers/GlibD/)\n* [polkit-d](https://gitlab.alpinelinux.org/Cogitri/polkit-d/)\n* [apk-tools-d](https://gitlab.alpinelinux.org/Cogitri/apk-toolsd/)\n* A functional D compiler.\n\nOnce these are installed, building and installing it should be as easy as:\n\n```sh\nmeson build\nninja -C build test\nninja -C build install\n```\n\n# Translating\n\nApk-polkit's .pot file can be generated via:\n\n```sh\nmeson build\nninja -C build apk-polkit-pot\n```\n\nAfterwards this .pot file can be imported into translation programs like poedit. Save the resulting .po file which includes your translated strings in po/$langname.po, so e.g. for pt_BR (Brazillian Portuguese) po/pt_BR.po and add $langname to po/LINGUAS. Afterwards commit your changes with the following message: \"chore(po): add $LANGNAME translation\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcogitri%2Fapk-polkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcogitri%2Fapk-polkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcogitri%2Fapk-polkit/lists"}