Commit graph

140 commits

Author SHA1 Message Date
Jo 0bf4c2e502
feat(new_install): show (#1915)
* show new packages in upgrade form if they exist

* refactor up select

* remove unused graph parts

* readd len

* Complete upgrade graphing

* Extract to upgrade pkg

* remove unused dep method

* remove uneeded dep

* cleanup method

* specify io Reader for testing

* use specified input vector

* fix non-active devel

* test base cases

* add devel test cases

* add range tests

* add logger struct

* use logger struct in upgrade

* follow golangci recommendations

* update deps

* update golangci
2023-02-17 19:01:26 +00:00
Jo 6ad63cae10
fix: rework menus to work on both flows (#1830)
* rework menus to work on both flows

* add installed package split

* remove unused field

* Add post install hooks
2022-11-20 00:51:55 +00:00
jguer 742b6ad79c
use aur cache for upgrades 2022-11-08 01:32:21 +01:00
Norbert Pfeiler 9c2d4ec0d1
feat(stats): add statistics about pacman and yay cache sizes (#1679) 2022-02-06 09:53:34 +00:00
Norbert Pfeiler 19d42ae3cd
fix(yay): Total foreign → Foreign (#1680)
Rename -Ps option
2022-02-03 09:58:55 +01:00
jguer 9eb73899fe chore(query): unify search in number menu selection and normal search 2021-10-27 23:45:23 +02:00
jguer 555d1ead95
chore(version): bump major version 2021-09-08 22:28:08 +02:00
jguer e231b2b02d chore(yay): modernize exec commands 2021-08-14 00:10:43 +02:00
jguer cb4b57f6d8 chore(golangci): add new linters 2021-08-11 22:19:55 +02:00
jguer 1a2e5b9529 refactor(settings): move args to own package to allow pacman cmd builder 2021-08-08 17:45:07 +02:00
jguer 65b1c4be69 refactor(main): move get cmds to their own file 2021-08-05 10:11:54 +02:00
jguer 79b44fd544 feat(download): download PKGBUILD repos interface 2021-08-05 10:11:54 +02:00
jguer 545ea772eb feat(aur): customize User Agent 2021-06-09 03:57:37 +02:00
morganamilo f04a469324 Make UpSlice a struct instead of a type alias 2021-04-24 17:28:53 +02:00
xvqxy 9fc6d9c128 fix(query): Respect --deps and --explicit.
This fixes #1283.

yay --query --upgrades [--explicit|--deps] will not return same packages pacman
does extended with AUR packages.
yay --show --numberupgrades [--explicit|--deps] will also work.
2021-02-14 22:38:49 +01:00
jguer afc72daba7
test(download): test pkgbuild fetching 2021-01-31 19:07:08 +01:00
jguer ee3c51f6f2
feat(pkgbuild): extract logic 2021-01-31 19:07:08 +01:00
jguer a288dd754f
fix(pkgbuild): rebase pkgbuild fetching from nycex 2021-01-31 19:07:08 +01:00
xhqr 24edabe5df Print error if PATH is empty.
This fixes #881.

Before:
```bash
$ PATH= /usr/bin/yay -Qu
$ echo $?
1
```

After:
```bash
$ PATH= ./yay -Qu
exec: "pacman-conf": executable file not found in $PATH
$ echo $?
1
```
2021-01-16 18:27:39 +01:00
x-usr 5ae510ad6f fix(display): adapt padding to match pacman's.
This change fixes part of #1332 related to splitting information into
multiple lines.
Change is implemented based on current pacman's code.
2020-09-07 23:39:19 +02:00
jguer c305e1c196
fix(color): remove duplicate colors 2020-08-17 00:09:43 +02:00
jguer 1ccfd3f0b7
fix(dbExecutor): rename functions to use dbExecutor 2020-08-17 00:02:14 +02:00
jguer 7a3794ae75
feat(interface): interface dbexecutor 2020-08-16 23:42:00 +02:00
Jguer 7bcf2ecb4c
fix(statistics): use alpm executor 2020-08-16 23:41:55 +02:00
jguer 94f650f4d3
style(main): remove alpmHandle 2020-08-16 23:41:55 +02:00
jguer 005b29373d
fix(install): remove alpmHandle 2020-08-16 23:41:55 +02:00
jguer 9fd6917bc0
fix(alpm): transfer handle initialization to executor 2020-08-16 23:41:55 +02:00
jguer 8074179112
style(filter): make filtering names more relevant 2020-07-27 01:24:28 +02:00
jguer 42f337f2a5
fix(pgp): package key importing 2020-07-11 00:48:30 +02:00
jguer 054a9ac613
refactor(dep): package dep 2020-07-10 02:36:45 +02:00
jguer e47c9584c1
fix(format): gofumt files 2020-07-08 03:40:50 +02:00
jguer 7a32ffdd37
fix(cmdArgs): deglobal cmd args 2020-07-08 03:22:01 +02:00
jguer 36730a41e3
fix(config): package alpmHandle into runtimeSettings 2020-07-05 16:58:35 +02:00
jguer fb5b6b74fe
fix(parser): package parser 2020-07-05 09:36:27 +02:00
jguer cb8a988701
fix(news): package news and begin settings 2020-07-05 09:36:27 +02:00
jguer acf95aed5b
fix(format): move time format to text 2020-06-26 09:15:36 +02:00
jguer d0450179f9
fix(usecolor): usecolor belongs to text. remove deprecated 2020-06-26 09:03:45 +02:00
nycex 321834de4c remove percent from popularity 2020-06-17 09:28:45 +02:00
jguer d003e96e07
fix(ci): fix env propagation
fix broken ci artifact download
2020-06-13 19:49:57 +02:00
jguer 87d0dd64c3
fix(locale): add base locale 2020-05-08 18:13:51 +02:00
jguer 732f1a5412
feat(localization): wrap all translatable strings 2020-05-05 19:21:42 +02:00
jguer 9fccdcb30f
fix(ci): implement stricter linting settings 2020-05-02 16:17:20 +02:00
Jguer 3a5a6a77b3 fix(print): fix #1158. initialize stringset in warnings declaration 2020-01-17 21:06:22 +01:00
Nathan Aclander 6136e15717
Clarfiy Out Of Date Message
The existing message was a bit confusing and made me think that the AUR package 
had an update pending which Yay refused to do. I realized instead that the package is
actually *flagged* out of date on the AUR.

I then realized there is a section in the README specifically about this confusion.

So, by prefixing the word "Flagged" I think the slight confusion can be eliminated, and the 
README section possibly removed.
2019-10-22 23:52:47 -07:00
morganamilo b60a888981
Simplify stringset function names
Now that stringset has its own module we can use more basic function
names while keeping it obvious what it does.
2019-10-16 23:18:04 +01:00
morganamilo cff358d5d6
Move intrange to its own module
types is pretty generic as a module name, this should be split into
seperate modules.
2019-10-16 23:18:04 +01:00
morganamilo f2579f26a3
Move stringset to its own module
types is pretty generic as a module name, this should be split into
seperate modules.
2019-10-16 23:18:04 +01:00
Jguer bf89b3383c
Move IntRange definition to types package 2019-10-05 19:23:13 +01:00
Jguer b01790f752
Moved StringSet definition to types package 2019-10-05 18:39:31 +01:00
J Guerreiro 392865f7a0
Fix travis from tripping on go vet. (#1009)
* Fix travis from tripping on go vet.

* Fix strings from gofmt
2019-08-24 23:31:13 +01:00