hledger-flow
hledger-flow copied to clipboard
hledger-flow does not 'see' _manual_ year subdirectory if there is no corresponding 1-in subdirectory
Describe the bug
Version and Runtime Information
Please mention the version number of hledger-flow
you are using:
$ $HLEDGER_FLOW_EXECUTABLE --version
hledger-flow 0.15.0 linux x86_64 ghc 9.0 2b025fee477538a493cb7b5eaf163fd959aaec42
Is this the latest version?
Yes
Also include the runtime options of the command you ran, e.g:
/home/lestephane/.local/bin/hledger-flow-0.15.0 +RTS -N10 -RTS --show-options --batch-size 200 import
RuntimeOptions {baseDir = "/home/lestephane/Vault/Finance/", importRunDir = "import/personal/SCRUBBED/fondspolice/", importStartYear = Nothing, onlyNewFiles = False, hfVersion = "hledger-flow 0.15.0 linux x86_64 ghc 9.0 2b025fee477538a493cb7b5eaf163fd959aaec42", hledgerInfo = HledgerInfo {hlPath = "/home/lestephane/Vault/Finance/hledger", hlVersion = "hledger 5895a46, linux-x86_64"}, sysInfo = SystemInfo {os = "linux", arch = "x86_64", compilerName = "ghc", compilerVersion = Version {versionBranch = [9,0], versionTags = []}, cores = 12, availableCores = 10}, verbose = False, showOptions = True, sequential = False, batchSize = 200}
Collecting input files from /home/lestephane/Vault/Finance/import/personal/SCRUBBED/fondspolice/
Found 1 input files in 0.000833711s. Proceeding with import...
Wrote include files for 1 journals in 0.002329759s
Imported 1/1 journals in 0.039248629s
To Reproduce
- Import a directory for which
- There is a
1-in
journal for yearYYYY
- There is no
1-in
journal for yearYYYY+1
<< -- this part I'm not sure about - There is a
_manual_/YYYY+2/post-import.journal
- There is a
Expected behavior
- There should be a
YYYY+2-include.journal
- The
YYYY+2-include.journal
should be included inall-years.journal
Desktop (please complete the following information): N/A
Additional context N/A
A possible workaround is to create an empty .journal
in 1-in/YYYY+1
and 1-in/YYYY+2
.