Skip to content

Do we love scripts in ./bin or do we hate them? (hledger-balance-as-budget breakage) #2497

@adept

Description

@adept

Hi!

I've noticed that scripts in ./bin become broken regularly (if we want a concrete example, commit
80cf1d1 removed combineBudgetAndActual, that two scripts depend on, and I happen to use and love them.

I also think that those same scripts are not built by CI pipeline (which would explain how breakage occurs, and goes unnoticed).

At the same time, the existence of scripts is mentioned in docs, and some, i think, even get an explicit shout-out by name.

@simonmichael , what's the best long-term plan?

  • Shoud scripts be built in CI pipeline?
  • Or should they be declared best-effor only, and removed on breakage?
  • Should the removal of API endpoints be frowned upon if scripts depend on them, or endorsed?
  • Something else, like maybe encouraging to quickly convert scripts into hledger command, even at the risk of proliferation of niche narrow-scope commands as a result?

My current issue is that 80cf1d1 is quite a large commit, and it wont be a "swap this API call for that API call kind of fix" (at a first glance). This feels sad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.affects3-fewAffects just a few users.annoyance4-majorMajor usability/doc bug, or any regression or crash.docsDocumentation-related.packagingDependencies, version constraints, packaging..

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions