From 492185129bd6a058aa2e77c9bf21f89212fc8ef3 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 18 Mar 2026 08:16:01 -0700 Subject: [PATCH] fix(elephant): update providers list (#10700) (#10706) --- .../go/elephant/golang-github-abenz1267-elephant.spec | 6 +++--- anda/langs/go/elephant/update.rhai | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec b/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec index b957d662a9..e261575d53 100644 --- a/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec +++ b/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec @@ -10,7 +10,7 @@ %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif -%global providers archlinuxpkgs calc clipboard desktopapplications files menus providerlist runner symbols websearch +%global providers 1password archlinuxpkgs bitwarden bluetooth bookmarks calc clipboard desktopapplications dnfpackages files menus niriactions nirisessions providerlist runner snippets symbols todo unicode websearch windows wireplumber # https://github.com/abenz1267/elephant %global goipath github.com/abenz1267/elephant @@ -26,8 +26,8 @@ Elephant - cuz it's phat - is a powerful data provider service and backend for b %global godocs README.md Name: elephant -Release: 1%{?dist} -Summary: None +Release: 2%{?dist} +Summary: Data provider service and backend for building custom application launchers & desktop utilities License: GPL-3.0-only URL: %{gourl} diff --git a/anda/langs/go/elephant/update.rhai b/anda/langs/go/elephant/update.rhai index e8a25fa240..35758fbeb1 100644 --- a/anda/langs/go/elephant/update.rhai +++ b/anda/langs/go/elephant/update.rhai @@ -1 +1,9 @@ rpm.version(gh_rawfile("abenz1267/elephant", "master", "cmd/elephant/version.txt")); +let dir = get("https://api.github.com/repos/abenz1267/elephant/contents/internal/providers/").json_arr(); +let providers = ""; +for f in dir { + if f.size == 0 { // dir + providers += f.name + " "; + } +} +rpm.global("providers", providers[0..providers.len - 1]);