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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gentoo_update-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2d3768316e1054ee788623096a26048302d69826d071974784aec391fa490be |
|
MD5 | 56b5202bc662ee77b16495c9bedf82f4 |
|
BLAKE2b-256 | 036bd520453a93b7316ee5d6a2be6d6e6b89fa62ce2f3279484f030b949b108a |