Commit Graph
115 Commits
Author SHA1 Message Date
Jo 2d52ad4784 chore(locale): update locale files (#2951)
make locale gen
2026-08-07 13:02:12 +09:00
Prathamesh Mahaleanddanielwerg 80192ab1cb feat(lua): add lua-language-server type stubs for the yay global (#2884)
* feat(lua): add lua-language-server type stubs for the yay global

Ship a meta/yay.meta.lua definition file that declares the `yay` global,
all yay.opt fields, and every autocmd event payload so lua-language-server
users get completion, hover docs, and typo detection without an
"Undefined global `yay`" warning.

- meta/yay.meta.lua: 232-line stub covering opt (45 fields), log, abort,
  create_autocmd with per-event overloads, and 14 payload classes for the
  5 autocmd events (AURPreInstall, AURPostDownload, UpgradeSelect,
  PostInstall, SearchFilter). Return contracts for UpgradeSelect and
  SearchFilter are annotated.
- doc/lua.md: add "Editor support" section with .luarc.json setup.
- doc/init.lua: fix PostInstall example referencing pkg.installed, a
  field that does not exist on PostInstallPackage.
- Makefile: install/uninstall meta/yay.meta.lua to
  $(PREFIX)/share/yay/meta/ so the documented /usr/share/yay/meta path
  exists on installed systems.

Closes #2876

* doc(lua): fix api-since version to v13.0.1

* feat(lua): apply review feedback on type stubs

Type opt fields as string unions with descriptions, rename to yay.d.lua
per LuaLS docs, strip redundant comments from doc/init.lua, bump to v13.0.2.

Tested everything again: go build, go test, lua-language-server, gendocs.

* doc(lua): move "editor support", add hyperlinks

added link to `init.lua` example in "location" paragraph

having "editor support" paragraph at the very bottom of document didn't make any sense. user would want to have lsp editor support right after creating a file in config dir if ever.

removed useless paragraph about `.luarc.json` location that already been explained aboved.

added hyperlinks for luals extensions. couldn't find any special info for helix (unlike jetbrains), but it should be already covered by "other editors"

---------

Co-authored-by: danielwerg <35052399+danielwerg@users.noreply.github.com>
2026-06-24 00:28:28 +02:00
Jo 73090ae5f2 fix: add missing locales (#2841)
fix missing locales
2026-06-07 19:35:17 +02:00
Jo b2dfa0c56f chore(migration): default to "" as sortBy to keep existing behavior (#2768)
* bump builtin version

* add sortby migration to keep current user behavior
2026-01-22 10:28:47 +01:00
Joey Holtzman d212876148 Fix ordering of msgfmt flag in Makefile to ensure compatibility (#2719)
Fix ordering of msgfmt flag to ensure compatibility
2025-12-02 14:55:40 +01:00
Jo 60b7f639f8 Add missing languages to Makefile LANGS list (#2683)
Added hu (Hungarian), nl (Dutch), sk (Slovak), vi, and vi_VN (Vietnamese)
to the LANGS variable so they are included in the build process.
2025-09-27 17:41:34 +01:00
Jo 2ff794da32 chore: update go-alpm (#2409)
* update go alpm

* update golangci

* add missing ldflag
2024-03-23 23:46:02 +01:00
Jo 05b76852bd chore(yay): fix missing command (#2399)
fix missing command
2024-03-16 01:22:48 +01:00
Jo 9524cbbaed chore: ensure pacman update in builder (#2398)
* ensure pacman up

* lint step fix
2024-03-16 01:13:30 +01:00
Jo 48d1d3d2d5 chore(yay): update dependencies and builder (#2396)
* fix libalpm14 build

* update deps

* try alternative arch
2024-03-16 00:55:05 +01:00
Jo dc68b1a8fa chore: update locale files (#2351)
update po
2024-01-25 15:16:21 +00:00
Kirill Motkov 0771ded99b Refactor AURPKGBUILDRepos and Fix Localization Command in Makefile (#2313)
* optimize mutex usage and logging in AURPKGBUILDRepos function

* fix localization script

Fix localization script Makefile by adding missing semicolon and --no-translator flag
2023-11-20 16:58:20 +01:00
Jo fdcf6ef664 ci(yay): add integration test framework (#2178)
* add integration test framework

* fix integration tests

* fix integration tests
2023-05-22 21:38:02 +00:00
Jo 16cce4384b ci(lint): update builder image (#2048)
* last min ci changes

* readme update
2023-04-03 07:32:25 +00:00
Jo c3888d9881 chore(ci): add missing translation files to release package (#2047)
add missing pos
2023-04-03 07:25:59 +00:00
Jo c40e949752 fix(build): fix issue where shell conditional output is passed to go build (#1887)
fix issue where shell conditional output is passed to go build

(cherry picked from commit 6744fa721f)
2023-01-05 15:50:53 +00:00
Jo 6ffa86908a Bump dependencies (#1791)
* bump deps

* release as minor
2022-08-14 16:03:56 +00:00
Jo ae6c2deda0 remove zh-Hans (#1789)
* remove zh-Hans

* remove zh-Hans from makefile
2022-08-14 15:41:22 +00: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
jguer 70a9765854 bump minor 2022-06-17 10:01:53 +02:00
J Guerreiro dc9bef0115 fix(ci): fix builds against pacman-git (#1718)
* fix(ci): fix builds against pacman-git

* fix(ci): fix builds against pacman-git

* update dockerfile

* update dockerfile

* update dockerfile

* fix(ci): fix builds against pacman-git

* fix(ci): fix builds against pacman-git

* update go-alpm

* update alpm

* return to lopsided images

* go mod tidy
2022-03-04 23:04:55 +00:00
jguer c5bea07f64 chore(version): small patching to version 2022-02-06 10:06:31 +01:00
jguer ac13060bfd chore(locale): update po files 2022-01-02 21:20:11 +01:00
jguer 555d1ead95 chore(version): bump major version 2021-09-08 22:28:08 +02:00
jguer 49ef780602 chore(makefile): add atomic cover back to go test 2021-08-11 22:19:55 +02:00
jguer 61e38ad2fc chore(pacman): remove pacman 5 support 2021-07-03 18:27:14 +02:00
OneOfOne c9e63fff0d Makefile: GOFLAGS-> FLAGS since it's a reserved kw 2021-07-03 18:02:56 +02:00
jguer d6cb4c50e8 fix(locale): add ko to makefile LANGs 2021-06-27 11:54:14 +02:00
jguer 6e70e2a59d chore(update): bump minor 2021-06-03 22:02:23 +02:00
jguer 4993e4dfbd chore(makefile): tag smaller release 2021-05-10 08:53:12 +02:00
jguer b0d87b7a09 chore(makefile): change default patch 2021-05-08 00:36:03 +02:00
jguer d3bc19a003 fix(yay): fix proxy settings 2021-04-12 16:54:51 +02:00
jguer 2da1e154c2 fix(yay): strip release bin 2021-03-20 18:59:46 +01:00
jguer 6d4c2472d8 fix(yay): use upstream flags 2021-03-20 18:41:29 +01:00
jguer 999392640e fix(makefile): add pacman>6 checking to makefile 2020-12-10 00:15:00 +01:00
jguer f24e21105e ci(builder): update ci builder 2020-11-17 20:25:40 +01:00
kusakata f91489a2ee Add Japanese translation 2020-07-15 09:27:10 +02:00
jguer 054a9ac613 refactor(dep): package dep 2020-07-10 02:36:45 +02:00
jguer 5a77dd86e1 fix(po): update locale template 2020-07-05 09:36:27 +02:00
jguer 7efeaaff81 fix(makefile): remove vendor path 2020-07-04 23:06:06 +02:00
jguer feb2cea9e0 fix(ci): force update 2020-07-04 23:04:48 +02:00
J Guerreiro 0548d86dea Merge branch 'next' into yay-ptBR 2020-06-17 22:48:34 +02:00
r3v1 67a07aa5db Add Basque translation 2020-06-17 20:13:41 +02:00
lucasjome fc4b2e57fe Updated Makefile - LANGS 2020-06-17 10:13:57 -03:00
J Guerreiro c780652d6a Merge branch 'next' into rus-tr 2020-06-17 09:22:08 +02:00
J Guerreiro 8e10fb7a1e Merge branch 'next' into rus-tr 2020-06-17 09:19:50 +02:00
J Guerreiro 07e15020e1 Merge branch 'next' into next 2020-06-17 09:14:06 +02:00
Althorion bd630a63c0 Add Polish translation 2020-06-17 09:07:23 +02:00
lucasjome 9260ea351f Added pt_BR to Makefile 2020-06-16 20:47:30 -03:00