1
0
mirror of https://github.com/Jguer/yay synced 2024-07-09 04:46:19 +00:00
Go to file
morganamilo ef7e8acb13
Refactor complex map types into their own type
map[string][]string  -> mapStringSlice
mao[string]stringSet -> mapStringSet
2018-05-07 23:42:41 +01:00
.go Improve makefile 2018-03-23 05:36:19 +00:00
completions Add completions for --news 2018-05-06 03:31:09 +02:00
doc Clarify Package Ranges in doc 2018-04-23 13:43:17 -04:00
testdata/keys Do not depend on the Internet for keys_test.go 2018-03-23 14:17:47 -04:00
vendor/github.com Updated vendor dependencies 2018-04-17 13:53:37 +01:00
.gitignore fix Makefile and fix README 2018-02-17 18:27:36 +00:00
callbacks.go Fix misspellings and typos 2018-04-17 18:01:34 +01:00
clean.go Add support for -Sc 2018-04-17 13:53:37 +01:00
cmd.go Add completions for --news 2018-05-06 03:31:09 +02:00
completions.go Fix completions from using wrong path. Regression introduced in filepath join 2018-04-21 16:43:12 +01:00
config.go Fix completions from using wrong path. Regression introduced in filepath join 2018-04-21 16:43:12 +01:00
conflicts.go Refactor complex map types into their own type 2018-05-07 23:42:41 +01:00
dependencies.go Refactor complex map types into their own type 2018-05-07 23:42:41 +01:00
download.go Add mised filepath.Join() calls 2018-05-03 01:47:24 +01:00
Gopkg.lock Updated vendor dependencies 2018-04-17 13:53:37 +01:00
Gopkg.toml dep: prune all dependencies by default 2018-02-27 10:14:26 +00:00
install.go Bump MAJOR_VERSION 2018-04-26 20:53:34 +01:00
ISSUE_TEMPLATE.md Fix strange linting applied 2018-02-28 14:11:40 +00:00
keys_test.go Use megacheck to lint project 2018-04-27 01:25:40 +01:00
keys.go Remove no longer needed function and lint 2018-04-16 00:18:01 +01:00
LICENSE Create LICENSE 2016-09-05 03:43:29 +01:00
main.go Use more filepath.Join, standardize separators 2018-04-28 12:15:18 +01:00
Makefile Bump MAJOR_VERSION 2018-04-26 20:53:34 +01:00
parser_test.go Use megacheck to lint project 2018-04-27 01:25:40 +01:00
parser.go Fix warning by megacheck in parser 2018-04-27 02:43:10 +01:00
print_test.go Fixed tests for unified structure 2017-08-07 10:53:20 +01:00
print.go Merge pull request #377 from AlexWayfer/make_upgrade_output_as_table 2018-05-07 23:05:34 +01:00
query_test.go Fixed tests for unified structure 2017-08-07 10:53:20 +01:00
query.go Refactor complex map types into their own type 2018-05-07 23:42:41 +01:00
README.md Fix small indent issue 2018-04-28 17:35:53 +01:00
upgrade_test.go Add more tests for upgrade highlighting 2018-04-17 10:25:21 +03:00
upgrade.go Make upgrade output as table 2018-05-08 00:41:35 +03:00
utils.go Refactor complex map types into their own type 2018-05-07 23:42:41 +01:00
vcs_test.go Add parseNumberMenu() 2018-03-10 03:04:44 +00:00
vcs.go Use megacheck to lint project 2018-04-27 01:25:40 +01: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

Frequently Asked Questions

  • Yay does not display colored output. How do I fix it?
    Make sure you have the Color option in your /etc/pacman.conf #123

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 -G downloads PKGBUILD from ABS or AUR
  • yay -Y --gendb generates development package DB used for devel updates.
  • yay -Syu --devel --timeupdate Normal update but also check for development package updates and uses PKGBUILD modification time and not version to determine update