hledger/hledger-lib
Simon Michael 81744d81a1 fix:journal:include: fix some regressions with glob matching in 1.50-1.50.3
Before 1.50, journal's include directive's handling of glob patterns (*, **, ?, etc.)
had these limitations:

- ** always searched intermediate dot directories
- ** matched only directories, not files

In 1.50-1.50.3, it had different limitations, some unintended:

- it ignored all dot files, dot dirs, and symbolic links to dot dirs,
  even when explicitly mentioned in the pattern (unless using --old-glob)
- it showed symbolic links dereferenced, eg in `hledger files` output

Now it has fewer limitations, mainly this:

- it ignores all dot files and dot dirs, even when explicitly mentioned (unless using --old-glob)

Ie it no longer ignores symbolic links to dot dirs, and it no longer shows symbolic links dereferenced.
Also: including the current file is now always harmless, whether using a glob pattern or not.

Internally, file paths in the "include file stack" (jincludefilestack) are now just absolute,
but not canonicalised; showing symbolic links un-dereferenced in output and error messages seems
generally more useful. This might affect output elsewhere also.
(Those paths are still canonicalised on the fly when checking for include cycles,
not so efficiently: each time an include directive is parsed, all the current parent files
and all the new glob-matched include files will be re-canonicalised.
Hopefully this is unnoticeable.)
2025-12-01 11:28:51 -08:00
..
Hledger fix:journal:include: fix some regressions with glob matching in 1.50-1.50.3 2025-12-01 11:28:51 -08:00
test ;cln: unittest.hs: remove bothersome PackageImports (#2337) 2025-02-26 11:54:59 -10:00
Text dev: switch all qualifed imports to ImportQualifiedPost style 2025-09-29 19:28:59 -10:00
.date.m4 ;doc: update embedded manuals 2025-11-03 06:35:05 -10:00
.ghci tools: .ghci for each package, sets shorter prompt 2016-04-15 16:06:45 -07:00
.version ;pkg: set version to 1.50.99 2025-09-03 20:22:40 +01:00
.version.m4 ;pkg: set version to 1.50.99 2025-09-03 20:22:40 +01:00
CHANGES.md ;doc:changelogs 2025-11-26 13:48:43 -08:00
hledger-lib.cabal dev!: balance: Use DayPartition for multibalance reports. 2025-10-09 15:31:28 -10:00
Hledger.hs ;pkg: tweak LICENSE files, try to get github to recognise 2025-03-31 18:18:10 -10:00
LICENSE ;pkg: simplify LICENSE (try to fix github license detection) 2025-03-31 19:12:38 -10:00
package.yaml pkg: package.yaml files cleanup, consistency 2025-09-29 19:08:50 -10:00
README.md ;doc: more tweaks to package readmes, hackage descriptions 2020-03-22 10:49:02 -07:00
Setup.hs Revert "remove Setup.hs files again, fixing a yesod devel warning" 2014-05-24 13:39:09 -07:00

hledger-lib

A reusable library containing hledgers core functionality. This is used by most hledger* packages so that they support the same common file formats, command line options, reports etc.

See also: the project README and home page.