pacops

Crates.iopacops
lib.rspacops
version0.0.2
sourcesrc
created_at2021-04-06 13:04:01.220993
updated_at2021-07-31 16:52:44.941449
descriptionPKGBUILD maintainer Swiss Army knife
homepage
repositoryhttps://github.com/ejiek/pacops
max_upload_size
id379815
size122,511
Vlad (ejiek)

documentation

https://docs.rs/pacops

README

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

Commit count: 46

cargo fmt