Consider keeping metadata and scripts separate

Open
#34 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
clojure, shell
Domain
cli, tooling

Research direction

Start by reading the issue proposal and locating the bbin entry points that manage installed scripts and their metadata. No files, tests, or concrete metadata format are named, so first establish the current storage behavior and the intended XDG layout. Done should mean that metadata can be kept separately from scripts while preserving reinstall and backup workflows.

Written by the indexing model from the issue text.

Description

enhancement

Splitting the metadata has the following benefits:

  • You can re-install scripts, even if the bin dir is wiped
  • You only have to back up those .edn files and can put them into source control
  • It feels less magic than having inline comments in scripts
  • Makes more sense with XDG conventions of keeping data and config separate
Dominant language
Clojure
Stars
195
Forks
15
Avg merge
1m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from babashka/bbin

All issues in babashka/bbin

Similar issues

More Clojure issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.