项目作者: JoaoCostaIFG

项目描述 :
Pacman hook to save pacman/AUR packages in github gists and handle their info.
高级语言: Shell
项目地址: git://github.com/JoaoCostaIFG/pbg.git
创建时间: 2020-01-27T02:45:54Z
项目社区:https://github.com/JoaoCostaIFG/pbg

开源协议:GNU General Public License v3.0

下载


Pacman Backup Gist (pbg)

This script and pacman hook saves all installed native and AUR packages
installed in your machine to 2 github gists and updates this information
automatically.
This small project was heavily inspired in pug which
pretty much accomplishes the same objectives with some small differences (this project
doesn’t use backup files and has some extra functions):

  • List packages currently saved in the gists (just pacman natives, just AUR or both)
    (-s/-u flag);
  • Using -Ss allows you to search for a given string on your gists (might).
    This is useful because the packages you have uploaded on your gists might be different
    from the ones you have on your computer currently (if syncing different machines);
  • Automatically install/uninstall packages to sync your machine with the information
    in the gists (-f flag): currently only supports pacman native packages;
  • No need to provide your github credentials as you have the option to provide
    an access token with gist permissions instead;
  • You can check the help text with the: -h, -H, -help or —help flags.

Install

  1. Install the gist package (if you haven’t already)
  1. sudo pacman -Syu gist
  1. Clone the repository
  1. https://github.com/JoaoCostaIFG/pbg.git
  1. Use the makefile
  1. sudo make install
  1. Go through the init process
  1. sudo pbg
  1. (optional) Check the help page for details/extra functions
  1. pbg -h