Autogit is a Bash tool to automatically build and update Pacman applications from PKGBUILD’s available on Github and Gitlab via configurable Makepkg or Manjaro Buildpkg commands. It can also create automatically repo names like core , extra , community and create/update a repo database file via
repo-add. Additionally it clears each local repo with
paccache -v -r -k 1 -cto only keep the latest package version.
It checks for the
pkgver of the PKGBUILD to update applications and can either run once or in a loop with a timer setting.
More information on how to set it up is available in autogit.conf, examples are included.
Currently 2 Github and 3 Gitlab sources are available to use. There is no limitation of packages for each source, which need to be added to the reponames folder.
It can currently create 2 different Github repo folders and 3 different Gitlab repo folders.
How to install:
sudo pacman -Syu base-devel git
git clone https://github.com/puxplaying/autogit.git
How to run:
To run it automatically without a password prompt for
buildpkg , it can be added to
echo "$USER ALL = NOPASSWD: /usr/bin/buildpkg" | sudo tee /etc/sudoers.d/$USER
This little tool is still in early development and needs a lot of testing, any feedback to improve it is welcome.