dpt-config(5)
β¨ dpt-config β the dpt config file, bestie β¨
okay so this is dpt-config, which is the manual page (section 5, the file-formats girlies π
) all about how you configure dpt(1). yes it's giving "my config has lore" and honestly? correct.
π NAME π
dpt-config β dpt configuration π
πΈ DESCRIPTION πΈ
okay so here's the tea: the config for dpt(1) lives in plain text files that use POSIX shell syntax. and this is the important part, so listen β
the files are sourced by the tools, not parsed. no cap. that's literally the whole vibe. it's not some custom parser situation, it's just shell doing shell things πβ¨
π¦ LOCATION π¦
the tools go looking for config files in this order, and every single file they find gets sourced β so like, later files can possibly override the earlier ones π
~/.dpt.conf~/.config/dpt.conf
(and yes bestie, "possibly" is doing heavy lifting there because it depends on what the files actually set, iykyk π)
π TIPS & TRICKS π
π§βοΈ Run dpt(1) from git
so when bugs in dpt(1) get fixed, or new features land in git but haven't made it into the uploaded version yet, you might wanna run dpt and all its sub-scripts straight from your local clone of the pkg-perl-tools repository. iconic behaviour. and you do it by setting these variables in .dpt.conf:
# needed anyway, adjust path
DPT_PACKAGES=~/src/pkg-perl/packages
# specific for running from git
DPT__SCRIPTS=$DPT_PACKAGES/pkg-perl-tools/scripts
export PERL5LIB=$DPT_PACKAGES/pkg-perl-tools/lib
and yes, that is a double underscore in DPT__SCRIPTS. not a typo, that's just how she is π«Ά
π Storing tokens
ok so if you keep your config files in a (potentially) public git repository, you might be a lil wary of sticking tokens like DPT_GITHUB_OAUTH or DPT_SALSA_PRIVATE_TOKEN straight into your .dpt.conf. and valid!! π
but here's the slay: because .dpt.conf is just a shell fragment which gets sourced, you can totally put those variables in a different file instead β just don't commit that one, bestie, for real fr fr. like:
[ ! -e ~/.dpt.conf.$(hostname) ] || . ~/.dpt.conf.$(hostname)
chef's kiss. separation of concerns but make it β¨drama-freeβ¨
β COPYRIGHT & LICENSE β
Copyright 2013 Damyan Ivanov dmn@debian.org
Copyright 2018-2021 gregor herrmann gregoa@debian.org
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
and that's the whole page π this was pkg-perl-tools version 0.88, dated 2026-04-01, and it's the dpt-config(5) manual page, so now you know π go forth and source responsibly, my little shell fragment queen ππ
π¦ where this page comes from
- ubuntu stonking: pkg-perl-tools 0.88 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms