From c8a4f8982ea45ca0e2714757f7501f79910807e0 Mon Sep 17 00:00:00 2001 From: AaronDewes Date: Fri, 11 Mar 2022 07:25:15 +0000 Subject: [PATCH] Always sort apps alphabetically --- apps.json | 272 ++++++++++++++++++++++++------------------------ apps/apps.json | 272 ++++++++++++++++++++++++------------------------ lib/metadata.py | 2 +- 3 files changed, 273 insertions(+), 273 deletions(-) diff --git a/apps.json b/apps.json index 1487a27..a8bd265 100644 --- a/apps.json +++ b/apps.json @@ -1,9 +1,81 @@ [ { - "id": "sphinx-relay", - "name": "Sphinx Relay", - "repo": "https://github.com/stakwork/sphinx-relay", - "version": "2.2.5" + "id": "bitfeed", + "name": "Bitfeed", + "repo": "https://github.com/bitfeed-project/bitfeed", + "version": "2.2.0" + }, + { + "id": "bluewallet", + "name": "BlueWallet Lightning", + "repo": "https://github.com/BlueWallet/LndHub", + "version": "1.4.1" + }, + { + "id": "btc-rpc-explorer", + "name": "BTC RPC Explorer", + "repo": "https://github.com/janoside/btc-rpc-explorer", + "version": "3.3.0" + }, + { + "id": "btc-rpc-explorer-public", + "name": "BTC RPC Explorer (Public)", + "repo": "https://github.com/janoside/btc-rpc-explorer", + "version": "3.3.0" + }, + { + "id": "btc-rpc-explorer-public-fast", + "name": "BTC RPC Explorer (Public; Fast version)", + "repo": "https://github.com/janoside/btc-rpc-explorer", + "version": "3.3.0" + }, + { + "id": "btcpay-server", + "name": "BTCPay Server", + "repo": "https://github.com/btcpayserver/btcpayserver", + "version": "1.4.7" + }, + { + "id": "code-server", + "name": "code-server", + "repo": "https://github.com/cdr/code-server", + "version": "4.1.0" + }, + { + "id": "jam", + "name": "JAM", + "repo": "https://github.com/joinmarket-webui/joinmarket-webui", + "version": "0.0.4" + }, + { + "id": "krystal-bull", + "name": "Krystal Bull", + "repo": "https://github.com/bitcoin-s/krystal-bull", + "version": "1.7.0-212-d9126650" + }, + { + "id": "lightning-shell", + "name": "Lightning Shell", + "repo": "https://github.com/ibz/lightning-shell", + "version": "0.1.10" + }, + { + "id": "lightning-terminal", + "name": "Lightning Terminal", + "repo": "https://github.com/lightninglabs/lightning-terminal", + "version": "0.6.5-alpha" + }, + { + "id": "lndg", + "name": "LNDg", + "repo": "https://github.com/cryptosharks131/lndg", + "version": "1.0.4" + }, + { + "id": "lnmarkets", + "name": "LN Markets", + "repo": "https://github.com/ln-markets/umbrel", + "version": "1.1.5" }, { "id": "lnme", @@ -17,42 +89,12 @@ "repo": "https://github.com/mempool/mempool", "version": "2.3.1" }, - { - "id": "btc-rpc-explorer", - "name": "BTC RPC Explorer", - "repo": "https://github.com/janoside/btc-rpc-explorer", - "version": "3.3.0" - }, - { - "id": "usocial", - "name": "Usocial", - "repo": "https://github.com/ibz/usocial", - "version": "0.1.5" - }, { "id": "nextcloud", "name": "Nextcloud", "repo": "https://github.com/nextcloud/server", "version": "23.0.2" }, - { - "id": "squeaknode", - "name": "Squeaknode", - "repo": "https://github.com/squeaknode/squeaknode", - "version": "0.2.8" - }, - { - "id": "bluewallet", - "name": "BlueWallet Lightning", - "repo": "https://github.com/BlueWallet/LndHub", - "version": "1.4.1" - }, - { - "id": "lightning-terminal", - "name": "Lightning Terminal", - "repo": "https://github.com/lightninglabs/lightning-terminal", - "version": "0.6.5-alpha" - }, { "id": "node-red", "name": "Node-RED", @@ -60,100 +102,10 @@ "version": "2.2.2" }, { - "id": "synapse-admin", - "name": "Synapse Admin", - "repo": "https://github.com/Awesome-Technologies/synapse-admin", - "version": "0.8.5" - }, - { - "id": "jam", - "name": "JAM", - "repo": "https://github.com/joinmarket-webui/joinmarket-webui", - "version": "0.0.4" - }, - { - "id": "tailscale", - "name": "Tailscale", - "repo": "https://github.com/tailscale/tailscale", - "version": "23.0.2" - }, - { - "id": "bitfeed", - "name": "Bitfeed", - "repo": "https://github.com/bitfeed-project/bitfeed", - "version": "2.2.0" - }, - { - "id": "vaultwarden", - "name": "Vaultwarden", - "repo": "https://github.com/dani-garcia/vaultwarden", - "version": "1.24.0" - }, - { - "id": "spigot-mc", - "name": "Spigot", - "repo": "https://github.com/SpigotMC", - "version": "Latest" - }, - { - "id": "specter-desktop", - "name": "Specter Desktop", - "repo": "https://github.com/cryptoadvance/specter-desktop", - "version": "1.8.1" - }, - { - "id": "krystal-bull", - "name": "Krystal Bull", - "repo": "https://github.com/bitcoin-s/krystal-bull", - "version": "1.7.0-212-d9126650" - }, - { - "id": "btc-rpc-explorer-public", - "name": "BTC RPC Explorer (Public)", - "repo": "https://github.com/janoside/btc-rpc-explorer", - "version": "3.3.0" - }, - { - "id": "lndg", - "name": "LNDg", - "repo": "https://github.com/cryptosharks131/lndg", - "version": "1.0.4" - }, - { - "id": "lightning-shell", - "name": "Lightning Shell", - "repo": "https://github.com/ibz/lightning-shell", - "version": "0.1.10" - }, - { - "id": "synapse", - "name": "Synapse", - "repo": "https://github.com/matrix-org/synapse", - "version": "1.54.0" - }, - { - "id": "thunderhub", - "name": "ThunderHub", - "repo": "https://github.com/apotdevin/thunderhub", - "version": "0.13.7" - }, - { - "id": "lnmarkets", - "name": "LN Markets", - "repo": "https://github.com/ln-markets/umbrel", - "version": "1.1.5" - }, - { - "id": "btcpay-server", - "name": "BTCPay Server", - "repo": "https://github.com/btcpayserver/btcpayserver", - "version": "1.4.7" - }, - { - "id": "btc-rpc-explorer-public-fast", - "name": "BTC RPC Explorer (Public; Fast version)", - "repo": "https://github.com/janoside/btc-rpc-explorer", - "version": "3.3.0" + "id": "ride-the-lightning", + "name": "Ride The Lightning", + "repo": "https://github.com/Ride-The-Lightning/RTL", + "version": "0.12.2" }, { "id": "snowflake", @@ -162,21 +114,69 @@ "version": "2.1.0" }, { - "id": "code-server", - "name": "code-server", - "repo": "https://github.com/cdr/code-server", - "version": "4.1.0" + "id": "specter-desktop", + "name": "Specter Desktop", + "repo": "https://github.com/cryptoadvance/specter-desktop", + "version": "1.8.1" }, { - "id": "ride-the-lightning", - "name": "Ride The Lightning", - "repo": "https://github.com/Ride-The-Lightning/RTL", - "version": "0.12.2" + "id": "sphinx-relay", + "name": "Sphinx Relay", + "repo": "https://github.com/stakwork/sphinx-relay", + "version": "2.2.5" + }, + { + "id": "spigot-mc", + "name": "Spigot", + "repo": "https://github.com/SpigotMC", + "version": "Latest" + }, + { + "id": "squeaknode", + "name": "Squeaknode", + "repo": "https://github.com/squeaknode/squeaknode", + "version": "0.2.8" + }, + { + "id": "synapse", + "name": "Synapse", + "repo": "https://github.com/matrix-org/synapse", + "version": "1.54.0" + }, + { + "id": "synapse-admin", + "name": "Synapse Admin", + "repo": "https://github.com/Awesome-Technologies/synapse-admin", + "version": "0.8.5" + }, + { + "id": "tailscale", + "name": "Tailscale", + "repo": "https://github.com/tailscale/tailscale", + "version": "23.0.2" + }, + { + "id": "thunderhub", + "name": "ThunderHub", + "repo": "https://github.com/apotdevin/thunderhub", + "version": "0.13.7" }, { "id": "uptime-kuma", "name": "Uptime Kuma", "repo": "https://github.com/louislam/uptime-kuma", "version": "1.12.1" + }, + { + "id": "usocial", + "name": "Usocial", + "repo": "https://github.com/ibz/usocial", + "version": "0.1.5" + }, + { + "id": "vaultwarden", + "name": "Vaultwarden", + "repo": "https://github.com/dani-garcia/vaultwarden", + "version": "1.24.0" } ] \ No newline at end of file diff --git a/apps/apps.json b/apps/apps.json index 1487a27..a8bd265 100644 --- a/apps/apps.json +++ b/apps/apps.json @@ -1,9 +1,81 @@ [ { - "id": "sphinx-relay", - "name": "Sphinx Relay", - "repo": "https://github.com/stakwork/sphinx-relay", - "version": "2.2.5" + "id": "bitfeed", + "name": "Bitfeed", + "repo": "https://github.com/bitfeed-project/bitfeed", + "version": "2.2.0" + }, + { + "id": "bluewallet", + "name": "BlueWallet Lightning", + "repo": "https://github.com/BlueWallet/LndHub", + "version": "1.4.1" + }, + { + "id": "btc-rpc-explorer", + "name": "BTC RPC Explorer", + "repo": "https://github.com/janoside/btc-rpc-explorer", + "version": "3.3.0" + }, + { + "id": "btc-rpc-explorer-public", + "name": "BTC RPC Explorer (Public)", + "repo": "https://github.com/janoside/btc-rpc-explorer", + "version": "3.3.0" + }, + { + "id": "btc-rpc-explorer-public-fast", + "name": "BTC RPC Explorer (Public; Fast version)", + "repo": "https://github.com/janoside/btc-rpc-explorer", + "version": "3.3.0" + }, + { + "id": "btcpay-server", + "name": "BTCPay Server", + "repo": "https://github.com/btcpayserver/btcpayserver", + "version": "1.4.7" + }, + { + "id": "code-server", + "name": "code-server", + "repo": "https://github.com/cdr/code-server", + "version": "4.1.0" + }, + { + "id": "jam", + "name": "JAM", + "repo": "https://github.com/joinmarket-webui/joinmarket-webui", + "version": "0.0.4" + }, + { + "id": "krystal-bull", + "name": "Krystal Bull", + "repo": "https://github.com/bitcoin-s/krystal-bull", + "version": "1.7.0-212-d9126650" + }, + { + "id": "lightning-shell", + "name": "Lightning Shell", + "repo": "https://github.com/ibz/lightning-shell", + "version": "0.1.10" + }, + { + "id": "lightning-terminal", + "name": "Lightning Terminal", + "repo": "https://github.com/lightninglabs/lightning-terminal", + "version": "0.6.5-alpha" + }, + { + "id": "lndg", + "name": "LNDg", + "repo": "https://github.com/cryptosharks131/lndg", + "version": "1.0.4" + }, + { + "id": "lnmarkets", + "name": "LN Markets", + "repo": "https://github.com/ln-markets/umbrel", + "version": "1.1.5" }, { "id": "lnme", @@ -17,42 +89,12 @@ "repo": "https://github.com/mempool/mempool", "version": "2.3.1" }, - { - "id": "btc-rpc-explorer", - "name": "BTC RPC Explorer", - "repo": "https://github.com/janoside/btc-rpc-explorer", - "version": "3.3.0" - }, - { - "id": "usocial", - "name": "Usocial", - "repo": "https://github.com/ibz/usocial", - "version": "0.1.5" - }, { "id": "nextcloud", "name": "Nextcloud", "repo": "https://github.com/nextcloud/server", "version": "23.0.2" }, - { - "id": "squeaknode", - "name": "Squeaknode", - "repo": "https://github.com/squeaknode/squeaknode", - "version": "0.2.8" - }, - { - "id": "bluewallet", - "name": "BlueWallet Lightning", - "repo": "https://github.com/BlueWallet/LndHub", - "version": "1.4.1" - }, - { - "id": "lightning-terminal", - "name": "Lightning Terminal", - "repo": "https://github.com/lightninglabs/lightning-terminal", - "version": "0.6.5-alpha" - }, { "id": "node-red", "name": "Node-RED", @@ -60,100 +102,10 @@ "version": "2.2.2" }, { - "id": "synapse-admin", - "name": "Synapse Admin", - "repo": "https://github.com/Awesome-Technologies/synapse-admin", - "version": "0.8.5" - }, - { - "id": "jam", - "name": "JAM", - "repo": "https://github.com/joinmarket-webui/joinmarket-webui", - "version": "0.0.4" - }, - { - "id": "tailscale", - "name": "Tailscale", - "repo": "https://github.com/tailscale/tailscale", - "version": "23.0.2" - }, - { - "id": "bitfeed", - "name": "Bitfeed", - "repo": "https://github.com/bitfeed-project/bitfeed", - "version": "2.2.0" - }, - { - "id": "vaultwarden", - "name": "Vaultwarden", - "repo": "https://github.com/dani-garcia/vaultwarden", - "version": "1.24.0" - }, - { - "id": "spigot-mc", - "name": "Spigot", - "repo": "https://github.com/SpigotMC", - "version": "Latest" - }, - { - "id": "specter-desktop", - "name": "Specter Desktop", - "repo": "https://github.com/cryptoadvance/specter-desktop", - "version": "1.8.1" - }, - { - "id": "krystal-bull", - "name": "Krystal Bull", - "repo": "https://github.com/bitcoin-s/krystal-bull", - "version": "1.7.0-212-d9126650" - }, - { - "id": "btc-rpc-explorer-public", - "name": "BTC RPC Explorer (Public)", - "repo": "https://github.com/janoside/btc-rpc-explorer", - "version": "3.3.0" - }, - { - "id": "lndg", - "name": "LNDg", - "repo": "https://github.com/cryptosharks131/lndg", - "version": "1.0.4" - }, - { - "id": "lightning-shell", - "name": "Lightning Shell", - "repo": "https://github.com/ibz/lightning-shell", - "version": "0.1.10" - }, - { - "id": "synapse", - "name": "Synapse", - "repo": "https://github.com/matrix-org/synapse", - "version": "1.54.0" - }, - { - "id": "thunderhub", - "name": "ThunderHub", - "repo": "https://github.com/apotdevin/thunderhub", - "version": "0.13.7" - }, - { - "id": "lnmarkets", - "name": "LN Markets", - "repo": "https://github.com/ln-markets/umbrel", - "version": "1.1.5" - }, - { - "id": "btcpay-server", - "name": "BTCPay Server", - "repo": "https://github.com/btcpayserver/btcpayserver", - "version": "1.4.7" - }, - { - "id": "btc-rpc-explorer-public-fast", - "name": "BTC RPC Explorer (Public; Fast version)", - "repo": "https://github.com/janoside/btc-rpc-explorer", - "version": "3.3.0" + "id": "ride-the-lightning", + "name": "Ride The Lightning", + "repo": "https://github.com/Ride-The-Lightning/RTL", + "version": "0.12.2" }, { "id": "snowflake", @@ -162,21 +114,69 @@ "version": "2.1.0" }, { - "id": "code-server", - "name": "code-server", - "repo": "https://github.com/cdr/code-server", - "version": "4.1.0" + "id": "specter-desktop", + "name": "Specter Desktop", + "repo": "https://github.com/cryptoadvance/specter-desktop", + "version": "1.8.1" }, { - "id": "ride-the-lightning", - "name": "Ride The Lightning", - "repo": "https://github.com/Ride-The-Lightning/RTL", - "version": "0.12.2" + "id": "sphinx-relay", + "name": "Sphinx Relay", + "repo": "https://github.com/stakwork/sphinx-relay", + "version": "2.2.5" + }, + { + "id": "spigot-mc", + "name": "Spigot", + "repo": "https://github.com/SpigotMC", + "version": "Latest" + }, + { + "id": "squeaknode", + "name": "Squeaknode", + "repo": "https://github.com/squeaknode/squeaknode", + "version": "0.2.8" + }, + { + "id": "synapse", + "name": "Synapse", + "repo": "https://github.com/matrix-org/synapse", + "version": "1.54.0" + }, + { + "id": "synapse-admin", + "name": "Synapse Admin", + "repo": "https://github.com/Awesome-Technologies/synapse-admin", + "version": "0.8.5" + }, + { + "id": "tailscale", + "name": "Tailscale", + "repo": "https://github.com/tailscale/tailscale", + "version": "23.0.2" + }, + { + "id": "thunderhub", + "name": "ThunderHub", + "repo": "https://github.com/apotdevin/thunderhub", + "version": "0.13.7" }, { "id": "uptime-kuma", "name": "Uptime Kuma", "repo": "https://github.com/louislam/uptime-kuma", "version": "1.12.1" + }, + { + "id": "usocial", + "name": "Usocial", + "repo": "https://github.com/ibz/usocial", + "version": "0.1.5" + }, + { + "id": "vaultwarden", + "name": "Vaultwarden", + "repo": "https://github.com/dani-garcia/vaultwarden", + "version": "1.24.0" } ] \ No newline at end of file diff --git a/lib/metadata.py b/lib/metadata.py index a121f58..b58a8c5 100644 --- a/lib/metadata.py +++ b/lib/metadata.py @@ -22,4 +22,4 @@ def getSimpleAppRegistry(apps, app_path): 'version': app_yml['metadata']['version'] } app_metadata.append(metadata) - return app_metadata + return sorted(app_metadata, key=lambda app: app['id'])