Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from twpayne:master #282

Open
wants to merge 1,737 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1737 commits
Select commit Hold shift + click to select a range
dc99169
fix: Make splitList return []any
bradenhilton Feb 27, 2024
55ce668
chore(deps): bump github/codeql-action from 3.23.2 to 3.24.6
dependabot[bot] Mar 1, 2024
85d015b
docs: Refactor developer guide
twpayne Mar 1, 2024
59764c8
fix: Fix panic in unmanaged on some dir permission errors
twpayne Mar 3, 2024
4d4b17b
chore: Update dependencies
twpayne Mar 3, 2024
1ce6b2e
chore: Update GitHub Actions
twpayne Mar 3, 2024
3a0b19e
fix: Add missing newlines in error messages
twpayne Mar 3, 2024
f16703e
chore: Fix permissions for deploy-website step
twpayne Mar 3, 2024
ce46858
docs: Add link to article
twpayne Mar 3, 2024
fd6c7ae
chore: Build with Go 1.22.1
twpayne Mar 5, 2024
39be95d
chore: Space scheduled CI runs to avoid exceeding GitHub API quotas
twpayne Mar 8, 2024
956244d
chore: Fix typo in log message
twpayne Mar 8, 2024
fccc759
fix: Handle copies in automatic commit messages
twpayne Mar 8, 2024
db0c90a
chore: Update dependencies
twpayne Mar 8, 2024
c47dcfa
chore: Update GitHub Actions
twpayne Mar 8, 2024
eb62958
docs: Fix incomplete sentence in usage docs
twpayne Mar 10, 2024
30fb22a
chore: Group Dependabot updates
twpayne Mar 10, 2024
3fbc646
chore(deps): bump the actions group with 1 update
dependabot[bot] Mar 10, 2024
24cf355
chore(deps): bump the python group in /assets with 2 updates
dependabot[bot] Mar 10, 2024
c8dc9a4
fix: Explicitly tell user when then should use a config file template
twpayne Mar 10, 2024
490cc3a
docs: Add link to article
twpayne Mar 11, 2024
88b586d
fix: Remove fig support
twpayne Mar 14, 2024
f9eeeeb
chore: Add missing go.sum entries
twpayne Mar 16, 2024
f490429
fix: pass the `--needed` flag to pacman
aarondill Mar 16, 2024
ad77158
fix: Increase range of types accepted by promptChoice template function
twpayne Mar 27, 2024
06d8351
chore: Fix lock-threads GitHub Action
twpayne Mar 29, 2024
99f5ea2
chore: Update golangci-lint
twpayne Mar 29, 2024
b33959d
chore: Update dependencies
twpayne Mar 29, 2024
60cc314
chore: Update GitHub Actions
twpayne Mar 29, 2024
b366d0e
fix: Fix panic when adding children in exact_ dirs
twpayne Mar 30, 2024
5749974
chore: Skip tests that require a net connection when offline
twpayne Mar 30, 2024
8a83dcc
fix: Skip adding entries in external dirs instead of erroring
twpayne Mar 31, 2024
97f27d1
chore: Factor out and use common set implementation
twpayne Mar 31, 2024
ed0186f
chore: Use generic function in tests
twpayne Mar 31, 2024
2e4236c
fix: Don't traverse into ignored directories when adding files
twpayne Mar 31, 2024
0acd448
chore: Update dependencies
twpayne Mar 31, 2024
4f76edb
chore: Update golangci-lint config
twpayne Mar 31, 2024
3a3dd13
docs: Add links to articles
twpayne Mar 31, 2024
7ef2386
chore(deps): bump the python group in /assets with 2 updates
dependabot[bot] Apr 1, 2024
8b2a435
docs: Add install.doctor to related software
twpayne Apr 2, 2024
872c584
docs: Add troubleshooting entry on missing /bin/bash on Nix
twpayne Apr 3, 2024
027e329
chore(deps): bump the actions group with 3 updates
dependabot[bot] Apr 1, 2024
0f1158f
chore: Disable lock-threads GitHub Action temporarily
twpayne Apr 4, 2024
c10c730
chore: Build with Go 1.22.2
twpayne Apr 4, 2024
fb54305
chore: Update dependencies
twpayne Apr 4, 2024
4c30f6a
chore: Fix use of ireturn linter
twpayne Apr 4, 2024
d2ca5f0
chore: re-enable lock-threads GitHub Action
twpayne Apr 6, 2024
57c9d9f
chore: Update dependencies
twpayne Apr 9, 2024
b1f40b8
chore: Update GitHub Actions
twpayne Apr 9, 2024
6712140
chore: fix function names in comment
kindknow Apr 11, 2024
b4df44d
fix: Fix panic on empty external
twpayne Apr 12, 2024
d6ad485
fix: Fix potential panic when textconv interpreter is empty
twpayne Apr 12, 2024
313d232
chore: Fix function names in comments
momantech Apr 17, 2024
c67b821
chore: Update dependencies
twpayne Apr 17, 2024
ad74250
chore: Update GitHub Actions
twpayne Apr 17, 2024
89fab4b
docs: Fix origin URL in quick start guide
twpayne Apr 21, 2024
4a9d0e4
feat: Include name of target in error message
twpayne Apr 22, 2024
153ff43
fix: Better detect username on Android/Termux systems
twpayne Apr 23, 2024
38a41c6
chore: Fix internal joining of lines for tests
twpayne Apr 23, 2024
8e3f44c
chore: Add pathslist functionality
twpayne Apr 23, 2024
278e2be
feat: Add --tree flag to ignored command
twpayne Apr 23, 2024
91823e3
feat: Add --tree flag to managed command
twpayne Apr 23, 2024
2e04dcf
feat: Add --tree flag to unmanaged command
twpayne Apr 23, 2024
9c817ce
docs: Document --tree flag
twpayne Apr 23, 2024
8343e98
chore: Use fmt.Stringer internally
twpayne Apr 23, 2024
b1b40b2
docs: Add link to article
twpayne Apr 26, 2024
7dfcfcf
fix: Remove unmanaged files from exact_ directories containing extern…
twpayne Apr 26, 2024
3f41d57
chore: Update dependencies
twpayne Apr 26, 2024
cb162d6
chore: Update GitHub Actions
twpayne Apr 26, 2024
c758a1c
fix: Apply .chezmoiignore to dirs in external archives
twpayne Apr 26, 2024
6a90b3e
fix: Links section is broken in docs
koiralakiran1 Apr 27, 2024
a6e2d8e
chore: Bump github.com/twpayne/go-pinentry to v4
twpayne Apr 28, 2024
9d332c6
docs: Add link to article
twpayne Apr 29, 2024
9b57763
chore: Temporarily disable snapcraft builds
twpayne Apr 29, 2024
a5a982f
chore: Fix file exists errors when running golangci-lint GitHub Action
twpayne Apr 29, 2024
a49a7e0
chore: Disable buggy ireturn linter
twpayne Apr 29, 2024
a396e3a
feat: Add gitHubLatestReleaseAssetURL template function
twpayne Apr 29, 2024
9744229
chore(deps): bump the python group in /assets with 3 updates
dependabot[bot] May 1, 2024
cbeafae
chore(deps): bump the actions group with 3 updates
dependabot[bot] May 1, 2024
57485b9
chore(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.1.0
dependabot[bot] May 1, 2024
5142cbd
chore(deps): bump github.com/alecthomas/assert/v2 in the go-prod group
dependabot[bot] May 1, 2024
a1196a7
chore: Update go.sum
twpayne May 1, 2024
6d64797
chore: Update golangci-lint
twpayne May 5, 2024
dce276c
chore: Update GitHub Actions
twpayne May 5, 2024
9adfbc4
chore: Update dependencies
twpayne May 5, 2024
37e74e6
chore: Update tools
twpayne May 5, 2024
5732f14
chore: Build with Go 1.22.3
twpayne May 8, 2024
b7c54d9
chore: Re-enable snapcraft builds
twpayne May 9, 2024
d81e88b
chore: Add test for #3744
twpayne May 1, 2024
9bad962
chore: Update dependencies
twpayne May 12, 2024
1ef05f2
chore: Update GitHub Actions
twpayne May 12, 2024
6ff87d1
chore: Update golangci-lint
twpayne May 12, 2024
4ad03d7
chore: Pin goreleaser version
twpayne May 12, 2024
ac214d0
chore: switch to Go for generate-commit
bradenhilton May 13, 2024
6eadaf3
chore: Run golangci-lint on all OSes
twpayne May 13, 2024
255846e
chore: Remove unused variable
twpayne May 13, 2024
8c162d5
chore: Update golangci-lint
twpayne May 20, 2024
a61ff05
chore: Update GitHub Actions
twpayne May 20, 2024
ad72fa1
chore: Update dependencies
twpayne May 20, 2024
bda1e81
chore: Move off deprecated macos-11 GitHub Action runners
twpayne May 20, 2024
1a16b49
docs: Add link to article
twpayne May 23, 2024
13bdcf2
chore: Add links to tool release pages
twpayne May 25, 2024
703f0de
chore: Update dependencies
twpayne May 25, 2024
a48a459
chore: Exclude COMMIT from whitespace checks
twpayne May 25, 2024
3bf3e9e
chore: Add workaround for golangci-lint bug
twpayne May 25, 2024
39de9bc
chore: Update tools
twpayne May 25, 2024
24a990d
fix: fix error when determining GOARCH in install.ps1
bradenhilton May 25, 2024
8f72b73
chore: run install.ps1 on both powershell and pwsh
bradenhilton May 25, 2024
5cf451a
fix: Respect umask when creating files
twpayne May 27, 2024
6845ab9
chore: Fix permissions of generated file
twpayne May 27, 2024
788f805
fix: Don't panic on unexpected bubbletea messages
twpayne May 30, 2024
5fb9509
chore: Update dependencies
twpayne May 30, 2024
80d7918
chore: Update tools
twpayne May 30, 2024
bcd52b9
docs: Update comparison-table.md
docwhat May 31, 2024
9c4e461
chore(deps): bump the actions group with 2 updates
dependabot[bot] Jun 1, 2024
ac26c62
chore(deps): bump the python group in /assets with 2 updates
dependabot[bot] Jun 1, 2024
5a31a1c
chore: Build with Go 1.22.4
twpayne Jun 4, 2024
588a157
chore: Update to goreleaser v2
twpayne Jun 5, 2024
f781976
fix: Fix panic when parsing some commands
twpayne Jun 6, 2024
ca643ce
feat: Rename remove command to destroy
twpayne Jun 9, 2024
0f45cb4
feat: Add stub for removed remove command
twpayne Jun 9, 2024
10a0669
chore: Ignore whitespace errors in Python virtualenvs
twpayne Jun 9, 2024
8c3d928
chore: Fix path to install goreleaser v2
twpayne Jun 9, 2024
82caee1
chore: Update dependencies
twpayne Jun 9, 2024
e776519
chore: Update Github Actions
twpayne Jun 9, 2024
5d44441
chore: Update tools
twpayne Jun 9, 2024
2e05737
chore: Temporarily disable install.sh on Windows 2022
twpayne Jun 10, 2024
b8efee1
chore: Bump goreleaser version
twpayne Jun 11, 2024
9618e20
chore: Update dependencies
twpayne Jun 11, 2024
75e4680
chore: lint: don't assume upstream is origin (e.g. after $(gh repo fo…
donaldguy Jun 11, 2024
e102de5
chore: add test to ensure config struct tags match across marshal for…
donaldguy Jun 11, 2024
829c629
chore: Update dependencies
twpayne Jun 16, 2024
476bff9
chore: Update Github Actions
twpayne Jun 16, 2024
e350e50
chore: Update tools
twpayne Jun 16, 2024
af65574
fix: Accept line-endings template directive as well as line-ending
twpayne Jun 17, 2024
d875618
chore: Update dependencies
twpayne Jun 23, 2024
b4b5565
chore: Update Github Actions
twpayne Jun 23, 2024
31b2060
feat: Embed fallback X.509 trusted roots
twpayne Jun 26, 2024
217cdaa
feat: Add --no-network flag to doctor command
twpayne Jun 25, 2024
b7cf4ba
docs: Add GianniBYoung/chezmoi-telescope.nvim to related software
twpayne Jun 30, 2024
473ed67
chore(deps): bump github/codeql-action in the actions group
dependabot[bot] Jul 1, 2024
784bb58
chore(deps): bump the python group in /assets with 2 updates
dependabot[bot] Jul 1, 2024
6c0c12d
chore: Update dependencies
twpayne Jul 1, 2024
4241393
feat: Allow private_ and readonly_ attrs to be set for externals
twpayne Jul 1, 2024
2808e7c
feat: Add tempDir configuration variable
twpayne Jul 1, 2024
2a75540
fix: Prevent chezmoi add from adding chezmoi's own executable
twpayne Jul 1, 2024
3ad9743
chore: Build with Go 1.22.5
twpayne Jul 2, 2024
676a9a9
feat: Add decompression of file externals
twpayne Jul 3, 2024
711534a
docs: Add link to article
twpayne Jul 5, 2024
cf9a38d
chore: Avoid using append in loops
twpayne Jul 6, 2024
f6ecfdb
fix: Use scriptTempDir for modify_ scripts
twpayne Jul 8, 2024
10854b4
chore: Update dependencies
twpayne Jul 12, 2024
0a9a64f
chore: Update Github Actions
twpayne Jul 12, 2024
4ebcb0b
chore: Update tools
twpayne Jul 12, 2024
2615c52
fix: keep initFuncs when using 'includeTemplate' in config
kdomanski Jul 9, 2024
caa51da
chore: Improve verb usage in website FAQ docs
CarrotManMatt Jul 13, 2024
bd09623
chore: Ignore correctly-spelled word
twpayne Jul 13, 2024
5061b8d
chore: Tidy up tests
twpayne Jul 14, 2024
37ae864
chore: Remove stale FIXMEs
twpayne Jul 14, 2024
3dea74a
chore: Use user-defined encrypted suffixes in doctor check
twpayne Jul 14, 2024
0cd223b
chore: Rename variables to satisfy spell checker
twpayne Jul 14, 2024
8ce9ccf
chore: Build with goreleaser v2.1.0
twpayne Jul 13, 2024
7800ef4
chore: update goreleaser config
bradenhilton Jul 14, 2024
3d5533b
chore: Update dependencies
twpayne Jul 15, 2024
f2f13ea
chore: Update Github Actions
twpayne Jul 15, 2024
2a7845f
feat: Add 1Password SDK template funcs
twpayne Jul 4, 2024
f62adf3
chore: Update dependencies
twpayne Jul 25, 2024
c417798
chore: Don't assume that bzip2 is installed in tests
twpayne Jul 31, 2024
5d3b761
chore: Tidy up check for zip in tests
twpayne Jul 31, 2024
2ff17eb
chore(deps): bump the python group in /assets with 2 updates
dependabot[bot] Aug 1, 2024
c0a8059
chore(deps): bump the actions group with 2 updates
dependabot[bot] Aug 1, 2024
73893c1
fix: Don't modify ciphertext in edit command if plaintext did not change
twpayne Aug 5, 2024
48f873b
feat: Add gitHubRelease and gitHubReleaseAssetURL template functions
pix Aug 1, 2024
7a68dfc
chore: Minor tidy-ups
twpayne Aug 5, 2024
d5579c7
docs: Clarify requirement to set sourceDir when used in Codespaces
twpayne Aug 6, 2024
132a7c9
chore: Update dependencies
twpayne Aug 5, 2024
de82e02
chore: Update GitHub Actions
twpayne Aug 5, 2024
0d5fa6c
chore: Ignore whitespace errors in Python virtualenvs
twpayne Aug 6, 2024
3c7d3cd
chore: Build with Go 1.22.6
twpayne Aug 6, 2024
28ebfec
fix: Ignore permission changes in re-add command on Windows
twpayne Aug 6, 2024
64f40d9
chore: Limit commit hash length to seven characters in website
twpayne Aug 6, 2024
ca0d133
feat: Add github.com/johan-weitner/chezmoi-ui to related software
twpayne Aug 13, 2024
4843d55
docs: Add links to two articles
twpayne Aug 14, 2024
8e40c43
docs: Add link to video
twpayne Aug 14, 2024
f893f65
chore: Build with Go 1.23
twpayne Jul 6, 2024
cba7e40
fix: Set User-Agent header to chezmoi.io/version on all HTTP requests
twpayne Aug 14, 2024
9042768
chore: Update dependencies
twpayne Aug 15, 2024
b18b769
chore: Update GitHub Actions
twpayne Aug 15, 2024
7f44957
chore: Update GoReleaser
twpayne Aug 15, 2024
32ea903
chore: Update dependencies
twpayne Aug 21, 2024
13e9338
chore: Update golangci-lint
twpayne Aug 21, 2024
ee8f533
chore: Use sync.OnceValues for lazy evaluation
twpayne Aug 24, 2024
5173284
chore: Tidy up use of types for SHA256 sums
twpayne Aug 25, 2024
4667419
chore: Update dependencies
twpayne Aug 25, 2024
61b4746
chore: Update tool versions
twpayne Aug 25, 2024
7aee332
feat: Support YubiKeys in KeePassXC open mode
twpayne Aug 20, 2024
1ac3014
docs: Add github.com/b3nj5m1n/xdg-ninja to related software
twpayne Aug 28, 2024
8cc211b
chore(deps): bump the python group in /assets with 3 updates
dependabot[bot] Sep 1, 2024
ee0047f
chore: Update dependencies
twpayne Sep 1, 2024
98ba3e1
chore: Update GitHub Actions
twpayne Sep 1, 2024
3f4fb2c
chore(deps): bump github/codeql-action
dependabot[bot] Sep 1, 2024
0355a62
docs: Add link to blog
twpayne Sep 4, 2024
85a0989
chore: Build with Go 1.23.1
twpayne Sep 5, 2024
3a17101
docs: Add links to articles
twpayne Sep 8, 2024
b9b25fa
chore: Update dependencies
twpayne Sep 7, 2024
c320e7a
chore: Update tools
twpayne Sep 7, 2024
68bcd95
chore: Skip test requiring network if DNS lookup fails
twpayne Sep 7, 2024
94a27ee
chore: Use simple framework for mock password managers
twpayne Sep 7, 2024
2a64e42
docs: Make features and portability more prominent on home page
twpayne Sep 9, 2024
d9f4717
docs: Add how to use VSCode as the diff and merge tool
twpayne Sep 9, 2024
7b3c836
chore: Remove stray newlines
twpayne Sep 9, 2024
d414e0f
docs: Add warning on using externals for large files or archives
twpayne Sep 9, 2024
89f72ee
chore: Fix capitalization of chezmoi
twpayne Sep 9, 2024
b56a600
docs: Add FAQ entry on literal {{ and }} in templates
twpayne Sep 9, 2024
a3de4a8
docs: Add FAQ entry on running a script when a git-repo external changes
twpayne Sep 9, 2024
fdb2065
docs: Add FAQ entry on running scripts periodically
twpayne Sep 9, 2024
37eab81
docs: Add FAQ entry on using delta as the diff tool
twpayne Sep 9, 2024
ea8d95d
docs: Add Stack Overflow to social media links
twpayne Sep 9, 2024
f67e048
docs: Add home page section on getting help
twpayne Sep 9, 2024
0452dfe
chore: Fix capitalization of GitHub
twpayne Sep 9, 2024
25ea2da
chore: Update dependencies
twpayne Sep 9, 2024
f91dbfc
chore: Update tools
twpayne Sep 9, 2024
be16b73
feat: Set GOMAXPROCS based on available resources
twpayne Sep 12, 2024
71fb7bf
chore: Update dependencies
twpayne Sep 12, 2024
48ae2b5
chore: Update tools
twpayne Sep 12, 2024
5644141
fix: Improve phonetic pronunciation of chezmoi
twpayne Sep 15, 2024
dbde967
docs: Add daily usage entry on editing files
twpayne Sep 16, 2024
353264c
docs: Add sequence diagram for chezmoi init
twpayne Sep 16, 2024
63f24f9
chore: Fix typo
alper Sep 16, 2024
1fc8195
docs: Add note about website build dependencies
alper Sep 16, 2024
f84b8e5
docs: Add note on reporting viruses or trojans on Windows
twpayne Sep 19, 2024
895055a
docs: Add link to blog
twpayne Sep 19, 2024
6ccb6ff
chore: Update dependencies
twpayne Sep 19, 2024
73bbc21
chore: Update tools
twpayne Sep 19, 2024
44c5670
chore: Update social media links
twpayne Sep 22, 2024
42d5f1a
chore: Update dependencies
twpayne Sep 23, 2024
d765e2c
chore: Update tools
twpayne Sep 23, 2024
e3e839f
chore: Format YAML with format-yaml
halostatue Sep 24, 2024
34f415c
docs: Use `uv` for managing Python and dependencies
halostatue Sep 24, 2024
10149ed
chore: Update dependencies
twpayne Sep 26, 2024
15206c0
chore: Update GitHub Actions
twpayne Sep 26, 2024
be2bfbf
chore(deps): bump github/codeql-action
dependabot[bot] Sep 26, 2024
222aef8
docs: Improve developer documentation
twpayne Sep 27, 2024
7ed5c1d
docs: Add link to article
twpayne Sep 30, 2024
beff044
chore: Update dependencies
twpayne Sep 30, 2024
bc0720f
chore: Update tool versions
twpayne Sep 30, 2024
c136cd0
chore: Update GitHub Actions
twpayne Sep 30, 2024
10ff148
chore: Add missing conjunction
twpayne Sep 30, 2024
559a891
chore(deps): bump github/codeql-action in the actions group
dependabot[bot] Oct 1, 2024
6866751
chore: Build with Go 1.23.2
twpayne Oct 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 0 additions & 15 deletions .devcontainer/Dockerfile

This file was deleted.

33 changes: 0 additions & 33 deletions .devcontainer/devcontainer.json

This file was deleted.

5 changes: 5 additions & 0 deletions .ecrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Exclude": [
"^completions/"
]
}
20 changes: 16 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
root = true

[*]
charset = "utf-8"
end_of_line = "lf"
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.ps1]
charset = "utf-8"
end_of_line = "crlf"
charset = utf-8
end_of_line = crlf
insert_final_newline = true
trim_trailing_whitespace = true

[*.py]
indent_size = 4
indent_style = space

[*.sh]
indent_size = 1
indent_style = tab

[{*.yaml,*.yml}]
indent_size = 2
indent_style = space
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
* -text

# Make GitHub language breakdown more accurate, see https://github.com/github/linguist
*.gen.go linguist-generated
assets/scripts/install.sh linguist-generated
assets/scripts/install-local-bin.sh linguist-generated
completions/* linguist-generated
2 changes: 1 addition & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Code of Conduct

Please read the [Go Community Code of Conduct](https://golang.org/conduct).
[Contributor Covenant Code Of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
3 changes: 3 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Contributing

See https://chezmoi.io/developer-guide/contributing-changes/.
12 changes: 7 additions & 5 deletions .github/ISSUE_TEMPLATE/01_support_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Get help with using chezmoi
title: ''
labels: support
assignees: ''

---

## What exactly are you trying to do?
Expand All @@ -17,23 +16,26 @@ Describe what you have tried so far.

## Where else have you checked for solutions?

* [ ] I have read [chezmoi's how-to guide](https://github.com/twpayne/chezmoi/blob/master/docs/HOWTO.md), and not found the answer.
* [ ] I have read [chezmoi's FAQ](https://github.com/twpayne/chezmoi/blob/master/docs/FAQ.md), and not found the answer.
* [ ] I have searched [chezmoi's reference guide](https://github.com/twpayne/chezmoi/blob/master/docs/REFERENCE.md), and not found the answer.
* [ ] I have read [chezmoi's user guide](https://chezmoi.io/user-guide/command-overview/), and not found the answer.
* [ ] I have searched [chezmoi's reference guide](https://chezmoi.io/reference/), and not found the answer.
* [ ] Other, please give details.

## Output of any commands you've tried with `--verbose` flag

```console
$ chezmoi --verbose <your-command>
$ chezmoi --verbose $COMMAND
```

## Output of `chezmoi doctor`

<details>

```console
$ chezmoi doctor
```

</details>

## Additional context

Add any other context about the problem here.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/02_feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Request a new feature
title: ''
labels: enhancement
assignees: ''

---

## Is your feature request related to a problem? Please describe.
Expand Down
7 changes: 5 additions & 2 deletions .github/ISSUE_TEMPLATE/03_bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Bug report
about: Report a bug
title: ''
assignees: ''

---

## Describe the bug
Expand All @@ -21,15 +20,19 @@ A clear and concise description of what you expected to happen.
## Output of command with the `--verbose` flag

```console
$ chezmoi --verbose <your-command>
$ chezmoi --verbose $COMMAND
```

## Output of `chezmoi doctor`

<details>

```console
$ chezmoi doctor
```

</details>

## Additional context

Add any other context about the problem here.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
Thanks for contributing!

Please make sure that you have followed the contributing guide:
https://github.com/twpayne/chezmoi/blob/master/docs/CONTRIBUTING.md
https://chezmoi.io/developer-guide/contributing-changes/

-->
3 changes: 3 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Security

See https://chezmoi.io/developer-guide/security/.
62 changes: 44 additions & 18 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,46 @@
version: 2
updates:
- package-ecosystem: gomod
directory: /
schedule:
interval: monthly
labels:
- enhancement
- package-ecosystem: gitsubmodule
directory: /
schedule:
interval: monthly
labels:
- enhancement
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
labels:
- enhancement
- package-ecosystem: gomod
directory: /
schedule:
interval: monthly
labels:
- enhancement

groups:
go-dev:
dependency-type: development
patterns:
- '*'
update-types: [minor, patch]

go-prod:
dependency-type: production
patterns:
- '*'
update-types: [minor, patch]

- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
labels:
- enhancement

groups:
actions:
patterns:
- '*'
update-types: [minor, patch]

- package-ecosystem: pip
directory: /assets
schedule:
interval: monthly
labels:
- enhancement
groups:
python:
patterns:
- '*'
update-types: [minor, patch]
26 changes: 26 additions & 0 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: govulncheck
on:
pull_request:
branches:
- master
push:
branches:
- master
tags:
- v*
schedule:
- cron: 2 2 * * *
jobs:
govulncheck:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- name: go-version
id: go-version
run: |
echo go-version="$(awk '/GO_VERSION:/ { print $2 }' .github/workflows/main.yml | tr -d \')" >> "${GITHUB_OUTPUT}"
- uses: golang/govulncheck-action@dd0578b371c987f96d1185abb54344b44352bd58
with:
go-version-input: ${{ steps.go-version.outputs.go-version }}
106 changes: 106 additions & 0 deletions .github/workflows/installer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
name: installer
on:
pull_request:
branches:
- master
push:
branches:
- master
env:
SHA: ${{ github.event_name == 'push' && github.sha || github.event.pull_request.head.sha }}
jobs:
changes:
runs-on: ubuntu-22.04
outputs:
sh: ${{ steps.filter.outputs.sh }}
ps1: ${{ steps.filter.outputs.ps1 }}
permissions:
contents: read
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- id: filter
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
with:
filters: |
shared: &shared
- '.github/workflows/installer.yml'
sh:
- *shared
- 'assets/scripts/install*.sh'
- 'internal/cmds/generate-install.sh/install.sh.tmpl'
ps1:
- *shared
- 'assets/scripts/install.ps1'
misspell:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: reviewdog/action-misspell@ef8b22c1cca06c8d306fc6be302c3dab0f6ca12f
with:
locale: US
ignore: ackward
test-install-sh:
if: ${{ needs.changes.outputs.sh == 'true' }}
strategy:
matrix:
os:
- macos-12
- ubuntu-20.04
#- windows-2022 # fails with "debug http_download_curl received HTTP status 000"
needs: changes
runs-on: ${{ matrix.os }}
env:
BINARY: ${{ matrix.os == 'windows-2022' && 'bin/chezmoi.exe' || 'bin/chezmoi' }}
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- name: test-${{ matrix.os }}-local
shell: bash
run: |
rm -f ${{ env.BINARY }}
sh assets/scripts/install.sh -d
${{ env.BINARY }} --version
- name: test-${{ matrix.os }}-url
shell: bash
run: |
rm -f ${{ env.BINARY }}
sh -c "$(curl -fsLS https://raw.githubusercontent.com/twpayne/chezmoi/${{ env.SHA }}/assets/scripts/install.sh)" -- -d
${{ env.BINARY }} --version
test-install-ps1:
if: ${{ needs.changes.outputs.ps1 == 'true' }}
strategy:
matrix:
os: [macos-12, ubuntu-20.04, windows-2022]
needs: changes
runs-on: ${{ matrix.os }}
env:
BINARY: ${{ matrix.os == 'windows-2022' && 'bin/chezmoi.exe' || 'bin/chezmoi' }}
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- name: test-${{ matrix.os }}-local-pwsh
shell: pwsh
run: |
if (Test-Path -Path ${{ env.BINARY }}) { Remove-Item -Force ${{ env.BINARY }} }
assets/scripts/install.ps1 -d
${{ env.BINARY }} --version
- name: test-${{ matrix.os }}-local-powershell
if: matrix.os == 'windows-2022'
shell: powershell
run: |
if (Test-Path -Path ${{ env.BINARY }}) { Remove-Item -Force ${{ env.BINARY }} }
assets/scripts/install.ps1 -d
${{ env.BINARY }} --version
- name: test-${{ matrix.os }}-url-pwsh
shell: pwsh
run: |
if (Test-Path -Path ${{ env.BINARY }}) { Remove-Item -Force ${{ env.BINARY }} }
iex "&{$(irm 'https://raw.githubusercontent.com/twpayne/chezmoi/${{ env.SHA }}/assets/scripts/install.ps1')} -d"
${{ env.BINARY }} --version
- name: test-${{ matrix.os }}-url-powershell
if: matrix.os == 'windows-2022'
shell: powershell
run: |
if (Test-Path -Path ${{ env.BINARY }}) { Remove-Item -Force ${{ env.BINARY }} }
iex "&{$(irm 'https://raw.githubusercontent.com/twpayne/chezmoi/${{ env.SHA }}/assets/scripts/install.ps1')} -d"
${{ env.BINARY }} --version
Loading