Skip to content

Add --print-paths / --print-paths-as-flags - #21898

Open
sjmudd wants to merge 1 commit into
darktable-org:masterfrom
sjmudd:print-paths
Open

Add --print-paths / --print-paths-as-flags#21898
sjmudd wants to merge 1 commit into
darktable-org:masterfrom
sjmudd:print-paths

Conversation

@sjmudd

@sjmudd sjmudd commented Aug 17, 2026

Copy link
Copy Markdown

Resolving configdir, cachedir, datadir, moduledir, localedir and library.db today means reading source or -d dev debug spew, since --help only says "depends on your installation". A direct query is needed to compare paths across an apt/from-source/flatpak install during migration, and to point a new install at an existing one's paths/database without hand-deriving them.

This patch exposes the paths in an easy to use way, thus simplifying actual paths used and thus making it easier to migrate from one of binaries to another or check the right location for binaries, configuration or database content in these paths.

Resolving configdir, cachedir, datadir, moduledir, localedir and
library.db today means reading source or -d dev debug spew, since
--help only says "depends on your installation". A direct query is
needed to compare paths across an apt/from-source/flatpak install
during migration, and to point a new install at an existing one's
paths/database without hand-deriving them.
@wpferguson

Copy link
Copy Markdown
Member

Has anybody ever raised an issue about this? This seems to be a fix in search of a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants