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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file gentoo_update-0.1.tar.gz.

File metadata

  • Download URL: gentoo_update-0.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for gentoo_update-0.1.tar.gz
Algorithm Hash digest
SHA256 5824b094b253426d5b939e946a1148d83163c670ec188c65ed1c8c46d25413a2
MD5 09795c79754b891c0e51f47cdbbc9357
BLAKE2b-256 828d76569f494b85f5bc480db54217d57994ba563e075cff871f6d6703ed0eed

See more details on using hashes here.

File details

Details for the file gentoo_update-0.1-py3-none-any.whl.

File metadata

  • Download URL: gentoo_update-0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for gentoo_update-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b620c4471f59533dce03636c11ec81606a19a9d46af8d091d30be549a995fc22
MD5 14c757cb58d474d036bbdb9e1359f213
BLAKE2b-256 8ed7ae2916778c97852b93df89b24e3f0bc21f32f49201823c7d24e0d179623d

See more details on using hashes here.

Supported by

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