Skip to content

Jjeje007/syuppod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gentoo Badge

Syuppo

SYnc UPdate POrtage

Syuppo is a python3 daemon (syuppod) / client (syuppoc) which automate sync and calculate how many packages to update for gentoo portage manager. Syuppod is intend to be run as service using /etc/init.d/ and it run as an unprivileged system user (syuppod) and use sudo to gain root access (only for sync).

Syuppod uses dbus to expose informations to user space tools and syuppoc can retrieve informations about new update package available, syncing stats. And many more (also more to come).

You can use syuppoc, for exemple, with conky to display some informations. But it's up to you to do whatever you want to do with these informations and from whatever program (as long as it use dbus or syuppoc output).

Dependencies

For pydbus and inotify_simple ebuilds can be found in Jjeje007-overlay.

Installation

Use syuppod ebuild found in Jjeje007-overlay. It will install all dependencies.

Usage

Run the daemon:

/etc/init.d/syuppod start

About logs and debug

Syuppod have several logs all located in /var/log/syuppod/\

The debug mode is enable by default until syuppod is stabilized.

Syuppod write sync and pretend process logs to, respectively:
/var/log/syuppod/sync.log
/var/log/syuppod/pretend.log

All logs are autorotate.

Developpement Status

This is a work in progress so i haven't yet planned to make a release.
Syuppod API is stabilized.\

Meta

Venturi Jerôme – [email protected]

Distributed under the GNU gpl v3 license.

Bugs report

Please open an issue and don't forget to attach logs: messages (syslog), stderr.log and debug.log.

Contributing

Pull requests and translations are welcome. For major changes, please open an issue first to discuss what you would like to change.