jguer
b7f9a5e677
fix(install): fix missing error display in install
2021-08-21 16:17:19 +02:00
jguer
cedbcfbcda
fix(cmd): fix -h on yay show and get. closes #856
2021-08-21 15:32:37 +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
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
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
93bb2867be
chore(http): use client for yay -Sl
2021-06-09 03:57:37 +02:00
jguer
a37f4efd73
chore(http): use client for pkg completions
2021-06-09 03:57:37 +02:00
jguer
c7cf7baa48
chore(http): use client for news feed
2021-06-09 03:57:37 +02:00
jguer
545ea772eb
feat(aur): customize User Agent
2021-06-09 03:57:37 +02:00
xvqxy
05c2fa6087
Add doc for getFilter func.
2021-02-14 22:38:49 +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
fd9e2638f9
fix(yay): fix completions of -Gp
2021-01-31 19:07:08 +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
28c985b378
fix(pkgbuild): move pkgbuild to Gp
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
nycex
d9b440c929
implement yay -Pp option
...
fix linting errors
format with make fmt
fix completions
resolve most of the requested changes
move loop over dbSlice back into makeRequest
query aur in chunks of 20
check for status codes
continue instead of return in for loop
format code
2021-01-31 19:07:08 +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
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
c1171d4146
style(runner): use command runner for commands
2020-08-19 01:48:07 +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
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
f3925e2481
fix(sync_list): remove alpmHandle
...
wip
2020-08-16 23:41:56 +02:00
Jguer
6b973c6bc5
fix(pkgbuild_download): remove alpmHandle
2020-08-16 23:41:56 +02:00
Jguer
0e2a02b512
fix(clean): extract alpmHandle
2020-08-16 23:41:56 +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
520dd58999
style(cmd): remove useless filtering
2020-07-27 00:57:52 +02:00
jguer
37372c883f
test(news): add tests for news package
2020-07-27 00:46:32 +02:00
jguer
054a9ac613
refactor(dep): package dep
2020-07-10 02:36:45 +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
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
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
Maxime Houis
fe091f7578
Fix typo in usage
2020-03-09 15:00:19 +01:00
Dominik Schrempf
2ffde239c0
Bugfix apostrophe and bracket
2020-02-25 22:53:22 +01:00
Dominik Schrempf
fd7945b42b
Move note yay --option /= yay -Syu --option
.
2020-02-25 22:53:22 +01:00
morganamilo
f2959922a7
Remove tar support
...
tar is slower and harder to diff. I doubt any one still uses it intentially.
There's a chance some people have not cleared their cache in two years
and still have tar based packages around. But forcing them to clear
their cache is not a big deal at all.
2019-11-11 02:57:14 +00:00
Pierre-Alain TORET
6dd65a2df2
Add SudoBin and SudoFlags
2019-10-28 18:35:36 +00:00
morganamilo
3baf2e1ff1
Update documentation
2019-10-21 15:30: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
4d91acc749
Re-add --batchinstall and fix dep issues
2019-10-16 20:59:52 +01:00
J Guerreiro
6e2a4def99
Merge pull request #1048 from Jguer/module-types
...
Module types
2019-10-07 12:10:40 +01:00
cominixo01
a7619cce2b
Only remove VCS if the package was removed successfully ( #1041 )
...
* Only remove VCS if the package was removed successfully
* Use := instead of var
* Fix formatting
2019-10-05 20:20:20 +01:00
Jguer
bf89b3383c
Move IntRange definition to types package
2019-10-05 19:23:13 +01:00
Jguer
5fa3557817
Store completions in yay's cache folder instead of build directory
2019-10-05 02:10:15 +01:00
Jguer
c5c2e906d3
Move completion to submodule
2019-10-05 02:02:30 +01:00
Jguer
2214bc0cb2
Revert "Merge pull request #778 from Morganamilo/group-transactions"
...
This reverts commit 6cd47dd83c
, reversing
changes made to 16fddae8b6
.
Signed-off-by: Jguer <me@jguer.space>
2019-10-04 19:42:17 +01:00
morganamilo
5ac36ad97e
Ensure global pacman arguments are always used
2019-06-17 13:03:57 +01:00
morganamilo
112046853b
Use correct case on go-alpm import
2019-04-23 16:53:20 +01:00
Jguer
cf12fc6ff2
Fix #919 , require explicit sort mode defined
2019-04-04 21:47:44 +01:00
J Guerreiro
888a289a1b
Revert "Add SudoBin"
2019-03-29 22:09:27 +00:00
Pierre-Alain TORET
877c794bc2
Add SudoBin and SudoFlags
2019-03-27 15:16:39 +01: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
Dan Minkevitch
eab94628ec
Fix typos in help menu
2019-02-02 17:36:46 -08:00
morganamilo
4f01418769
Support -Sl
...
Adds (mostly) complete -Sl support. While pacman will also print the
version number for the package, packages.gz does not give version
numbers. Using -Si to fetch all that data would also be unthinkable.
Instead of just missing out the version number yay will print
"unknown-version". This is so that tools that expect a version number do
not break.
2019-01-26 23:31:46 +00:00
Joe Groocock
52bf777e67
Print errors on stderr
...
This makes a start on fixing https://github.com/Jguer/yay/issues/715
It is by no means a complete solution, but instead a start
2018-11-20 22:27:30 +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
4cc57dd970
Rename afterclean to cleanafter
...
This makes more sense and falls in line with the structs value which has
always been cleanafter. afterclean is still useable for compatibility
but is undocumented.
2018-09-27 16:12:43 +01:00
morganamilo
b0aaba7848
Fix misleading word in man page and missing \n
2018-09-20 00:46:10 +01:00
morganamilo
0e695468b8
Expand env before making builddir
2018-09-04 23:07:26 +01:00
morganamilo
8c1658df0b
Expand environment variables in config
2018-08-31 21:20:40 +01:00
morganamilo
29642d181f
Document -f for -G and --print -> --show
2018-08-30 16:09:00 +01:00
morganamilo
92ff640a65
Document --aururl
2018-08-29 21:18:37 +01:00
morganamilo
5ef38c12bd
Update usage and man page
2018-08-05 15:24:39 +01:00
morganamilo
2d6fe95903
Add yay specific args, drop conflicting args
...
Replace -P/--print with -P/--show
Replace --config with --currentconfig
2018-08-05 15:22:04 +01:00
morganamilo
4e67c1e886
Simlify huge case statments
...
Instead of having true in every case, rely on the lack of fallthrough
causing the default not to trigger.
Moved handleConfig to parser.go
2018-08-02 14:50:56 +01:00
Anna
0746d2828b
Merge pull request #601 from xyproto/minor
...
Only minor changes
2018-08-02 14:10:50 +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
06a45bad59
Don't return length with queryRepo
2018-07-31 22:01:14 +01:00
Alexander F. Rødseth
e9d0b8bee6
Refactor a named return
...
Ref: 29f3e011ec (diff-0cf3d18277fde705f1a4eb69fddfefc1L407)
2018-07-31 13:11:26 +02:00
Alexander F. Rødseth
29f3e011ec
Only minor changes
2018-07-31 11:15:17 +02:00
Anna
5f107ad7ad
Merge pull request #599 from Morganamilo/unused
...
Remove unneeded variables
2018-07-30 14:29:54 +01:00
morganamilo
2a60dd7052
Remove unneeded variables
2018-07-30 14:14:16 +01:00
morganamilo
6fe17ad0c1
Update usage
2018-07-30 05:01:03 +01:00
morganamilo
5ce740068e
Always pass PacmanConf to pacman
...
Normaly we only pass --config to pacman if the user specifies it on the
command line. Otherwise we let pacman use it's default config location.
If the user has changed pacmanconf in Yay's config file then this could
cause a miss match between the config we use to init alpm and the config
pacman is using.
2018-07-28 19:54:41 +01:00
morganamilo
a54b949670
Show alpm version with -V
2018-07-28 03:45:04 +01:00
Anna
74f4a44da6
Merge pull request #584 from Morganamilo/completion-slow
...
Rework completion
2018-07-26 13:56:06 +01:00
morganamilo
bc6028348b
Make the completion refresh time configurable
...
The default setting is 7 days. The user can specify a different time in
days. -1 can be set to never refresh while 0 can be used to always
refresh.
2018-07-26 13:54:13 +01:00