Code Monkey home page Code Monkey logo

Comments (4)

apauley avatar apauley commented on June 12, 2024 5

Yes, I also run into this from time to time, and then I manually delete those generated files.

I guess we can automatically delete all files in 2-preprocessed and 3-journal during each import - but I don't know if some people have put other files they care about in those directories.

Maybe if we limit our auto-deletion to just .csv and .journal files it should be safe

from hledger-flow.

jfly avatar jfly commented on June 12, 2024

Just one data point: I'm quite new to this tool, and have read a lot of the documentation over the last few weeks. All the documentation I read left me under the impression that these 2-preprocessed and 3-journal directories are auto-generated, I wouldn't expect anything I put in them to be "safe". (Heck, I probably wouldn't have even version controlled them if not for the comment here about "In a typical software project we don’t add generated files to version control...")

from hledger-flow.

TC72 avatar TC72 commented on June 12, 2024

I posted an issue related to this. How do you guys edit your journal files for things you don't catch with the rules file?

Ledger handles this by only importing new items from the csv using a .latest file in the csv directory to track what's already been imported. They also only add to the end of a journal, never overwrite it.

Starting to feel like I should always be running hledger-flow with --new-files-only and use hledger to import csv files that get updated.

from hledger-flow.

jfly avatar jfly commented on June 12, 2024

@TC72, good question! I left a comment over on your issue: #111 (comment)

from hledger-flow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.