Commit Graph
317 Commits
Author SHA1 Message Date
jguer 95e7542ade Merge remote-tracking branch 'origin/next' into jguer/local-pkgbuild-install 2022-09-06 23:39:08 +02:00
jguer cadeecc4df add dep graph for local install 2022-09-06 23:38:47 +02:00
davejab 0d1e339fda Remove package from VCS on failed install (#1802) 2022-09-03 00:42:37 +00:00
Jo 714fee0b18 Chore: Cleanup (#1800) 2022-08-22 22:20:09 +00:00
jguer b054828aa8 wip 2022-08-22 23:28:53 +02:00
Jo 888fb4b1d0 Fix minor question and locale issues (#1786)
* add missing locales

* use t.Setenv instead of os.Setenv for tests

* locale: present y/n if localisation is not latin. Always accept y/n in every case

* question: use operation info for question

* edge case where localised n is equal to default y

* add tests for basic locales
2022-08-13 22:56:23 +00:00
jguer 1a52da5891 Make provides disabled by default. Add Migration to set provides to disabled 2022-08-05 22:55:54 +02:00
vqrkxo e0006ec272 feat(aur): add option to limit concurrent downloads (#1768)
* feat(aur): add option to limit concurrent downloads

Adds to config file option 'maxconcurrentdownloads' which if set to
value != 0, limits number of concurrent AUR downloads to specified.
Fixes #1763.

* fix lint issue
2022-06-28 12:05:29 +02:00
J Guerreiro d83c5ca5a1 fix(deps): update deps (#1689) 2022-02-05 14:25:59 +01:00
jguer d096d15973 feat(menus): extract menus package 2021-10-27 23:45:23 +02:00
jguer 6364b4efe8 fix(menus): improve edit and diff menu structure 2021-10-27 23:45:23 +02:00
jguer f3c3e2e4d4 fix(clean_menu): optimize any base installed 2021-10-27 23:45:23 +02:00
jguer a43fbacc96 fix(clean_menu): anyExistInCache already verifies if cleanMenu is necessary 2021-10-27 23:45:23 +02:00
jguer 1fb9f410a6 chore(install): reduce scope of toSkipSlice 2021-10-27 23:45:23 +02:00
jguer 34e81d5d7d fix(clean_menu): clean menu errors don't exit yay anymore 2021-10-27 23:45:23 +02:00
jguer 555d1ead95 chore(version): bump major version 2021-09-08 22:28:08 +02:00
jguer ffb17fd2e3 feat(su): deelevate if ran as su without tool 2021-09-07 00:41:36 +02:00
jguer bc1d900fa9 feat(su): deelevate if ran as su using a privilege elevation tool 2021-09-07 00:41:36 +02:00
jguer 1869bbe291 chore(install): prefer short form ifs 2021-08-23 17:37:58 +02:00
jguer b7f9a5e677 fix(install): fix missing error display in install 2021-08-21 16:17:19 +02:00
jguer 1d903b6c7e test(sources): add PKGBUILD source tests 2021-08-17 14:26:57 +02:00
jguer aedbcffc80 feat(sources): concurrent makepkg downloading 2021-08-17 14:26:57 +02:00
jguer e231b2b02d chore(yay): modernize exec commands 2021-08-14 00:10:43 +02:00
jguer 3de02dbd73 fix(install): -debug sufix is optional 2021-08-11 22:28:24 +02:00
jguer cb4b57f6d8 chore(golangci): add new linters 2021-08-11 22:19:55 +02:00
jguer 08d1305ec5 feat(download): respect aur url settings and update deps 2021-08-11 22:19:55 +02:00
jguer f42cbde6db refactor(parser): unify atleast modes 2021-08-09 13:32:55 +02:00
jguer 5c11c01d85 refactor(exe): move sudo loop into CmdBuilder 2021-08-08 21:02:35 +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
Jonas Bögle 7dda0fa2f8 fix: skip --assume-installed packages 2021-08-07 19:17:58 +02:00
jguer 522247dca2 feat(install): use download package for PKGBUILD repo download 2021-08-07 19:17:58 +02:00
jguer a37f4efd73 chore(http): use client for pkg completions 2021-06-09 03:57:37 +02:00
jguer 545ea772eb feat(aur): customize User Agent 2021-06-09 03:57:37 +02:00
x1b6e6 ba3c66949a fix(sync) Don't asks for provider twice 2021-05-26 13:51:17 +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 a33f43f502 feat(deps): don't install check deps if --nocheck is passed.
feat(makepkg): automatically pass -d to makepkg if -dd is passed
2021-03-17 23:18:44 +01:00
jguer d7424b1b28 feat(install): implement support for -dd 2021-03-17 23:18:44 +01:00
jguer 5da8161328 chore(install): reduce cognitive load 2021-03-17 23:18:44 +01: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
Benjamin Robin 5bef39b728 Do not use CmdRunner.Capture() while executing a command with sudo
Fix #1440
2021-01-31 18:01:50 +01: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 3b2bb28e81 feat(exe): AddMakepkg builder 2020-08-22 01:24:52 +02: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 7b70462a7c fix(noconfirm): move noconfirm to config global 2020-08-19 00:30:41 +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