Repository navigation
1.32: import --catchup no longer writes .latest files #2156
Copy link
Copy link
Closed
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.affects3-fewAffects just a few users.Affects just a few users.annoyance4-majorMajor usability/doc bug, or any regression or crash.Major usability/doc bug, or any regression or crash.bountyThar's some kind o' loot on offer..Thar's some kind o' loot on offer..csvThe csv file format, csv output format, or generally CSV-related.The csv file format, csv output format, or generally CSV-related.regressionA backwards step, indicating a weakness in our QA. We don't like these.A backwards step, indicating a weakness in our QA. We don't like these.
Description
Activity
- addedA-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.
on Jan 18, 2024 - addedcsvThe csv file format, csv output format, or generally CSV-related.The csv file format, csv output format, or generally CSV-related.regressionA backwards step, indicating a weakness in our QA. We don't like these.A backwards step, indicating a weakness in our QA. We don't like these.
on Jan 18, 2024 - changed the title
[-]`.latest.*.csv` files are not being written when importing CSVs using the `--catchup` option[/-][+]1.32: import --catchup no longer writes .latest files[/+]on Jan 18, 2024 Confirmed, thanks for the report!
Claim your https://hledger.org/REGRESSIONS.html#regression-bounty when convenient. Per new policy, it's $50 to the finder and (if someone other than me fixes it) $50 to the fixer.
- addedannoyance2-minorMinor to moderate usability/doc bug, reasonably easy to avoid or tolerate.Minor to moderate usability/doc bug, reasonably easy to avoid or tolerate.affects3-fewAffects just a few users.Affects just a few users.annoyance4-majorMajor usability/doc bug, or any regression or crash.Major usability/doc bug, or any regression or crash.and removedannoyance2-minorMinor to moderate usability/doc bug, reasonably easy to avoid or tolerate.Minor to moderate usability/doc bug, reasonably easy to avoid or tolerate.
on Jan 18, 2024 - pinned this issue
on Jan 18, 2024 - addedbountyThar's some kind o' loot on offer..Thar's some kind o' loot on offer..needs-releaseThis should probably be shipped in a release soon.This should probably be shipped in a release soon.
on Jan 19, 2024 - added a commit that references this issue
on Jan 21, 2024 Fixed in master.
- added a commit that references this issue
on Jan 28, 2024 - removedneeds-releaseThis should probably be shipped in a release soon.This should probably be shipped in a release soon.
on Jan 28, 2024 - unpinned this issue
on Jan 28, 2024 - added a commit that references this issue
on Mar 8, 2024 Hi @ishmaelavila, I encourage you to claim your $50 regression finder's bounty within the next 7 days! If not, it will be recorded as a project donation.
https://hledger.org/REGRESSIONS.html#regression-bounty- added a commit that references this issue
on Sep 10, 2026
Metadata
Metadata
Assignees
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.affects3-fewAffects just a few users.Affects just a few users.annoyance4-majorMajor usability/doc bug, or any regression or crash.Major usability/doc bug, or any regression or crash.bountyThar's some kind o' loot on offer..Thar's some kind o' loot on offer..csvThe csv file format, csv output format, or generally CSV-related.The csv file format, csv output format, or generally CSV-related.regressionA backwards step, indicating a weakness in our QA. We don't like these.A backwards step, indicating a weakness in our QA. We don't like these.
When I attempt to import a
CSVfrom my bank and I specify the--catchupoption, the command runs successfully, however, the.latest.sample.csvstate file is not written. The existence of the file and it's content do not seem to have an impact on whether the command updates/creates the file.I've been able to reproduce this issue reliably on versions above
1.31. The issue seems to have been introduced in1.32and I think it may be a regression as I couldn't find anything in the release notes suggesting it was an intentional change.Please let me know if you need anything else to reproduce or if this is a problem on my end. Thanks!
Steps To Reproduce
Note, the commands assume you have the
LEDGER_FILEenvironmental variable specified.>=1.32CSVthat contains valid transactions for importinghledger import --catchup sample.csv.latest.sample.csvto see if it was created or updatedno new transactions found in CSVExpected Result
The command finishes successfully, prints the number of transactions skipped, and updated the
.latest.sample.csvfile with the latest dates.Notes
When I run the
importcommand without--catchup, the journal file is updated and the.latest.sample.csvfile is created/updated correctly. The--catchupoption works for me in version1.31so I'll continue using that for now.