From 5e02aa48252a38f974d870da317018a17a4873aa Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Tue, 30 Sep 2025 17:42:57 -0700 Subject: [PATCH] client: migrate from `xsv` to `xan` `xsv` is no longer maintained and the author recommends `xan` instead. Fortunately, `xan` is very suitable for our use-case; is very efficient, and produces no differences in our expected output. --- .../remote/docker-finance/finance/Dockerfile.archlinux | 4 ++-- .../remote/docker-finance/finance/Dockerfile.ubuntu | 4 ++-- client/docker-finance.yaml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/Dockerfiles/remote/docker-finance/finance/Dockerfile.archlinux b/client/Dockerfiles/remote/docker-finance/finance/Dockerfile.archlinux index 504af21..deea21f 100644 --- a/client/Dockerfiles/remote/docker-finance/finance/Dockerfile.archlinux +++ b/client/Dockerfiles/remote/docker-finance/finance/Dockerfile.archlinux @@ -1,6 +1,6 @@ # docker-finance | modern accounting for the power-user # -# Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +# Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -37,7 +37,7 @@ RUN pacman -Syu \ bc \ csvkit \ vim \ - xsv \ + xan \ yq \ --noconfirm --disable-download-timeout diff --git a/client/Dockerfiles/remote/docker-finance/finance/Dockerfile.ubuntu b/client/Dockerfiles/remote/docker-finance/finance/Dockerfile.ubuntu index 392f249..ef04a99 100644 --- a/client/Dockerfiles/remote/docker-finance/finance/Dockerfile.ubuntu +++ b/client/Dockerfiles/remote/docker-finance/finance/Dockerfile.ubuntu @@ -1,6 +1,6 @@ # docker-finance | modern accounting for the power-user # -# Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +# Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -42,7 +42,7 @@ RUN apt-get install -y \ zlib1g-dev RUN apt-get install -y cargo -RUN cargo install xsv --root /usr +RUN cargo install xan --locked --root /usr # # Entrypoint diff --git a/client/docker-finance.yaml b/client/docker-finance.yaml index 9ac7b03..3810dd5 100644 --- a/client/docker-finance.yaml +++ b/client/docker-finance.yaml @@ -1,6 +1,6 @@ # docker-finance | modern accounting for the power-user # -# Copyright (C) 2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +# Copyright (C) 2024-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ container: - "bc" - "csvkit" - "vim" - - "xsv" + - "xan" - "yq" commands: - "hledger --version" @@ -93,7 +93,7 @@ container: - "hledger-iadd --version" - "hledger-ui --version" - "hledger-web --version" - - "xsv --version" + - "xan --version" fetch: packages: - "composer"