You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there are pros/cons with both approaches. That said, it will be a bit before I change anything here because I want to focus on more user-facing features such as #33, #18, and #69. Let's keep talking about the tradeoffs in the mean time.
My thoughts on how to store bbin script metadata (copied from #62 (comment), edited for brevity):
I think @borkdude's proposal of having one EDN file per installed script and an operation in bbin to install a script for each EDN file is a good solution.
Why: because implementation complexity and User can track EDN files in Git, and have bbin ensure the scripts are installed on all computers are important, and bbin uninstall safety/atomicity can still be solved in the future.
I mapped this out with a Rich Hickey style decision matrix (as advocated for in Design in Practice). Screenshot:
(send me a Google account if you want write access, eg to add a new column for a different approach, or to add a new row for a different criterium).
I think "metadata by script install name" is the best place to start, then consider "metadata in transaction log" or "metadata by script hexdigest" later if safe/atomic uninstall is desired.
Splitting the metadata has the following benefits:
.edn
files and can put them into source controlThe text was updated successfully, but these errors were encountered: