Commit Graph

333 Commits

Author SHA1 Message Date
Jo
7da9f4869d
feat(new engine): skip built and respect --needed (#1852)
* add built package check

* respect --needed for new engine

* add needed check and test

* add test for not built
2022-12-16 17:23:44 +00:00
Jo
1b5f0d66fe
Fix legacy engine install issues (#1842)
* fix debug pkg clearing pkg archive slice

* add debug messages and limit check for srcinfo

* treat pkgbuildDirs as expected directory, not proven directory

Co-authored-by: David Tomaschik <david@systemoverlord.com>

Co-authored-by: David Tomaschik <david@systemoverlord.com>
2022-11-29 13:23:52 +00:00
Jo
9f67d10d5c
feat(v12): add group install (#1835)
v12engine: add group install
2022-11-20 02:47:23 +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
f042713aaa
fix: fix linting errors 2022-11-15 15:44:50 +01:00
jguer
3f7f55f260
simplify src download 2022-11-14 01:14:13 +01:00
jguer
0b3ca79788
reduce scope 2022-11-01 23:51:24 +01:00
jguer
b5bdcfbd1a
add basic sync upgrade capabilities 2022-11-01 23:48:35 +01:00
jguer
d3efb59da3
extract upgrade target adder 2022-10-28 23:58:15 +02:00
jguer
849e8f7b60
restore install support for legacy 2022-10-28 01:01:03 +02:00
jguer
ba935ccf95
add support for target install 2022-10-28 00:38:11 +02:00
jguer
f496dbac8b
error refactor 2022-09-20 00:44:06 +02:00
jguer
e4fdc9a4d4
readd makedep primitives 2022-09-20 00:01:19 +02:00
jguer
ed94152cfe
first install 2022-09-12 00:18:38 +02:00
jguer
351e352f64
basic aur install 2022-09-11 23:15:31 +02:00
jguer
5bb46ac1de
add repo install 2022-09-09 20:57:18 +02:00
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