Skip to main content

Gentoo Linux updater

Project description

Gentoo Updater

gentoo-update is a tool that automates installing updates on Gentoo Linux. By default it only installs security updates from GLSA, but it also provides support to update @world.

This project originates from 2023 Google Summer of Code.

Usage

gentoo-update can be easily installed with pip (ebuild coming soon):

pip install gentoo_update

Here are some usage examples:

  • Basic security update
gentoo-update
  • Full system update with extra update parameters
gentoo-update --update-mode full --args color=n
  • Full system update, show elogs and news
gentoo-update --update-mode full --read-logs y --read-news y

The detailed explanation of command flags can be found in --help.

Testing

Note Testing will be automated in the future, right now it's a bit hackish In gentoo_update/tests there is a Docker Compose file that can be used for testing. It builds containers based on stage3 tarballs and mounts the source code to /root/gentoo_update_source.

Example of a test:

cd tests
docker compose up gentoo1 -d
docker exec -it tests-gentoo1-1 /bin/bash

# inside container
cd /root/gentoo_update_source
python gentoo_update.python

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gentoo_update-0.1.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

gentoo_update-0.1-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page