Commit graph

22 commits

Author SHA1 Message Date
l4 8c1d64c06b local repo goes first
remove the old function

local repo goes first

exit on err passToPacman()
2018-01-16 00:09:32 +07:00
l4 b1e01b3af5
Merge branch 'master' into fix_query_info 2018-01-15 21:02:44 +07:00
morganamilo a3df41368b
Merge branch 'master' into fix#62 2018-01-07 21:59:39 +00:00
l4 ba143bdb36 fix query info with -Si 2018-01-06 20:50:54 +07:00
morganamilo 96f499ff44
Reimplement all previously existing operations
This reimplemens all operations yay previously supported:
	'-S' 'Syu' 'Si' ect.

Currently the argument objects are not fully implemented with the code.
Theres alot of funky conversion from
	argument object -> pkg, flags -> argument object
This is to just get back to the functionally we had before (almost).

I have not looked into it yet but alot of the time pacman flags get
passed to makepkg. this cases an error for most commands now because the
new system Passes all flags:
	`yay -Syu` -> flags = '-S' '-y' '-u'
while the old system would have done:
	`yay -Syu` -> op = '-Suy', flags = ''

So extra flags are no longer passed at all currently.

This means:
	'yay -S aic94xx-firmware --noconfirm -b /tmp/pacutilesu2q6hw/tmp-pacman -d'
will no longer error and 'aic94xx-firmware' will be installed but the
database path change will not apply and the dep checking will not be
skipped.
2018-01-04 08:32:50 +00:00
morganamilo df27396fa0
Teach passToPacman how to use argParsers
passToPacman now takes and argParser as a paramater. And is implemented
for the simple cases in cmd.go. Although passToPacman is now left non
working in places which still try to usr the old call format and will
need to be reimplemented.
2018-01-04 08:32:50 +00:00
morganamilo c0eac580a8
Count from 1 instead of 0 when searching packages
I feel like starting from 1 is much better ergonomically while not using
a numpad. This could be added as a config option instead if you would
prefer.
2017-12-30 06:18:09 +00:00
Jguer 58ab6fd06f File closure fixed on init 2017-10-19 14:59:26 +09:00
Jguer a6a0b9b441 git devel package support restored, house keeping, fixes related to config files. 2017-10-19 11:30:37 +09:00
Jguer 8fa7c4069e Resolves #57. Added Package ignoring to AUR. Handles made private. 2017-10-18 11:38:19 +09:00
jguer 9afd66109a FilterPackages replaces ForeignPackages 2017-08-07 14:43:25 +01:00
jguer 226d0f89dd Flatten now compiles 2017-08-04 10:26:53 +01:00
Jguer b4f4a42d50 Flattened architecture. Does not compile 2017-08-02 18:24:03 +01:00
Jguer 73f8c32176 Refactoring and Implemented Human sizes from alpm 2017-07-10 18:10:51 +01:00
Jguer 7608c6338d References #34 fix for yay -Qstats. Also added warnings about packages not available in AUR. 2017-07-07 00:48:01 +01:00
Jguer 3ab83cd14f Fixes #35 for now. (TODO: Implement Si natively]) 2017-07-05 22:30:42 +01:00
Maxim Baz 9fa8c9265e Improve query list formatting 2017-05-21 17:10:42 +02:00
Jguer 1a58017817 Changed upgrade logic to use alpm.pkg 2017-05-07 13:52:08 +01:00
Jguer bd2842841a Killed util, config is now saved 2017-05-07 02:44:07 +01:00
Jguer 0473084ed2 More porting from util to config 2017-05-06 18:32:33 +01:00
Jguer 9b4667344e Refactored yay to use mikkeloscars aur package 2017-05-02 16:46:14 +01:00
Jguer 38617c2781 Refactored cmd/yay 2017-04-29 18:12:12 +01:00