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.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.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gentoo_update-0.1.1.tar.gz
Algorithm Hash digest
SHA256 43ec96c77a8ff576b7497aa261306c229ca1439f12c1ae8276c2048e8e2da285
MD5 a78013a2b0d3df85318eb66823778250
BLAKE2b-256 cfe0331327a601e4e6450f41529ec66c195d6cc31e567197e96622017fa23e72

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gentoo_update-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2d3768316e1054ee788623096a26048302d69826d071974784aec391fa490be
MD5 56b5202bc662ee77b16495c9bedf82f4
BLAKE2b-256 036bd520453a93b7316ee5d6a2be6d6e6b89fa62ce2f3279484f030b949b108a

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