You are not logged in.

#1 2015-07-21 23:15:51

ids1024
Member
From: California
Registered: 2013-08-16
Posts: 243
Website

pacregex - Advanced regex search of pacman repositories

This is my earlier program, comminitytags with the tagging functionality removed. The result is, in my opinion, a useful tool for querying the pacman repos.

Examples:

# Find packages hosted on suckless.org
$ pacregex 'url=.*suckless.org'

# Find all packages depending on python that are hosted on github
$ pacregex 'url=.*github and depend=python'

# Find all packages in extra with names starting with "python" 
$ pacregex 'name=python and repo=extra'

# Find packages containing files with "pkgfile" in their paths
$ pacregex 'file=.*pkgfile'

# Find packages with files in /bin or /usr/bin, hosted on github, depending on python, under the MIT license
$ pacregex '(file=bin or file=usr/bin) and url=.*github and depend=python and license=MIT'

I hope I'm not the only one to find such a program useful.

https://github.com/ids1024/pacregex
https://aur.archlinux.org/packages/pacregex-git/

Last edited by ids1024 (2015-07-21 23:16:10)


"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/

https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024

Offline

#2 2015-07-22 00:03:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pacregex - Advanced regex search of pacman repositories

Offline

#3 2015-07-22 00:30:51

ids1024
Member
From: California
Registered: 2013-08-16
Posts: 243
Website

Re: pacregex - Advanced regex search of pacman repositories

@karol Fixed. Thanks for pointing it out.


"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/

https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024

Offline

Board footer

Powered by FluxBB