Skip to content

alexchernokun/pacmanity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pacmanity

List of packages installed via pacman and yaourt on your Arch machine automatically saved to GitHub.

all ideas and improvments are always welcome!

Installation

1) Downloading and installing:

I don't know why, but owner of plist-gist (the repo where I took the source code) requested pacmanity removal from AUR, that is why, unfortunately, the only way to install is using the makepkg method below.

  • using yaourt Aur
$ yaourt pacmanity
  • using makepkg
$ wget https://github.com/alexchernokun/pacmanity/tarball/master -O - | tar xz

navigate to the downloaded directory (alexchernokun-pacmanity-xxxxxx):

$ makepkg
$ sudo pacman -U

2) Setup stage: On the installation stage you will be prompted to fill in GitHub credentials two times;

  1. first time it is needed to create gist for pacman-installed packages on GItHub;
  2. second time gist with AUR-installed packages should be set up, that is why the login details should be filled in once again

Usage

Every time you install or remove a package using official Arch repository or unofficial AUR all the changes will be saved privately to your GitHub account. You have nothing to do, just install the pacmanity, and that's all. Two hooks will be created and run everytime the pacman command is used.

recovery

By cloning the gist files to your fresh installed machine you can import them into pacman rather easy;

gist-clone

  • pacman package list:
$ git clone [email protected]:#############.git
$ cd #############
$ sudo pacman -S - < $(hostname).pacman
  • AUR package list:
$ git clone [email protected]:#############.git
$ cd #############
$ xargs <$(hostname).yaourt pacaur -S --noedit

Screenshots: Navigate to your Gist GitHub account here and you will see:

  • list of packages installed with 'pacman -S' command: pacman
  • list of packages installed from AUR with yaourt: AUR
  • every installation will be automatically added to the gist: after_installation
  • every removal also will be mentioned on the list: after_removal
*P.S.: : *And now for something completely different: ![bachmanity](https://pbs.twimg.com/media/Cjegi2dVAAEOU2n.jpg)

About

List of packages installed in your Arch Linux

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%