On Wed, Oct 05, 2022 at 02:39:31PM -0700, Archimedes Smith wrote:
> Anyone interested in this project? Any bug reports / suggestions would be 
> appreciated.

This is an amazing project. I wanted to have something similar for a
very long time. Now, in terms of suggestions/questions:

- I had already bookmarked in the past your repo (due to other cool
  stuff you've in there). In spite of that I'd have never found this
  project in there without this announcement email of yours. Would you
  consider splitting autobean.refactor out into its own project? It'd
  help a lot with visibility.

- I could really use some API reference documentation for the library,
  as the tests are hard to navigate to understand how the manipulation
  logics works.

- My initial UX idea for something like this was more like a user
  language connected to some CLI driver (in the style of sed/awk/perl,
  but with a DSL for Beancount). Is that something you've considered? Of
  course, if it will ever come to be, it will be "just" an additional
  layer on top of the manipulation library that you've now.

Ere are some of my frequent use cases for these manipulations, in case
it helps you double-checking if they are already supported or not:

- Rename accounts in batch, without messing up indentation. Bonus point:
  detect that the rename is not creating clashes (unless explicitly
  requested).

- Change the alignment column of amounts (purely syntactical change).

- Move metadata "up", from postings to the main transactions or
  vice-versa (move them "down").

- Select transactions by some predicate (e.g., they have a given
  narration or metadata) and perform in batch modifications to selected
  ones (e.g., add/remove a metadata, set the narration to something,
  etc.)

- Ensure consistent ordering in metadata postings (e.g., "bank-label" is
  always first, followed by "author", then "card", etc.).

Hope this helps,
Cheers
-- 
Stefano Zacchiroli . [email protected] . upsilon.cc/zack          _. ^ ._
Full professor of Computer Science              o     o   o     \/|V|\/
Télécom Paris, Polytechnic Institute of Paris     o     o o    </>   <\>
Co-founder & CTO Software Heritage            o o o     o       /\|^|/\
Former Debian Project Leader & OSI Board Director               '" V "'

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20221006104942.csa2yvpdygvtex5k%40upsilon.cc.

Reply via email to