2 releases

0.0.2 Jul 31, 2021
0.0.1 Apr 6, 2021

#683 in Build Utils

GPL-3.0-or-later

43KB
1K SLoC

Warning: This is an extremely early version. We're just testing ideas. Implementation might change completely.

PacOps is a package maintainers Swiss Army knife. It's not an AUR helper, but it's made to help you maintain PKGBUILD files.

General Goals:

  • Upstream updates check
  • Applying update to a PKGBUILD file
  • Availability as GitHub Action
  • AUR package maintenance (generate .SRCINFO, commit, subtree or regular push)
  • Repo maintenance (build, sign, add to a repo db, upload)

Development progress

  • Usable locally
  • Supports only debian repositories as upsteam, example (with only one package and different version)
  • Builds locally or in a user-provided chroot
  • Commits updates with a commit message generate from a template
  • Updates a local system or a chroot
  • Somewhat runnable in Docker

Take part! We have discussions, issues and PRs.

Install

Should be available as

Docker usage

PacOps docker image is based on archlinux:base-devel and uses itself as a build environment.

docker run -v ${PWD}:/usr/share/pacops pacops ${path_to_a_PKGBUILD}

Git variables: GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL

Makepkg variables: PACKAGER="John Doe <john@doe.com>"

Roadmap

  • Documentation
  • GitHub as an upstream:
    • releases
    • tags
    • branches
  • Rootless containers (currently we don't have a workflow for rootless podman)
  • Migrate from dummy parsing to NomCup
  • Clean chroot life cycle (create, update, delete)
  • Navigate user through repo creation
  • State awareness - what's in git, AUR, repo

Alternatives

Dependencies

~13–28MB
~450K SLoC