#1012721 ITP: chezmoi -- cross-platform dotfile manager

Package:
wnpp
Source:
wnpp
Submitter:
Tom Payne
Date:
2026-06-20 07:11:01 UTC
Severity:
wishlist
Tags:
#1012721#5
Date:
2022-06-12 20:11:28 UTC
From:
To:
* Package         : chezmoi
  Version         : 2.17.1
  Upstream author : Tom Payne <twpayne@gmail.com>
* URL             : https://chezmoi.io/
* License         : MIT
  Programming Lang: Go
  Description     : cross-platform dotfile manager

chezmoi is the most popular dotfile manager [1] with over 6.8K stars on
GitHub
and over 100 contributors. It has particularly strong support for managing
machine-to-machine differences (with templates and alternative files) and
security (via password manager integration or age and GPG encryption).

chezmoi is stable, popular, well-tested, with an active maintainer. It is
already available in many other Linux distributions and other packaging
systems
for other operating systems [2]. Guidelines for packagers are at [3].

It would be great to have chezmoi in Debian. Please tell me how I can help
make
this happen.

[1] https://dotfiles.github.io/utilities/
[2] https://www.chezmoi.io/install/#one-line-package-install
[3] https://www.chezmoi.io/developer/packaging/
Source code: https://github.com/twpayne/chezmoi
Releases: https://github.com/twpayne/chezmoi/releases/latest

#1012721#12
Date:
2022-06-13 19:01:25 UTC
From:
To:
Control: forwarded -1 https://github.com/twpayne/chezmoi/issues/2130
Control: retitle -1 ITP: chezmoi -- cross-platform dotfile manager

I use chezmoi on several of my systems, and packaging it has been on my
todo list. I can package it over the next few weeks.

Best,
Ryan

#1012721#23
Date:
2022-06-21 08:35:45 UTC
From:
To:
As a heads up, getting chezmoi into the archives requires packaging a
bunch of dependencies:

 *  github.com/bradenhilton/mozillainstallhash
 *  github.com/twpayne/go-xdg
 *  github.com/google/gops
 *  howett.net/plist
 *  github.com/zalando/go-keyring
 *  github.com/twpayne/go-shell
 *  github.com/muesli/combinator
 *  github.com/twpayne/go-pinentry
 *  github.com/twpayne/go-vfs

I've started on go-xdg and go-vfs, and will pluck away at the rest as I
have time.

—RAK

#1012721#28
Date:
2022-08-16 14:32:28 UTC
From:
To:
For those following along at home, I have all dependencies except

packaged. The blocker there is #1015213 [0], but I'll just manually
create the source package instead of relying on dh-make-golang.

If someone would like to help with uploading all of the packaged
dependencies (and double-checking that the updated dependencies don't
break any of their reverse-dependencies), I'd appreciate the second set
of eyes.

Best wishes,
Ryan

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015213

#1012721#63
Date:
2025-04-12 21:23:03 UTC
From:
To:
Hi Ryan,

chucked chezmoi into dh-make-golang today and it seems like there are
stil some packages missing :(

2025/04/12 23:12:21 Build-Dependency "github.com/tailscale/hujson" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/04/12 23:12:21 Build-Dependency "github.com/zricethezav/gitleaks" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/04/12 23:12:21 Build-Dependency "github.com/tobischo/gokeepasslib" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/04/12 23:12:21 Build-Dependency "github.com/Shopify/ejson" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/04/12 23:12:21 Build-Dependency "github.com/twpayne/go-expect" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/04/12 23:12:21 Build-Dependency "github.com/gopasspw/gopass" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
In addition, golang-github-azure-azure-sdk-for-go-sdk-dev is missing.

best,

werdahias

#1012721#70
Date:
2026-02-20 12:42:42 UTC
From:
To:
Hi Ryan,

are you still interested/working on getting chezmoi into Debian? If not,
I'd be happy to take over the ITP.

Regards,
Daniel

#1012721#75
Date:
2026-02-20 22:38:27 UTC
From:
To:
Hi Daniel,

Le Fri, Feb 20, 2026 at 01:42:42PM +0100, Daniel Baumann a écrit :

I am interested in seeing chezmoi get into Debian, but I should have
retitled this to RFP long ago. Please feel free to take over this ITP.

I got most of the way through packaging chezmoi's zillion transitive
dependencies, but got stuck on a version clash with some transitive
dependency already in Debian (probably long since resolved), and I gave
up when I saw that I would have to package a dependency that was only a
half-dozen lines of code ;)

I'm sorry to say that I've neglected to keep chezmoi's Go dependencies
up to date, and I had been meaning to request their removal. They are
all team maintained, and you are welcome to add yourself to the
Uploaders field (and to remove me). If you end up not needing some of
them, could you please let me know and I will request that they be
removed from Debian.

golang-github-bradenhilton-cityhash
golang-github-bradenhilton-mozillainstallhash
golang-github-keybase-go-ps
golang-github-muesli-combinator
golang-github-twpayne-go-pinentry
golang-github-twpayne-go-shell
golang-github-twpayne-go-vfs
golang-github-twpayne-go-xdg
golang-github-zalando-go-keyring

In case it's useful to you, there is some initial packaging work on
salsa: https://salsa.debian.org/go-team/packages/chezmoi

Best wishes,
Ryan

#1012721#80
Date:
2026-02-21 03:53:59 UTC
From:
To:
owner 1012721 Daniel Baumann <daniel@debian.org>
thanks

Hi Ryan,

sure, no worries.

I'll get to work and keep the bug and you updated.

Regards,
Daniel

#1012721#89
Date:
2026-06-20 06:29:45 UTC
From:
To:
Hi,

I got involved into this as I was asked to review Bug#1138679 and MRs
at https://salsa.debian.org/go-team/packages/golang-github-twpayne-go-expect

The plan above about what to package for Chezmoi is based on an old
packaging attempt from 2022 at
https://salsa.debian.org/go-team/packages/chezmoi

I suggest discarding that 2022 attempt and starting fresh from the
latest upstream Chezmoi version 2.70.5 with dh-make-golang, and after
that review the dependencies and create a new plan for handling them.

Unmaintained dependencies like go-expect should perhaps be replaced by
something that is maintained, e.g.
https://github.com/twpayne/go-expect ->
https://github.com/pete-woods/go-expect

i don't think it makes sense to just try to finish the 2022 attempt as
such without assessing the overall situation first.

#1012721#94
Date:
2026-06-20 07:08:13 UTC
From:
To:
why do you think so?
https://forgejo.debian.net/chezmoi/chezmoi

however, I'll update it to the current version later today (2.70.3 to
2.70.5) and check again what is missing in Debian in order to upload
chezmoi.

Regards,
Daniel