Find a file
morganamilo e61263ff96
Install repo deps for aur packages at the start
Install all deps for aur packages after the user confirms they want to
continue installing. This takes most of the load off of makepkg -s but
the -s is still left in for some edge cases with split packages.
2018-02-15 21:41:49 +00:00
vendor/github.com Missing vendor files added 2018-01-21 01:49:24 +09:00
.gitignore Minor polishing using gometalinter. 2017-12-04 15:24:20 +09:00
bash-completion Fixed bash completion 2018-01-21 02:58:18 +09:00
clean.go fix #147 with a sudo loop 2018-02-13 18:20:15 +00:00
cmd.go Fix extended info (-Sii) not passing to pacman 2018-02-14 10:10:07 -06:00
completions.go New print option, added new completion syntax, fixed fish completion 2018-01-21 02:48:40 +09:00
config.go Added space before [Y/n] and [y/N] prompts. 2018-02-15 01:58:07 +01:00
dependencies.go remove unneeded struct entries. Minor linting fix 2018-02-13 17:52:33 +00:00
download.go Finishes porting text to new colour format. 2018-01-26 15:04:10 +00:00
Gopkg.lock Updated vendored packages 2018-01-19 23:32:07 +09:00
Gopkg.toml Refactoring 2017-08-01 17:43:20 +01:00
install.go Install repo deps for aur packages at the start 2018-02-15 21:41:49 +00:00
LICENSE Create LICENSE 2016-09-05 03:43:29 +01:00
Makefile Minor polishing using gometalinter. 2017-12-04 15:24:20 +09:00
parser.go Fixes #122 properly 2018-01-31 17:44:15 +00:00
print.go Different colors for AUR/repo packages 2018-02-05 14:18:16 -06:00
print_test.go Fixed tests for unified structure 2017-08-07 10:53:20 +01:00
query.go Fix extended info (-Sii) not passing to pacman 2018-02-14 10:10:07 -06:00
query_test.go Fixed tests for unified structure 2017-08-07 10:53:20 +01:00
README.md s/PKGBuild/PKGBUILD 2018-02-01 10:13:32 +01:00
upgrade.go Fix typos in code/comments 2018-01-31 22:07:02 +01:00
vcs.go remove unneeded struct entries. Minor linting fix 2018-02-13 17:52:33 +00:00
vcs_test.go Fixed tests for unified structure 2017-08-07 10:53:20 +01:00
yay.8 Updates fish completions 2018-01-31 19:27:11 +09:00
yay.fish s/PKGBuild/PKGBUILD 2018-02-01 10:13:32 +01:00
zsh-completion Fixed ZSH completion 2018-01-21 02:52:55 +09:00

yay

Yet another Yogurt - An AUR Helper written in Go

Packages

yay yay-bin yay-git GitHub license

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
  • Download PKGBUILD from ABS or AUR
  • Ask all questions first and then start building
  • Search narrowing (yay linux header will 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

Example of Custom Operations

  • yay <Search Term> presents package selection menu
  • yay -Ps prints system statistics
  • yay -Pu prints update list
  • yay -Yc cleans unneeded dependencies
  • yay -Yg yay -g downloads PKGBUILD from ABS or AUR
  • yay -Y --gendb generates development package DB used for devel updates.

Changelog

2.298

  • Adds #115

2.296

  • New argument parsing @Morganamilo (check manpage or --help for new information)
  • yay -Qstats changed to yay -Ps or yay -P --stats
  • yay -Cd changed to yay -Yc or yay -Y --clean
  • yay -Pu (--upgrades) prints update list
  • yay -Pn (--numberupgrades) prints number of updates
  • yay -G also possible through -Yg or -Y --getpkgbuild (yay -G will be discontinued once it's possible to add options to the getpkgbuild operation)
  • yay now counts from 1 instead of 0 @Morganamilo
  • Support for ranges when selecting packages @samosaara
  • Pacaur style ask all questions first and download first @Morganamilo
  • Updated vendor dependencies (Fixes pacman.conf parsing errors and PKGBUILD parsing errors)
  • Updated completions

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 $EDITOR or $VISUAL is not set yay will prompt you for an editor #7

1.91

  • --downtop has been replaced with --bottomup (as is logical)
  • yay -Ssq and yay -Sqs now 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