Commit Graph

28 Commits

Author SHA1 Message Date
Samuel Henrique Oliveira da Silva
12641befac Keeping up with master
- Minor linting fixes.
2018-01-14 17:17:15 -02:00
Samuel Henrique Oliveira da Silva
d737c99c81 Excluding from installation
#ItWoksOnMyMachine
2018-01-14 16:53:37 -02:00
Samuel Henrique Oliveira da Silva
0301eb0440 Negation for upgrading 2018-01-14 15:48:16 -02:00
Jguer
4abddaab66
Satisfied linter 2018-01-15 02:23:29 +09:00
Jguer
b18724ac7e Merge branch 'fix#71' of https://github.com/Morganamilo/yay into Morganamilo-fix#71 2018-01-15 02:22:41 +09:00
Jguer
62af87bb0f
Merged argument parsing system 2018-01-15 02:12:51 +09:00
Samuel Henrique Oliveira da Silva
6d2dcad091 Replicates the range functionally to upgrade 2018-01-14 14:04:15 -02:00
morganamilo
0fb4b3bab3
Use go-alpm for ignorepkg/ignoregroup 2018-01-10 00:38:32 +00:00
morganamilo
232edc64a6
Further integration for the argument system
Argument parsing now works mostly as expected for repo packages.
AUR packages are a little tricky becauce makepkg cant handle args such
as '--dbpath'.

Also out alpm handle does not read the commandline options so any
arguments relient on alpm will be ignored.

For now though it seems yay has gained back the functionality it once
had. While also having improved argument handling which should also be
expandable and make it easier to handle anything new that might have
been missed.
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
morganamilo
952d95273a
Fix crash when package version is "invalid" 2017-12-30 22:52:33 +00:00
Jguer
97bb7d0a9c Merge branch 'updateIgnore' 2017-10-30 21:41:50 +09:00
Jguer
138b0f27dd Check if package is already in upgrade list and skip it. References #60 2017-10-30 21:36:50 +09:00
Jguer
1f29de4805 References #61 2017-10-30 21:19:05 +09:00
Jguer
7a8933b8fc Readded showing new update ignored version 2017-10-25 16:17:13 +09:00
Jguer
61a1d46ccd Should resolve #59 2017-10-25 14:42:03 +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
8fa7c4069e Resolves #57. Added Package ignoring to AUR. Handles made private. 2017-10-18 11:38:19 +09:00
Jguer
b016bf6d53 Added support for XDG_CACHE_HOME, fixes relating to file location not covered in the commit relating to #50. 2017-10-18 11:12:16 +09:00
Chris Waldon
14c1a17d77 Resolve a few typos in documentation 2017-10-14 12:11:47 -04:00
jguer
9afd66109a FilterPackages replaces ForeignPackages 2017-08-07 14:43:25 +01:00
jguer
6e60184078 Fixed parallel update merge 2017-08-07 10:18:19 +01:00
jguer
226d0f89dd Flatten now compiles 2017-08-04 10:26:53 +01:00
Jguer
262b158a34 Fixes no confirms 2017-08-02 22:56:45 +01:00
Jguer
b4f4a42d50 Flattened architecture. Does not compile 2017-08-02 18:24:03 +01:00
Jguer
5ad1772bba Refactoring 2017-08-01 17:43:20 +01:00