Commit Graph
354 Commits
Author SHA1 Message Date
Jguer f612d89b49 fix Makefile and fix README 2018-02-17 18:27:36 +00:00
Jguer 808248b402 Fixes Versioning 2018-02-17 18:02:53 +00:00
J Guerreiro 2925b8fb0a Merge pull request #155 from Morganamilo/fixsi
Fix -Si failing when given a non existing package
2018-02-17 18:00:58 +00:00
morganamilo da8538364a Fix -Si failing when given a non existing package 2018-02-17 17:48:51 +00:00
Jguer 2da25e87d1 Update vendored packages v2.350 2018-02-17 16:31:32 +00:00
J Guerreiro 25eb2e2a16 Merge pull request #154 from Morganamilo/handleconflicts
Improve conflict handling
2018-02-17 16:29:45 +00:00
morganamilo e88bf0f5b7 Improve conflict handling
Renable conflict checking, was disabled for testing, forgot to reenable
Use pacman --ask to remove conflicting packages, dont do it directly.
Say what each package conflicts with
Check for conflicts before aking for clean build

Reverse conflict are still not checked
2018-02-16 22:39:46 +00:00
J Guerreiro 344f2441b9 Merge pull request #153 from Morganamilo/fixsudo
Hang on first sudo
2018-02-16 19:49:09 +00:00
morganamilo d04ca15228 Hang on first sudo
Currently sudoloop is run in parallel with the rest of the code this
causes the first sudo prompt to ask for a password while the code
continues running.

Instead hang on the first sudo, giving the chance for the user to enter
a password then continue the loop in the background.
2018-02-16 18:12:22 +00:00
Jguer e0dc149c76 disable saving noconfirm value 2018-02-16 17:44:54 +00:00
Jguer 5574ff4648 Merge branch 'Morganamilo-lessmakepkg' 2018-02-16 17:24:36 +00:00
Jguer 433f5b6ce1 Apply linting to patch 2018-02-16 17:18:59 +00:00
Jguer 6913770b4d Merge branch 'lessmakepkg' of https://github.com/Morganamilo/yay into Morganamilo-lessmakepkg 2018-02-16 17:16:56 +00:00
morganamilo 3c7118e9de Have MakeOnly live up to it's name
Fix for packages which are makedeps to one package but runtime deps to
another showing up in MakeOnly
2018-02-16 16:27:53 +00:00
morganamilo 03295c3f3f Install repo deps for aur packages after questions 2018-02-16 15:50:54 +00:00
morganamilo cdaee7d1d4 Improve support for split packages
Split packages are now grouped together when printing displaying the
package base and the packages inside of the base to beinstalled. If only
one packge is to be installed from a base and the package name matches
the base name print normally

Only build and install once per package base

Only ask questions once per package base for editing pkgbuils and clean
build
2018-02-16 15:49:18 +00:00
Jguer 12bc784f60 Updated vendor directory 2018-02-16 13:44:11 +00:00
Jguer 9f734bdf8d References #147. Sudo loop is off by default 2018-02-16 13:15:05 +00:00
morganamilo e1f3cb6682 run cleanafter after finishing the install process
Cleanafter is now run right at the very end of install instead of after
each makepkg command.
2018-02-15 21:41:49 +00:00
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
morganamilo f58421953b Skip build if package is already built in cache 2018-02-15 21:41:49 +00:00
morganamilo 8c3c125900 Bump pkgver before parsing .SRCINFO 2018-02-15 21:41:49 +00:00
morganamilo 83491069d3 Split .SRCINFO parsing to its own function 2018-02-15 21:41:49 +00:00
morganamilo ad898b2d33 Regenerate .SRCINFO if editing the PKGBUILD 2018-02-15 21:41:49 +00:00
morganamilo 24d8b57172 Use -Ru instead of -R when removing make depends
When installing a package might be a dependancy for something and a make
dependancy for something else. This means when prompted to remove make
dependencies yay might also try to remove a package that is actually
needed causing a pacman error.

Adding the -u option will cause pacman to skip needed packages and give
a nice warning as it does so. It does not fix the root issue but works
for now.
2018-02-15 21:41:49 +00:00
J Guerreiro 4075d37246 Merge pull request #150 from Serede/master
Added space before [Y/n] and [y/N] prompts.
2018-02-15 08:49:57 +00:00
J Guerreiro fb032c65b6 Merge pull request #149 from BrianAllred/master
Fix not passing enough args to pacman
2018-02-15 08:49:34 +00:00
Serede Sixty Six aba42b109e Added space before [Y/n] and [y/N] prompts. 2018-02-15 01:58:07 +01:00
Brian Allred 510bd7e172 Fix extended info (-Sii) not passing to pacman 2018-02-14 10:10:07 -06:00
Jguer 78742a9429 fix #147 with a sudo loop 2018-02-13 18:20:15 +00:00
Jguer f26ca4f100 Merge branch 'BrianAllred-master' 2018-02-13 17:52:55 +00:00
Jguer 41c37153e5 remove unneeded struct entries. Minor linting fix 2018-02-13 17:52:33 +00:00
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