upkeep

Portage update helper commands.

https://github.com/tatsh/upkeep

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.3%) to scientific vocabulary

Keywords

administration command-line gentoo
Last synced: 4 months ago · JSON representation ·

Repository

Portage update helper commands.

Basic Info
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
administration command-line gentoo
Created over 7 years ago · Last pushed 5 months ago
Metadata Files
Readme Changelog Contributing Funding License Citation Codeowners Security

README.md

Easier Gentoo system maintenance

Python versions PyPI - Version GitHub tag (with filter) License GitHub commits since latest release (by SemVer including pre-releases) CodeQL QA Tests Coverage Status Documentation Status mypy pre-commit pydocstyle pytest Ruff Downloads Stargazers

@Tatsh Mastodon Follow

This is a set of commands to simplify maintaining a Gentoo system.

Installation

Poetry

shell poetry add upkeep

Pip

shell pip install upkeep

emerges

This command will do the following:

  • Update Portage
  • Update @world with options --with-bdeps=y, --update, --deep, --newuse
  • Update live installations of packages (@live-rebuild)
  • Run emerge @preserved-rebuild
  • Run systemctl daemon-reexec (if applicable)
  • Update the kernel

There are flags to disable most parts of this functionality, such as --no-upgrade-kernel. Pass --help to see all the options.

Automatic kernel update process

Older versions of this tool supported various ways to update the kernel to boot from. However this is better left to the configuration and hooks of kernelinstall which is invoked by make install.

The automatic kernel update will only work if there are 2 kernels displayed with the command eselect --brief kernel list. The first one in the list must be the active kernel. The second one is the one to upgrade to. After switching to the new kernel, a .config must exist in /usr/src/linux or the command will not run make. If the configuration exists at /proc/config.gz it will be used.

If emerges fails to build the kernel because of the state of eselect kernel list, you can fix it and re-run the update by running upgrade-kernel.

The old kernel data in /boot will be stored in /root/.upkeep/old-kernels.

If you want to only rebuild the kernel, run rebuild-kernel.

ecleans

This command will run the following commands (or equivalents):

  • emerge --depclean
  • emerge @preserved-rebuild
  • revdep-rebuild
  • eclean-dist --deep
  • rm -fR /var/tmp/portage/*

Owner

  • Login: Tatsh
  • Kind: user

Citation (CITATION.cff)

authors:
  - family-names: 'Udvare'
    given-names: 'Andrew'
cff-version: '1.2.0'
date-released: '2025-04-19'
message: 'If you use this software, please cite it as below.'
title: 'upkeep'
version: '1.6.1'

GitHub Events

Total
  • Delete event: 107
  • Issue comment event: 4
  • Push event: 136
  • Pull request event: 203
  • Create event: 105
Last Year
  • Delete event: 107
  • Issue comment event: 4
  • Push event: 136
  • Pull request event: 203
  • Create event: 105

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 228
  • Total Committers: 3
  • Avg Commits per committer: 76.0
  • Development Distribution Score (DDS): 0.053
Top Committers
Name Email Commits
Andrew Udvare a****e@g****m 216
Tatsh T****h@u****m 7
dependabot[bot] 4****]@u****m 5

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 6
  • Total pull requests: 395
  • Average time to close issues: 11 months
  • Average time to close pull requests: about 19 hours
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.08
  • Merged pull requests: 362
  • Bot issues: 2
  • Bot pull requests: 395
Past Year
  • Issues: 2
  • Pull requests: 228
  • Average time to close issues: 1 minute
  • Average time to close pull requests: about 15 hours
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.03
  • Merged pull requests: 204
  • Bot issues: 2
  • Bot pull requests: 228
Top Authors
Issue Authors
  • Tatsh (4)
  • dependabot[bot] (4)
Pull Request Authors
  • dependabot[bot] (537)
Top Labels
Issue Labels
dependencies (4) python (4) bug (1) enhancement (1)
Pull Request Labels
dependencies (537) python (315) javascript (145)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 32 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 20
  • Total maintainers: 1
pypi.org: upkeep

Portage update helper commands.

  • Versions: 20
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 32 Last month
Rankings
Dependent packages count: 10.1%
Downloads: 13.9%
Average: 15.2%
Dependent repos count: 21.6%
Maintainers (1)
Last synced: 5 months ago

Dependencies

.github/workflows/python-publish.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/pythonpackage.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
poetry.lock pypi
  • alabaster 0.7.13 develop
  • astroid 2.13.3 develop
  • attrs 22.2.0 develop
  • babel 2.11.0 develop
  • certifi 2022.12.7 develop
  • charset-normalizer 3.0.1 develop
  • coverage 7.1.0 develop
  • dill 0.3.6 develop
  • docutils 0.19 develop
  • exceptiongroup 1.1.0 develop
  • idna 3.4 develop
  • imagesize 1.4.1 develop
  • iniconfig 2.0.0 develop
  • isort 5.12.0 develop
  • jinja2 3.1.2 develop
  • lazy-object-proxy 1.9.0 develop
  • levenshtein 0.20.9 develop
  • markupsafe 2.1.2 develop
  • mccabe 0.7.0 develop
  • mypy 0.991 develop
  • mypy-extensions 0.4.3 develop
  • packaging 23.0 develop
  • platformdirs 2.6.2 develop
  • pluggy 1.0.0 develop
  • pygments 2.14.0 develop
  • pylint 2.15.10 develop
  • pylint-quotes 0.2.3 develop
  • pytest 7.2.1 develop
  • pytest-cov 4.0.0 develop
  • pytest-mock 3.10.0 develop
  • pytoolconfig 1.2.4 develop
  • pytz 2022.7.1 develop
  • rapidfuzz 2.13.7 develop
  • requests 2.28.2 develop
  • rope 1.7.0 develop
  • snowballstemmer 2.2.0 develop
  • sphinx 6.1.3 develop
  • sphinxcontrib-applehelp 1.0.4 develop
  • sphinxcontrib-devhelp 1.0.2 develop
  • sphinxcontrib-htmlhelp 2.0.0 develop
  • sphinxcontrib-jsmath 1.0.1 develop
  • sphinxcontrib-qthelp 1.0.3 develop
  • sphinxcontrib-serializinghtml 1.1.5 develop
  • toml 0.10.2 develop
  • tomli 2.0.1 develop
  • tomlkit 0.11.6 develop
  • typing-extensions 4.4.0 develop
  • urllib3 1.26.14 develop
  • wrapt 1.14.1 develop
  • click 8.1.3
  • colorama 0.4.6
  • loguru 0.6.0
  • win32-setctime 1.1.0
pyproject.toml pypi
  • click ^8.1.3
  • loguru ^0.6.0
  • python ^3.10
.github/workflows/close-inactive.yml actions
  • actions/stale v5 composite