Commit Graph

322 Commits

Author SHA1 Message Date
Jguer
4bfeb6d9da Merge branch 'master' of https://github.com/BrianAllred/yay into BrianAllred-master 2018-02-13 17:36:24 +00:00
J Guerreiro
a3ff306f8b
Merge pull request #148 from Jguer/fix#138
Fix #138. Fix some display messages and eliminates secret sauce
2018-02-13 17:35:13 +00:00
Brian Allred
7471478352 Make devel operations respect default branch 2018-02-10 17:12:44 -06:00
J Guerreiro
7b2b2fb7bc
Merge pull request #143 from Jguer/revert-142-fix#122
Revert "Respect --noconfirm in config"
2018-02-09 20:27:52 +00:00
J Guerreiro
3bc33c1b64
Revert "Respect --noconfirm in config" 2018-02-09 20:27:34 +00:00
J Guerreiro
20128f4776
Merge pull request #142 from Morganamilo/fix#122
Respect --noconfirm in config
2018-02-09 09:52:00 +00:00
morganamilo
519014af3d
Respect --noconfirm in config 2018-02-09 03:34:29 +00:00
Jguer
3f69df424f
fixes some display messages and eliminates secret sauce 2018-02-08 22:51:43 +00:00
J Guerreiro
b7e47c3fa4
Merge pull request #139 from kshlm/readd-support-for-PacmanBin
Re-add support for PacmanBin
2018-02-08 13:55:03 +00:00
Kaushal M
22d10f287a
Re-add support for PacmanBin 2018-02-08 15:04:47 +05:30
Jguer
28515c8beb adds conflicting packages prompt 2018-02-07 12:37:24 +00:00
Jguer
c0901ff86b Fixes --noconfirm. Changes default build location to ~/.cache/yay/ 2018-02-07 12:06:56 +00:00
J Guerreiro
fb8297881f
Merge pull request #136 from reesmichael1/prettify
Prettify repository download messages
2018-02-06 12:33:12 +00:00
Michael Rees
27c99a566b
Different colors for AUR/repo packages 2018-02-05 14:18:16 -06:00
Michael Rees
3df03c3291
Prettify repository download messages 2018-02-05 14:05:58 -06:00
J Guerreiro
d2db36ac7a
Merge pull request #129 from simon04/typos
Fix typos in code/comments
2018-02-05 09:00:41 +00:00
J Guerreiro
89586fd23d
Merge pull request #133 from jplatte/master
s/PKGBuild/PKGBUILD
2018-02-05 09:00:05 +00:00
Jonas Platte
9c524a4ece s/PKGBuild/PKGBUILD 2018-02-01 10:13:32 +01:00
Simon Legner
750ae0254c Fix typos in code/comments 2018-01-31 22:07:02 +01:00
J Guerreiro
bd25a45829
Merge pull request #126 from Morganamilo/fix#122
Fixes #122 properly
2018-01-31 17:50:23 +00:00
morganamilo
0f0100b4d0
Fixes #122 properly
Options such as --devel are now striped from the parser before handling
the command but the option is still processed so that config.devel would
be true.

Also changed `changedConfig` to a global in config.go
2018-01-31 17:44:15 +00:00
Jguer
ce1b09c94d
Fixes #125 2018-01-31 17:25:18 +00:00
J Guerreiro
3f09df3703
Merge pull request #124 from Morganamilo/fix#122
Filter out yay command line options
2018-01-31 17:04:31 +00:00
morganamilo
66f2c8f869
Filter out yay command line options 2018-01-31 16:09:15 +00:00
Jguer
fb220d45d5
Resolves #115. Ignore aur/package on install 2018-01-31 16:01:16 +00:00
Jguer
2f5c4df661
Updates var version so yay-git can update program version 2018-01-31 19:49:16 +09:00
Jguer
fa479c2670 Updates fish completions
Updates man page and usage
Changes -G to -Yg but doesn't remove previous option yet.
2018-01-31 19:27:11 +09:00
J Guerreiro
57741cd9c1
Merge pull request #118 from heyitswither/master
add yay-git to the packages list
2018-01-31 09:04:52 +00:00
Tucker Boniface
553535e082 i missed a - :( 2018-01-28 22:26:22 -08:00
Tucker Boniface
7ce03949bc add yay-git to the packages list 2018-01-28 22:22:35 -08:00
J Guerreiro
b69bab8c51
Merge pull request #113 from Jguer/colorPrint
Color print
2018-01-26 15:27:50 +00:00
Jguer
a25ed83b21
Fixes version colouring. Semi-fixes collumn allignment 2018-01-26 15:27:47 +00:00
Jguer
ecc337c29f
Finishes porting text to new colour format. 2018-01-26 15:04:10 +00:00
Jguer
f466fc74f5
Ports more text to new colour format. 2018-01-26 11:30:33 +00:00
Jguer
5286f3858c
References #109. Begins to add escape codes and string constants 2018-01-26 10:18:49 +09:00
Jguer
a4d0ef108f
Fixes #75. Needs sudo. Prints number of updates and update list. 2018-01-25 20:39:26 +00:00
J Guerreiro
b65dd862cc
Merge pull request #111 from Morganamilo/installalg
Fix install not listing all dependencies
2018-01-22 14:02:46 +00:00
morganamilo
5100fea56a
Fix install not listing all dependencies
Sometimes yay will not list all of the dependancies it needs when
installing packages. I mostly noticed this on libjpeg-turbo and the
issue was that the packages requring libjpeg-turbo were only requesting
libjpeg which was provided by libjpeg-turbo.

Now when we cache package info from the syncdb also alias the package name
to all of it's provides.
2018-01-22 12:46:30 +00:00
J Guerreiro
adf9758932
Merge pull request #107 from Morganamilo/fixparser
Fix numbermenu not working with new install alg
2018-01-22 07:49:59 +00:00
morganamilo
a33ef81794
Fix numbermenu not working with new install alg 2018-01-21 11:48:09 +00:00
J Guerreiro
69c8bf37c8
Merge pull request #106 from Jguer/print
Basic new Print option implementation
2018-01-21 08:05:02 +09:00
Jguer
63bc57e99e Merge branch 'Morganamilo-reorderinstall' 2018-01-21 08:04:02 +09:00
Jguer
3c9a31994c
Linted using Neoformat, all linters enabled 2018-01-21 07:37:10 +09:00
Jguer
5d43852a11 Merge branch 'reorderinstall' of https://github.com/Morganamilo/yay into Morganamilo-reorderinstall 2018-01-21 03:57:43 +09:00
Jguer
9d55882ce2
Added statistics to new interface. Removed old. 2018-01-21 03:39:53 +09:00
Jguer
8fd8cd65fa
Fixed bash completion 2018-01-21 02:58:18 +09:00
Jguer
19edd5a139
Fixed ZSH completion 2018-01-21 02:52:55 +09:00
Jguer
42889821d3
New print option, added new completion syntax, fixed fish completion 2018-01-21 02:48:40 +09:00
Jguer
14f83053a5
Missing vendor files added 2018-01-21 01:49:24 +09:00
morganamilo
3275f8d8ac
New install algorithm
I have replaced the old install and dependancy algorithms with a new
design that attemps to be more pacaur like. Mostly in minimizing user
input. Ask every thing first then do everything with no need for more
user input.

It is not yet fully complete but is finished enough so that it works,
should not fail in most cases and provides a base for more contributors
to help address the existing problems.

The new install chain is as follows:
	Source info about the provided targets
	Fetch a list of all dependancies needed to install targets
		I put alot of effort into fetching the dependancy tree
		while making the least amount of aur requests as
		possible. I'm actually very happy with how it turned out
		and yay wil now resolve dependancies noticably faster
		than pacaur when there are many aur dependancies.
	Install repo targets by passing to pacman
	Print dependancy tree and ask to confirm
	Ask to clean build if directory already exists
	Download all pkgbuilds
	Ask to edit all pkgbuilds
	Ask to continue with the install
	Download the sources for each packagebuild
	Build and install every package
		using -s to get repo deps and -i to install
	Ask to remove make dependancies

There are still a lot of things that need to be done for a fully working
system. Here are the problems I found with this system, either new or
existing:
	Formating
		I am not so good at formatting myself, I thought best to
		leave it until last so I could get feedback on how it
		should look and help implementing it.
	Dependancy tree
		The dependancy tree is usually correct although I have
		noticed times where it doesnt detect all the
		dependancies that it should. I have only noticed this
		when there are circular dependancies so i think this
		might be the cause. It's not a big deal currently
		because makepkg -i installed repo deps for us which
		handles the repo deps for us and will get the correct
		ones. So yay might not list all the dependancies. but
		they will get installed so I consider this a visual bug.
		I have yet to see any circular dependancies in the AUR
		so I can not say what will happend but I#m guessing that
		it will break.
	Versioned packages/dependencies
		Targets and dependancies with version constriants such
		as 'linux>=4.1' will not be checked on the aur side of
		things but will be checked on the repo side.
	Ignorepkg/Ignoregroup
		Currently I do not handle this in any way but it
		shouldn't be too hard to implement.
	Conflict checking
		This is not currently implemented either
	Split Paclages
		Split packages are not Handles properly. If we only
		specify one package so install from a split package
		makepkg -i ends up installing them all anyway. If we
		specify more than one (n) package it will actually build the
		package base n times and reinstall every split package
		n times.
	Makepkg
		To get things working I decided to keep using the
		makepkg -i method. I plan to eventually replace this
		with a pacman -U based method. This should allow passing
		args such as --dbpath and --config to aur packages
		aswell as help solve some problems such as the split
		packages.
	Clean build
		I plan to improve the clean build choice to be a little
		more smart and instead of check if the directory exists,
		check if the package is already build and if so skip the
		build all together.
2018-01-20 10:00:12 +00:00