Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to uuid ID for categories and accounts #43

Closed
Xiphe opened this issue Apr 27, 2020 · 5 comments
Closed

Migrate to uuid ID for categories and accounts #43

Xiphe opened this issue Apr 27, 2020 · 5 comments
Labels
action: 🙋question Further information is requested
Milestone

Comments

@Xiphe
Copy link
Owner

Xiphe commented Apr 27, 2020

The upcoming version of MoneyMoney will provide a category export (ref #39).
It will also support getting transactions from accounts that don't have a accountNumber (like Offline/Cash accounts).

Both fixes are using a new uuid format for ids that is not compatible with the account numbers and category ids currently being used in .budget files.

Question is: Should I try to provide a migration for budget-files? Or would it be OK if we throw away our previous files and start fresh?

@Xiphe
Copy link
Owner Author

Xiphe commented Apr 27, 2020

Have you already entered lots of budgets that would be hard to re-create? @MorrisJobke @jeifour ?

@Xiphe Xiphe added the action: 🙋question Further information is requested label Apr 27, 2020
@Xiphe Xiphe added this to the Beta milestone Apr 27, 2020
@Xiphe Xiphe changed the title Migrate to uuid category IDs Migrate to uuid ID for categories and accounts Apr 27, 2020
@jakob11git
Copy link

Personally completely fine with breaking changes without easy migration methods during Alpha.

@zigulle
Copy link

zigulle commented Apr 27, 2020

same here. It´s alpha code.

@MorrisJobke
Copy link

same here. Better spend your time with other stuff. 👍

@Xiphe
Copy link
Owner Author

Xiphe commented Apr 29, 2020

Awesome! Same here :)

But since we're in a close feedback loop I thought couldn't hurt to ask you :)

So the answer is: No, I wont try to migrate from numeric category ids and account numbers to uuids.

@Xiphe Xiphe closed this as completed Apr 29, 2020
Xiphe added a commit that referenced this issue Apr 29, 2020
This release requires MoneyMoney version `>=2.3.27` which right now is only available as beta release.

See [MoneyMoney Beta-Versionen](https://moneymoney-app.com/beta/)
And consider [making a backup before](https://moneymoney-app.com/help/)

Due to the use of new MoneyMoney APIs, `.budget` files created prior to this can not be opened with this version. (ref #43)

Detailed changes:

* feat: split out sidebar from scroller
* feat: sync overview scroll with main view
* feat: hide default title bar
* feat: display budget name in sidebar
* feat: re-implement scrollTo on MonthOverview click
* fix: add header to all screens and fix layout issues
* feat: display unused categories
* fix(InfiniteSlider): ensure initial view can be scrolled
* feat: use uuid api from moneymoney
* feat: increase budget file format version
* feat: add header to loading and error screens
* feat: throw human readable error when budget file format is not supported
* fix: lookup accounts by uuid when re-calculating starting balance

---

ref #44
fix #22
fix #39
fix #28 (wontfix)
fix #26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: 🙋question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants