Commit graph

1220 commits

Author SHA1 Message Date
J Guerreiro
478e1ee869
Transition to jsdelivr
Raw git is getting discontinued in October, fix it now instead of repair it later.
2019-01-12 13:16:27 +00:00
J Guerreiro
b715c11306
Merge pull request #854 from 1ace/completion-bash-getpkgbuild
add bash completion for -G,--getpkgbuild
2019-01-07 23:01:41 +00:00
Eric Engestrom
ebf48ffa1a add bash completion for -G,--getpkgbuild 2019-01-07 21:30:00 +00:00
Jguer
5acee2706f
Fix typo in cache dir. References #840 2018-12-19 21:13:46 +00:00
Anna
3e1f29277b
Merge pull request #832 from parkerlreed/master
Match the query date/time to pacman. Fixes #831
2018-12-12 19:47:23 +00:00
Parker Reed
6db8864572 Match the query date/time to pacman. Fixes #831 2018-12-12 14:37:56 -05:00
Jguer
d3a9082f2a
Update patch version of yay to reflect makefile changes 2018-12-07 14:00:17 +00:00
J Guerreiro
14cb1c587f
Merge pull request #826 from Jguer/gcc-go
Readd gopath tweaks to function in makepkg. Only for gcc-go
2018-12-07 13:51:54 +00:00
Jguer
555b166fd3
Readd gopath tweaks to function in makepkg. Only for gcc-go 2018-12-07 13:50:57 +00:00
J Guerreiro
13e3acaedf
Merge pull request #825 from Jguer/gcc-go
Detect gccgo and give them their own flags. #824
2018-12-07 13:44:47 +00:00
Jguer
cc0036c43b
Detect gccgo and give them their own flags. #824 2018-12-07 13:37:44 +00:00
J Guerreiro
1bb73667c9
Add information about development packages 2018-12-06 22:36:53 +00:00
J Guerreiro
fa8d4b0184
Merge pull request #822 from sseering/master
fix copy-paste error
2018-12-06 20:58:53 +00:00
Stefan Seering
cc98fa0670 fix copy-paste error 2018-12-06 20:01:09 +01:00
Jguer
47373c5631
update version 2018-12-06 08:09:05 +00:00
Jguer
a05886d9eb
Update major version 2018-12-03 14:51:17 +00:00
Jguer
6b31a1a626
Finish transition to go modules even in gopath 2018-12-03 14:49:39 +00:00
Jguer
84022c9425
Merge branch 'modules' of github.com:Morganamilo/yay into Morganamilo-modules 2018-12-03 14:41:10 +00:00
J Guerreiro
7644a92c1c
Merge pull request #819 from Jguer/8.2
Fix tests broken in master
2018-12-03 14:06:10 +00:00
Anna
258f90edec
Merge pull request #817 from cezarmathe/master
Fixed a comment in download.go, line 18
2018-12-02 22:44:09 +00:00
Jguer
5bcadc58ac
Fix tests and prepare for release 2018-12-01 15:03:46 +00:00
cezarmathe
6a95783790
Fixed a comment in download.go, line 18 2018-11-30 11:41:30 +02:00
Anna
91cf1e27a1
Merge pull request #815 from Morganamilo/fix#812
Fix each iota not starting at 0
2018-11-29 20:45:10 +00:00
morganamilo
556a76c38d
Fix each iota not starting at 0 2018-11-29 20:42:06 +00:00
Anna
e18c236937
Merge pull request #799 from frebib/master
Print errors on stderr
2018-11-21 19:47:06 +00:00
Joe Groocock
52bf777e67
Print errors on stderr
This makes a start on fixing https://github.com/Jguer/yay/issues/715
It is by no means a complete solution, but instead a start
2018-11-20 22:27:30 +00:00
Anna
96a4d9637c
Merge pull request #791 from ZenixTheHusky/Fix#767
Modified readme to show extra dependency
2018-10-30 22:44:25 +00:00
Peter Dyer
57ba60f283 Modified readme to show extra dependency 2018-10-30 22:41:47 +00:00
Anna
431118b6ac
Merge pull request #783 from Morganamilo/unexport
Unexport consts. Make default a literal
2018-10-22 21:17:30 +01:00
Jguer
2ed7df4f5a
Unexport consts. Make default a literal
Signed-off-by: Jguer <me@jguer.space>
2018-10-22 21:00:16 +01:00
Anna
b40b1ef910
Merge pull request #779 from ZenixTheHusky/Fix#767
--noprovides now hides Yay's provider menu
2018-10-18 23:42:53 +01:00
Peter Dyer
c7123e03df Update man page for new --noprovides functionality 2018-10-18 23:27:49 +01:00
Peter Dyer
e71fb8617a --noprovides now hides Yay's provider menu
--noprovides flag now takes the default option in the provider menu
without showing the menu.
2018-10-18 23:12:51 +01:00
Anna
c2aeb4bc4e
Merge pull request #767 from Morganamilo/merge-dep-pool-order
Merge dep pool order and rework inner conflicts
2018-10-18 10:15:40 +01:00
Jguer
1f1cee7023
Update manual config version 2018-10-18 09:19:45 +01:00
Anna
79f7322722
Merge pull request #775 from dvejmz/fix#753
Handle libalpm callbacks when checking DB satisfiers for a package
2018-10-17 00:18:55 +01:00
dvejmz
d42f737849 Handle libalpm callbacks when checking DB satisfiers for a package
Hide provider menu when checking for the existence of a package in
the repos
2018-10-16 23:55:35 +01:00
Anna
a565544712
Merge pull request #770 from ZenixTheHusky/Fix#769
Added a more verbose message when db.lck exists
2018-10-13 18:57:40 +01:00
Peter Dyer
145a1393b5 Added a more verbose message when db.lck exists 2018-10-13 18:55:09 +01:00
morganamilo
7702a88ebb
Print conflicts in order of install
This is usefull for inner conflicts, you can follow when packages will
be swapped out with others.
2018-10-13 18:24:22 +01:00
morganamilo
0bfba1f24b
Use slices for AUR dep resolving
This ensures AUR packages are always installed in the order specified by
the user. In the case there are any inner conflicts packages will be
removed in a predictable way.
2018-10-13 18:24:00 +01:00
morganamilo
f648697994
Rework inner conflicts
Inner conflicts now check against the previously installed aur packages
For example when installing yay, yay-bin and yay-git

yay will be checked the previously insalled packages (nothing)

yay-bin will be checked the previously insalled packages and see that it
conflicts with yay and warn you that yay will be removed

yay-git will be checked the previously insalled packages and see that it
conflicts with yay but see that it has already been removed by yay-bin
so does nothing. Then it will see that it conflicts with yay-bin and
warn you that yay-bin will be removed

This example is unlikley to happen unless the user enters
`yay -S yay yay-bin yay-git`. But where this does happen is packages
which have some sort of bootsrapping process such as ffmpeg-libfdk_aac.

If two repo packages conflict then we abort. This is because they will
be installed at the same time and we never swap repo packages mid AUR
install.
2018-10-13 17:04:22 +01:00
morganamilo
5080e400e1
Remove printing conflict name in conflicts
Currently when printing conflicts the package name is printed and then
name of the conflict if it differs from the package name.

For example if yay-git is installed and you are installing yay-bin:
	yay-bin conflicts with yay
	yay-git provides yay

	so the conflict is printed as "yay-bin (yay)"

This is not too bad but some packages have many provides and conflicts
that ends up cluttering the output.

For example if gvim is installed and you are installing vim:
	"gvim, gvim (vim-minimal), gvim (vim)" is printed

Just printing the package name should be enough information. If not the
user can always -Si either package.
2018-10-13 17:04:22 +01:00
morganamilo
ff4f076d57
Move depSolver checks back to depCheck.go 2018-10-13 17:04:22 +01:00
morganamilo
a83f8fb9e8
Remove depPool and depOrder code 2018-10-13 17:04:21 +01:00
morganamilo
4ff36fbd4b
Use depSolver in install 2018-10-13 17:04:21 +01:00
morganamilo
704e8406d1
Merge depOrder with depSolver
merge both dependency resolving parts into depSolver. The name was
choosen simply to not colide with the current code.

depSolver works but it not implemented in the install process and is
missing conflict checking.
2018-10-13 17:04:21 +01:00
Anna
827dbd21cb
Merge pull request #768 from Morganamilo/askflag
Add ask to accepted flags
2018-10-13 01:33:05 +01:00
morganamilo
8c44da374c
Add ask to accepted flags
Again, the list was generated via the manpage and as this is
undocumented it was forgotten.
2018-10-13 01:31:16 +01:00
morganamilo
0efc31a881
Add helper functions for []Base 2018-10-11 00:14:33 +01:00