Commit graph

132 commits

Author SHA1 Message Date
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
Stuart Reilly
db3993b83b Fix segfault from 9fccdcb
9fccdcb renamed a variable, but didn't update all uses of the variable.
2020-05-04 13:57:41 +02:00
jguer
9fccdcb30f
fix(ci): implement stricter linting settings 2020-05-02 16:17:20 +02:00
Kirill Motkov
ddd1cc35d2 check len before accessing element 2020-04-13 16:53:37 +02:00
Jguer
fa3191e6f5
fix(release): bump config.go version 2020-01-12 16:55:16 +01:00
Matheus Alcantara
a689ec887f Add error handler on saveConfig 2020-01-09 22:35:02 -03: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
Jguer
203b49321e
Bump version to 9.4.2 for -G patching 2019-10-23 12:11:44 +01:00
Jguer
446db893f0
Fixes #1086 2019-10-23 11:43:28 +01:00
Jguer
1257a6df08
Bump version to 9.4.1 for arm bin release once pacman 5.2 hits arm core 2019-10-22 21:15:11 +01:00
J Guerreiro
e1403861c0
Merge pull request #1077 from Jguer/pacman-next
Update go-alpm for pacman-next
2019-10-22 09:40:57 +02:00
Jguer
211b96867c
Bump version for release. 9.4.0 2019-10-21 16:50:17 +01:00
morganamilo
1d2855ab76
Update go-alpm for pacman-next 2019-10-21 12:50:09 +01:00
morganamilo
bbeef9d237
Move abs cloning to it's down directory
As mentioned it is possible for stuff to clash in cache if you were to
-G a package from the repos, then -S an AUR package by the same name. To
avoid that give abs cloning its own directory.

It is still possible for a clash to occur if there was a package named
abs. However currently there is not.

Idealy the aur cloning would also get it's own subdir, but that will
invalidate everyone's cache so leaving it for a time with more breaking
changes.

This is also under its own config option so that AURDEST does not
interfere with it.
2019-10-18 08:48:58 +01:00
morganamilo
4d91acc749
Re-add --batchinstall and fix dep issues 2019-10-16 20:59:52 +01:00
J Guerreiro
7b710b796b
Merge pull request #1056 from Morganamilo/searchby
Add --searchby
2019-10-13 23:38:28 +01:00
Jguer
422a5931af
Check fields length to avoid panic in editor prompt. Fixes #834 2019-10-13 00:48:12 +01:00
morganamilo
ab2101ab49
Add --searchby
Allow using the RPC's &by= field during -Ss
2019-10-10 17:43:22 +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
Jguer
fd9a62ddb8 Bump version 2019-09-20 18:37:42 +01:00
morganamilo
80e66ce479
Allow many aur packages to be installed at once.
After building an AUR package don't install it right away. Instead queue
it for install.

Then when a package comes along that does not have all of its
dependencies satisfied, install the queued packages before builting.

This allows a standard AUR update to be done with one transaction, while
building AUR packages with long dependency chains will work as normal.

This feature is behind the `--batchinstall` flag.
2019-06-17 14:25:59 +01:00
Jguer
86b73689a3
Should fix #960. Bumps patchversion 2019-06-03 23:39:30 +01:00
morganamilo
112046853b
Use correct case on go-alpm import 2019-04-23 16:53:20 +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
Motkov Kirill
14ac756298 Code improvements
- Removed yoda condition.
- Renamed/removed variables which shadows built-in names.
- Rewrited if-else-if-else chains to switch statements.
2019-03-10 16:36:01 +03:00
Motkov Kirill
0878b485ae remove suspicious err reassigns 2019-03-05 23:10:04 +03:00
Motkov.Kirill
a33801615c miss assignment to err 2019-03-05 11:10:56 +03:00
morganamilo
5ce4a49687
Update go-alpm 2019-02-04 16:56:02 +00:00
Jguer
0f57ed0ba8
Update to version 9.1.0 2019-01-20 15:52:21 +00:00
Jguer
d3a9082f2a
Update patch version of yay to reflect makefile changes 2018-12-07 14:00:17 +00:00
Jguer
47373c5631
update version 2018-12-06 08:09:05 +00:00
Jguer
5bcadc58ac
Fix tests and prepare for release 2018-12-01 15:03:46 +00:00
morganamilo
556a76c38d
Fix each iota not starting at 0 2018-11-29 20:42:06 +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
Jguer
1f1cee7023
Update manual config version 2018-10-18 09:19:45 +01:00
Jguer
621b8aac43
Update constant version. Add transitional support for patch version 2018-10-08 18:46:51 +01:00
morganamilo
4fc6a1a711
Fix provider menu showing when it shouldn't
If the package is already installed, we need to check if it is in the
repos to see if it aplies to rebuild tree. Normally alpm will not prompt
us to select a provider if we already have one installed. An exception
comes up when we have a provider installed that is from the AUR. In this
case FindSatisfier() still asks us to select a provider.

Now make sure to never to never show the menu if the package exists in
the local repo.
2018-09-25 14:33:25 +01:00
Jguer
9ac4ab6c25
Update to 1138 2018-09-24 17:35:13 +01:00
Peter Dyer
e6238d32fa Set SigLevel to 0
Previous default SigLevels caused 3rd party databases to take a very long time to
load and also to not load properly. Probably due to missing keys(?).
Pacman takes a long time to check the databases. For now, always set to
SigLevel 0 like how go-alpm did in its config parsing. Needs more
looking into for a proper fix.
2018-09-19 19:52:58 +01:00
morganamilo
b2f636d93b
Use go-pacmanconf for config parsing
This moves the config parsing from out of alpm and into the
go-pacmanconf libary plus some boilerplate code to get it into our alpm
config.

This makes sense as many config options such as UseColor and CleanMethod
have nothing to do with alpm and only relate to pacman.

pacman-conf is used instead of direct config parsing. This tool resolves
defaults and includes for us, so we don't need to handle it.

It is now safe to drop all the config parsing from go-alpm.
2018-09-10 23:07:34 +01:00
Jguer
6e0797a8c7
Set version manually for gcc-go
Signed-off-by: Jguer <me@jguer.space>
2018-09-05 09:21:11 +01:00
morganamilo
c004364864
Fix builddir defaulting to config instead of cache 2018-09-04 23:19:31 +01:00
Jguer
a109ea480c
Set version manually for gcc-go
Signed-off-by: Jguer <me@jguer.space>
2018-09-04 20:18:33 +01:00
morganamilo
00b880baf9
Fix depends sometimes being ordered incorrectly 2018-09-04 17:48:59 +01:00
morganamilo
8c1658df0b
Expand environment variables in config 2018-08-31 21:20:40 +01:00