Commit graph

263 commits

Author SHA1 Message Date
morganamilo 44f83e03ea
Move makepkg handling to its own function 2018-01-04 08:32:50 +00: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
Jguer 4c7f341dd2
References #64. Added optional afterclean. Updates man page. Adds entries to --help 2017-12-04 11:39:23 +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 bc7ff1799b Github package updates are back, missing generate Database on fresh installs 2017-10-18 14:46:21 +09:00
Jguer 4b78c23fb9 Merged flatten branch 2017-10-03 00:54:34 +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 1c0f0486b4 Major refactor, exclusive use of alpm 2016-09-13 02:06:24 +01:00
Jguer 68fa4d8286 Adding alternative search method 2016-09-11 00:02:53 +01:00
Jguer fcabffa649 Added Pacargo, changes to search 2016-09-09 14:55:16 +01:00