mirror of
https://github.com/Jguer/yay.git
synced 2026-10-05 19:16:23 +00:00
765b76733335c442daffbf46f8d0ee429fd7faf8
Some of the yay specific operations such as: '-Qstats' '-Cd' Break the standard pacamn has set. Most yay specific specific options have been moved into their own operator: '-Y' '--yay' '-Qstats' -> '-Y --stats' '--Cd' -> '-Y --cleandeps' '--gendb' -> '-Y --gendb' Although: '-G' has been kepts and and alias has been added for is: '--getpkgbuild' This shouldnt feel too different for most people given that yay will default to: '-Y' when no operator has been specified. So calls like: 'yay --gendb' will still work as they did. Internally handleConfig has been partially refactored. Now all that remians in setters for config. All flags that did anything beond setting config have been moved to handleYay(). This means less nasty os.Exit()'s and nicer flow control. The usage has also been updated. The options changes have been added but the layout has also been tweaked a bit. Lastly on the things not done: Man page has not been updated Shell completion has not been updated This will be done in further commits as the usage is not guaranteed to stay the same between now the completion of the argument system.
yay
Yet another Yogurt - An AUR Helper written in Go
Packages
There's a point in everyone's life when you feel the need to write an AUR helper because there are only about 20 of them. So say hi to 20+1.
Yay was created with a few objectives in mind and based on the design of yaourt and apacman:
- Have almost no dependencies.
- Provide an interface for pacman.
- Have yaourt like search.
- Minimize user input
- Know when git packages are due for an upgrade.
Features
- AUR Tab completion
- Search narrowing (
yay linux headerwill first search linux and then narrow on header) - No sourcing of PKGBUILD is done
- The binary has no dependencies that pacman doesn't already have.
- Sources build dependencies
- Removes make dependencies at the end of build process
Custom Operations
yay <Search Term>presents package selection menuyay -Qstatsdelivers system statisticsyay -Cdcleans unneeded dependenciesyay -Gdownloads PKGBuild from ABS or AURyay --gendbgenerates development package DB used for devel updates.
Changelog
2.219
- Updated manpage
- Updated --help
- Fixed AUR update fails with large number of packages #59
- Check if package is already in upgrade list and skip it. #60
- Add -V and -h for flag parsing @AnthonyLam
- Prevent file corruption by truncating the files @maximbaz
- Print VCS error details @maximbaz
- Using '-' doesn't raise an error @PietroCarrara
- use Command.Dir in aur.PkgInstall; Fixes #32 #47 @afg984
- Suffix YayConf.BuildDir with uid to avoid permission issues @afg984 (Not included in last changelog)
2.200
- Development github package support readded
2.196
- XDG_CONFIG_HOME support
- XDG_CACHE_HOME support
2.165
- Upgrade list now allows skipping upgrade install
2.159
- Qstats now warns about packages not available in AUR
2.152
- Fetching backend changed to Mikkel Oscar's Aur
- Added support for development packages from github.
- Pacman backend rewritten and simplified
- Added config framework.
1.115
- Added AUR completions (updates on first completion every 48h)
1.101
- Search speed and quality improved #3
1.100
- Added manpage
- Improved search #3
- Added -G to get pkgbuild from the AUR or ABS. #6
- Fixed #8
- Completed and decluttered zsh completions
- If
$EDITORor$VISUALis not set yay will prompt you for an editor #7
1.91
--downtophas been replaced with--bottomup(as is logical)yay -Ssqandyay -Sqsnow displays AUR packages with less information- Repository search now uses the same criteria as pacman
1.85
- yay now does -Si for AUR packages
- Fixed package install bugs
1.83
- Added new dependency resolver for future features
- Sort package statistics
1.80
- yay now warns when installing orphan packages
- Added orphan status to number menu
- Qstats now checks if system has orphan packages installed
1.78
- Added foreign package statistics to Qstats
- Group installing is now possible
- Better handling of package dependency installing
1.76
- Fixed critical bug that prevented AUR dependencies from being installed.
1.70
- Stable for everyday use
- Bottom up package display
- Number menu like yaourt/apacman
- System package statistics
Languages
Go
94%
Shell
4.4%
Lua
1%
Makefile
0.4%
Dockerfile
0.2%