Giter Club home page Giter Club logo

pachist's Introduction

Pachist

A small program written in bash to show installed package history in Arch Linux. It can be used by it's own by simply write 'pachist' on the command line or run directly after another command like 'yaourt -Syua --devel --noconfirm && pachist'. I also added a verbose prefix "pachist -v" as it can sometimes be good to show install messages.

ScreenShot

Usage: pachist [options] [number of lines]

options:

-d, --date              Search by date
-h, --help              Show this help
-n, --num               Show line numbers
-p, --package           Show output about a specific package
-q, --quiet             Show less information
-v, --verbose           Show verbose messages
-V, --version           Show current version
    --warn              Not as verbose, just warning messages
<number>                The number of lines to show
                            
    Numbers also have support to show range of lines. The syntax is either <n> for 
    total number of lines or <n>,<n> for a range were the first number before the 
    comma tells which line from the bottom to start with and the number after the 
    comma describes the total number of lines to show. It can be very usefull 
    together with the -q flag.

The configuration file can be found at ~/.config/pachist.conf and currently holds ability to change default colors and number of lines to be shown.

ScreenShot

ScreenShot

pachist's People

Contributors

shellkr avatar silentboatman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pachist's Issues

is pachist broken?

Hi.

I've been using pachist since I was introduced to it a few years ago.
For some reason it stopped keeping track 25 oct 2019.
I tried to remove the script and reinstall it but with the same result. Nothing new after that date.

Including a pic
https://imgur.com/a/xd2vpPA

Conflicting colours with solarized colours

Hi there,

Thanks a lot for your neat script. Really a lifesaver to quickly being able to review the installed packages!

I noticed a small conflict with colours when using the solarized colours in urxvt:

image

I started the discussion on this in the respective thread on the Arch Linux forums and it seems that this is not an issue of the colour scheme but rather of the program.

What is your take on this and how to fix it?

Thanks for your advice!

Add support for printing a specific range of lines

Now with the --quiet option it got me thinking. It would be nice to have ability to select a specific range of lines instead of the tail based we have now. The syntax should be kept as close as possible to the one already existing but smarter.

ex..
pachist -q 3-5
pachist -q {3,4,6}

or something similar...

Adding support for grepping for packages

There's a bug in empathy that I have to patch everytime there's an update. Recently empathy started to act weird and I suspected that pacman -Su had updated it without me noticing it. So, I did a pachist 20000 | grep empathy and yes, there was an update I had missed.

Anyhow, it would be great if pachist had the ability to filer/grep one or several packages. Something like this:

proposed syntax corresponding commands
pachist empathy pachist 20000
pachist empathy 20 pachist 20000
pachist -v empathy pachist 20000
pachist empathy pidgin pachist 20000

Add support for numbered list.

A numbered list could be good to have when using -q flag. To help determine from which package to where the output should be. A simple -n flag and $(tac | nl | tac) would probably do it.

Example output:

pachist -n 3
3 package1
2 package2
1 package3

search by date

Would be cool to be able to search by date.. you maybe want to go back to a date and see what you installed that day.

devel check encountered error

when I update my system and it comes to pachist, this shows;
:: Searching AUR for updates...
:: Checking development packages...
-> devel check for package failed: '/usr/bin/git ls-remote git://github.com/shellkr/pachist.git master' encountered an error

Not sure if this is something serious but thought I should mention it.
Still very grateful for this fantastic helpful script

thanks sweden

not an issue but a great program so thank you for this. I 've been using it since you showed it to me the first time.

i'll try to promote it now and then as it deserves more cred and it is reaally helpful

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.