Commit graph

373 commits

Author SHA1 Message Date
Jguer
e800984e8f Release ready
Signed-off-by: Jguer <me@jguer.space>
2018-02-27 01:51:51 +00:00
J Guerreiro
f000afaa42
Merge pull request #168 from seankhliao/master
add config.String() to pretty print default config in valid json
2018-02-27 01:44:45 +00:00
Morgana
16288b3966
Merge pull request #175 from Morganamilo/fix#174
Fix -G being unable to download split packages
2018-02-27 01:35:20 +00:00
Jguer
601f56c348 Update vendor dependencies to latest version. Prepare for stable base
Signed-off-by: Jguer <me@jguer.space>
2018-02-27 01:34:24 +00:00
Morgana
3d34b16357
Merge pull request #177 from Morganamilo/fix#176
No longer split on space in getNameFromDep()
2018-02-22 21:26:48 +00:00
morganamilo
b8f2ac0ab3
No longer split on space in getNameFromDep()
This should not make any real difference as pkgnames and pkgvers
should not contain whitespace. But there was a problem where a packagepkg
connected two deps by quoting them.

depends=('make qt5-tools')

Because we split on spaces this caused yay to generate an error saying
it couldn't find 'make' when instead it should say it cant find
'make qt5tools' which was a little confusing.

This commit should fix the misleading error.
2018-02-22 21:17:47 +00:00
morganamilo
501e777aa0
Fix -G being unable to download split packages
this is a quick fix for now so it can be pushed out for the next
release. -G really should get the fancy split package printing that -S
now has `libc++ (libc++ libc++abi)`.
2018-02-22 21:11:41 +00:00
Morgana
2369f6a509
Merge pull request #169 from mvdan/no-color
upgrade: be consistent about no colors
2018-02-21 02:11:26 +00:00
Morgana
6150dd8083
Merge pull request #171 from Morganamilo/fix--
Fix handling of -- in parser
2018-02-20 21:41:34 +00:00
morganamilo
85a99198c3
Fix handling of -- in parser 2018-02-20 17:03:50 +00:00
Daniel Martí
269f6516d8 upgrade: be consistent about no colors
If pacman's color is off, don't use colors to mark the repos of
upgradeable packages.
2018-02-20 15:54:53 +00:00
Sean Liao
3355604910 update manpage for print configs 2018-02-20 23:30:56 +08:00
Sean Liao
56db82ed10 fix stray tab 2018-02-20 23:12:07 +08:00
Sean Liao
d12685debc separate printing default and current config 2018-02-20 23:08:29 +08:00
Sean Liao
57773b6c2d add config.String() to pretty print default config in valid json 2018-02-20 22:24:48 +08:00
J Guerreiro
0dc94a2c31
Merge pull request #160 from Morganamilo/fix#158
Give error when failing to parse .SRCINFO
2018-02-18 19:32:16 +00:00
morganamilo
4350752e32
Give error when failing to parse .SRCINFO
Instead of panicking later on.
2018-02-18 15:39:04 +00:00
J Guerreiro
0f3ccbce93
Merge pull request #157 from Morganamilo/fix#156
Fix passing incorrect flags during yay -Sy[s,i]
2018-02-18 01:38:51 +00:00
morganamilo
4298e77632
Fix passing incorrect flags during yay -Sy[s,i] 2018-02-17 23:00:18 +00:00
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 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