jguer
555d1ead95
chore(version): bump major version
2021-09-08 22:28:08 +02:00
jguer
c8fcdeae5b
feat(su): use alternative privilege elevators when sudo is not available
...
When sudobin/custom wrapper is not available try the following in order:
- sudo
- doas
- pkexec
- su
2021-08-31 02:17:27 +02:00
jguer
b7f9a5e677
fix(install): fix missing error display in install
2021-08-21 16:17:19 +02:00
jguer
5be99d9bf0
chore(README): small reorganization of README
2021-08-20 18:33:52 +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
172ee1f4e8
refactor(exe): port pacman calls to cmd_builder
2021-08-08 17:45:07 +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
545ea772eb
feat(aur): customize User Agent
2021-06-09 03:57:37 +02:00
x1b6e6
de113b87f3
Add support for multiple 'Architecture' values
...
This allows architecture to be multivalued. On x86-64 machines, this
could be something like:
Architecture = x86-64-v3 x86-64
We use the first specified Architecture value in mirrorlist $arch
variable replacement, as this is backwards-compatible and sane.
More info:
https://git.archlinux.org/pacman.git/commit/?id=3179db108a83104d9de6d1d607f55f8118e92160
Signed-off-by: x1b6e6 <ftdabcde@gmail.com>
2021-05-04 08:43:56 +02:00
jguer
829f944659
fix(output): don't print exit status message
2021-03-18 22:40:37 +01:00
Julian Daube
348f2de85c
fix(yay): mirror pacman return codes on run error
...
makepkg expects pacman-alikes to return 127 (missing dependency)
when called with -T as argument. yay does not behave like this since
it overwrite the return value with 1 in every case.
This commit will test for ExitCode errors and return the called
applications error code instead of 1, when possible. This gets yay
closer to be used as pacman alternative for makepkg with
```
PACMAN=yay makepkg -s
```
fixes Jguer/yay#1455
2021-03-12 20:42:42 +01:00
jguer
c221d5ebbd
fix(yay): give priority to LC_MESSAGES. fixes #1442
2021-01-29 22:45:42 +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
jguer
c85bbf54da
chore(yay): remove deprecated dependency
2020-12-10 00:18:23 +01:00
jguer
6beefb1400
fix(config): fix save config
2020-11-01 09:09:38 +01:00
jguer
72f120b0f3
feat(config): refactor config to allow running without config
2020-08-21 02:39:52 +02:00
jguer
c1171d4146
style(runner): use command runner for commands
2020-08-19 01:48:07 +02:00
jguer
7a3794ae75
feat(interface): interface dbexecutor
2020-08-16 23:42:00 +02:00
Jguer
f3925e2481
fix(sync_list): remove alpmHandle
...
wip
2020-08-16 23:41:56 +02:00
jguer
94f650f4d3
style(main): 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
8165174462
fix(dbExecutor): move dbExecutor to runtime config
2020-08-16 23:41:55 +02:00
jguer
c159c06222
fix(parser): fix alpm initialize
2020-07-26 23:08:47 +02:00
jguer
7dd5d7e13e
fix(parser): fix ignores getting... ignored
2020-07-26 23:00:28 +02:00
jguer
e47c9584c1
fix(format): gofumt files
2020-07-08 03:40:50 +02:00
jguer
a0cff2b622
fix(cmdArgs): reorder args
2020-07-08 03:31:35 +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
968b61ac57
fix(config): pack pacmanConf into runtime
2020-07-05 15:34:27 +02:00
jguer
0bae6e2f7d
fix(config): move default settings to config
2020-07-05 09:36:27 +02:00
jguer
9b49f76bbd
fix(config): vcs filepath fix
2020-07-05 09:36:27 +02:00
jguer
2dc01d8a3e
fix(init): refactor init to use runtime
2020-07-05 09:36:27 +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
d0450179f9
fix(usecolor): usecolor belongs to text. remove deprecated
2020-06-26 09:03:45 +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
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
morganamilo
35b2297f1e
Support AURDEST
...
the AURDEST environment variable can now be used to configure the build
dir.
2019-10-17 23:54:20 +01:00
Jguer
a591b33262
Add errguards throughout the code to enable golangci-lint
2019-10-13 20:56:27 +01:00
Jguer
16fddae8b6
Fix linting error breaking docker release
2019-06-17 13:22:30 +01:00
morganamilo
112046853b
Use correct case on go-alpm import
2019-04-23 16:53:20 +01:00
Motkov Kirill
0878b485ae
remove suspicious err reassigns
2019-03-05 23:10:04 +03:00
Motkov.Kirill
50a99c1e54
remove yoda condition
2019-03-05 11:08:37 +03:00
Motkov.Kirill
7b8e45d4e2
rewrite if-else to switch statement
2019-03-04 19:07:04 +03:00
morganamilo
5ce4a49687
Update go-alpm
2019-02-04 16:56:02 +00:00
Jguer
5acee2706f
Fix typo in cache dir. References #840
2018-12-19 21:13:46 +00:00