Commit Graph

124 Commits

Author SHA1 Message Date
morganamilo
29f4c43227 Sort upslice by pacman repo order 2021-04-24 17:28:53 +02:00
morganamilo
f04a469324 Make UpSlice a struct instead of a type alias 2021-04-24 17:28:53 +02:00
jguer
7a280e0199 fix(install): simplify sysupgrade 2021-03-17 23:18:44 +01: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
678d10e04e
fix(upgrade): export upgrades 2020-10-01 14:06:21 +02:00
jguer
3e698f313a
test(alpm): implement alpm interfaces 2020-10-01 13:38:03 +02:00
jguer
d6aa288ab8
fix(alpm): update alpm version 2020-09-20 17:00:45 +02:00
jguer
1db50882e9
feat(vcs): refactor and test cover 2020-08-22 00:39:26 +02:00
jguer
72f120b0f3
feat(config): refactor config to allow running without config 2020-08-21 02:39:52 +02:00
jguer
4a761c287b
test(upgrade): test AUR upgrades 2020-08-19 00:30:34 +02:00
jguer
c305e1c196
fix(color): remove duplicate colors 2020-08-17 00:09:43 +02:00
jguer
7a3794ae75
feat(interface): interface dbexecutor 2020-08-16 23:42:00 +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
8074179112
style(filter): make filtering names more relevant 2020-07-27 01:24:28 +02:00
jguer
054a9ac613
refactor(dep): package dep 2020-07-10 02:36:45 +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
d003e96e07
fix(ci): fix env propagation
fix broken ci artifact download
2020-06-13 19:49:57 +02:00
jguer
0c45a390a2
fix(locale): make install with locale 2020-05-30 00:43:18 +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
Sergey Shatunov
0e20e3cba0 Treat whole split-package as devel when pkgbase matches too
Signed-off-by: Sergey Shatunov <me@prok.pw>
2020-03-17 17:50:43 +01:00
morganamilo
ab956ea3d2
Hide warnings for ignored packages 2019-11-11 07:15:27 +00:00
nicoduesing
6bca3246c8
more selfexplaining upgrade process
At least for me it was not very intuitive what I have to do here. Maybe because I overread "not" and also because I liked to upgrade all packages. That was not explained ether, so I didn't consider to just press enter. This hopefully makes it a little bit more understandable.
2019-10-20 00:40:48 +02:00
morganamilo
dacd77012c
Move multierror 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
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
morganamilo
0856edcf04
Move LessRunes into main
This comparitor function could hardly be considored a type. It's also
very small and probably not too useful overall so keep it in utils.
2019-10-16 22:02:50 +01:00
Jguer
a591b33262
Add errguards throughout the code to enable golangci-lint 2019-10-13 20:56:27 +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
Jguer
3d31b52799
Moved LessRunes to types package 2019-10-05 18:11:49 +01:00
Jguer
9e205eef4b
Move MultiError to types package 2019-10-05 17:35:46 +01:00
morganamilo
112046853b
Use correct case on go-alpm import 2019-04-23 16:53:20 +01:00
Motkov.Kirill
7b8e45d4e2 rewrite if-else to switch statement 2019-03-04 19:07:04 +03:00
morganamilo
895788e01b
Update go-alpm 2019-02-14 20:45:18 +00:00
morganamilo
5ce4a49687
Update go-alpm 2019-02-04 16:56:02 +00:00
Jguer
2ed7df4f5a
Unexport consts. Make default a literal
Signed-off-by: Jguer <me@jguer.space>
2018-10-22 21:00:16 +01:00
morganamilo
b3e647aee4
Use MultiError in other goroutines 2018-08-09 16:25:14 +01:00
morganamilo
de59b3911d
Fix padding on time update 2018-08-04 14:24:42 +01:00
Anna
b848514b4b
Merge pull request #585 from Morganamilo/usage
Support Usage in pacman.conf
2018-08-02 13:51:13 +01:00
morganamilo
dfe7738d6e
Use pacman like text for ignorepkg and newerpkg
Now that we are using alpm to fetch packages it generates these mesages
and we can not control the format. So change out format to match.
2018-07-31 22:01:14 +01:00
morganamilo
95bcea8f40
Ensure devel packages exist when updating 2018-07-31 16:58:49 +01:00
morganamilo
2a60dd7052
Remove unneeded variables 2018-07-30 14:14:16 +01:00
morganamilo
f4aa7f7933
Use alpm_sync_sysupgrade for uprepo
This allows us to support the Upgrade Usage option as well as relying on
alpm's logic instead of coming up with out own.

It is possible that this could lead to showing replaces in the upgrade
menu.
2018-07-26 14:00:08 +01:00
Anna
d6b862357d Replace gopkgbuild with go-srcinfo (#528)
* Prefer vercmp over gopkgbuild

* Replace gopkgbuild with go-srcinfo
2018-07-16 15:28:18 +01:00
morganamilo
42f0508625
Add upgrademenu to match {clean,diff,edit}menu 2018-06-11 20:12:17 +01:00