pkgpr

PRs to Gentoo repos

GPL-3.0 License

Stars
1

Project to automatically propose a PR to Gentoo

This is inspired by eb --new-pr EasyBuild.

app-portage/pkgpr exists in the ::apn overlay: https://gitlab.com/APN-Pucky/gentoo-apn

Dependencies

Needed:

  • dev-util/pkgdev
  • dev-util/github-cli

Optional:

  • app-admin/sudo
  • >=app-portage/pkg-testing-tools-0.2.3

Example

Update a single (ebuild) file(s):

user $ pkgpr -a APN-Pucky hepmc-3.2.6.ebuild hepmc-3.2.7.ebuild hepmc-9999.ebuild

produces following PR.

Submit new package:

user $ pkgpr -a APN-Pucky -r sci sci-physics/hoppet

produces following PR.

Testing

Automatic testing before commiting is possible with the --test flag that triggers pkg-testing-tool.

Configuration

Just write yourself a script or alias.