;examples: debconf: cleanups

This commit is contained in:
Simon Michael 2026-01-09 13:52:58 -10:00
parent 0286068c0f
commit 1ba12c5396
2 changed files with 16 additions and 13 deletions

View File

@ -1,17 +1,17 @@
recent: \ recent: \
dc25 \
dc24 \ dc24 \
dc25 \
all: \ all: \
dc25 \
dc24 \
dc23 \
dc22 \
dc21 \
dc20 \
dc19 \
dc18 \
dc17 \ dc17 \
dc18 \
dc19 \
dc20 \
dc21 \
dc22 \
dc23 \
dc24 \
dc25 \
# make dc-YY - clone the budget directory for this year and make it hledger-readable # make dc-YY - clone the budget directory for this year and make it hledger-readable
dc%: dc%:
@ -26,6 +26,9 @@ check-%:
# maintenance # maintenance
clean:
rm -rf dc*
# make rg-PAT - ripgrep for PAT in ledger,inc,db files in all years # make rg-PAT - ripgrep for PAT in ledger,inc,db files in all years
rg-%: rg-%:
rg -g '*.{ledger,inc,db}' '$*' rg -g '*.{ledger,inc,db}' '$*'

View File

@ -4,9 +4,9 @@ DebConf does their accounting with Ledger.
Eg: <https://salsa.debian.org/debconf-team/public/data/dc25/-/tree/main/budget> Eg: <https://salsa.debian.org/debconf-team/public/data/dc25/-/tree/main/budget>
Each year has its own repo, and the repos are big. Each year has its own repo, and the repos are big.
To clone just the accounting data for a few recent years: `make` To clone just the accounting data for a few recent years: `make`\
To clone all years, starting 2017: `make all` Or to clone all years, starting 2017: `make all`
Some patches for hledger readability will be applied. (These might need updating from time to time.)
To check hledger readability: `make check-hledger` Some patches for hledger readability will be applied; those might need updating from time to time.\
To check hledger readability: `make check-hledger`\
To check ledger readability: `make check-ledger` To check ledger readability: `make check-ledger`