@@ -19,27 +19,28 @@ will create them as regular directories.
19
19
20
20
Entries may have the following fields:
21
21
22
- | Variable | Type | Default value | Description |
23
- | ----------------- | -------- | ------------- | ---------------------------------------------------------------- |
24
- | ` type ` | string | * none* | External type (` file ` , ` archive ` , ` archive-file ` , or ` git-repo ` ) |
25
- | ` encrypted ` | bool | ` false ` | Whether the external is encrypted |
26
- | ` exact ` | bool | ` false ` | Add ` exact_ ` attribute to directories in archive |
27
- | ` exclude ` | [ ] string | * none* | Patterns to exclude from archive |
28
- | ` executable ` | bool | ` false ` | Add ` executable_ ` attribute to file |
29
- | ` format ` | string | * autodetect* | Format of archive |
30
- | ` path ` | string | * none* | Path to file in archive |
31
- | ` include ` | [ ] string | * none* | Patterns to include from archive |
32
- | ` refreshPeriod ` | duration | ` 0 ` | Refresh period |
33
- | ` stripComponents ` | int | ` 0 ` | Number of leading directory components to strip from archives |
34
- | ` url ` | string | * none* | URL |
35
- | ` checksum.sha256 ` | string | * none* | Expected SHA256 checksum of data |
36
- | ` checksum.sha384 ` | string | * none* | Expected SHA384 checksum of data |
37
- | ` checksum.sha512 ` | string | * none* | Expected SHA512 checksum of data |
38
- | ` checksum.size ` | int | * none* | Expected size of data |
39
- | ` clone.args ` | [ ] string | * none* | Extra args to ` git clone ` |
40
- | ` filter.command ` | string | * none* | Command to filter contents |
41
- | ` filter.args ` | [ ] string | * none* | Extra args to command to filter contents |
42
- | ` pull.args ` | [ ] string | * none* | Extra args to ` git pull ` |
22
+ | Variable | Type | Default value | Description |
23
+ | ---------------------------- | -------- | ------------- | ---------------------------------------------------------------- |
24
+ | ` type ` | string | * none* | External type (` file ` , ` archive ` , ` archive-file ` , or ` git-repo ` ) |
25
+ | ` encrypted ` | bool | ` false ` | Whether the external is encrypted |
26
+ | ` exact ` | bool | ` false ` | Add ` exact_ ` attribute to directories in archive |
27
+ | ` exclude ` | [ ] string | * none* | Patterns to exclude from archive |
28
+ | ` executable ` | bool | ` false ` | Add ` executable_ ` attribute to file |
29
+ | ` format ` | string | * autodetect* | Format of archive |
30
+ | ` path ` | string | * none* | Path to file in archive |
31
+ | ` include ` | [ ] string | * none* | Patterns to include from archive |
32
+ | ` refreshPeriod ` | duration | ` 0 ` | Refresh period |
33
+ | ` stripComponents ` | int | ` 0 ` | Number of leading directory components to strip from archives |
34
+ | ` url ` | string | * none* | URL |
35
+ | ` checksum.sha256 ` | string | * none* | Expected SHA256 checksum of data |
36
+ | ` checksum.sha384 ` | string | * none* | Expected SHA384 checksum of data |
37
+ | ` checksum.sha512 ` | string | * none* | Expected SHA512 checksum of data |
38
+ | ` checksum.size ` | int | * none* | Expected size of data |
39
+ | ` clone.args ` | [ ] string | * none* | Extra args to ` git clone ` |
40
+ | ` filter.command ` | string | * none* | Command to filter contents |
41
+ | ` filter.args ` | [ ] string | * none* | Extra args to command to filter contents |
42
+ | ` pull.args ` | [ ] string | * none* | Extra args to ` git pull ` |
43
+ | ` archive.extractAppleDouble ` | bool | ` false ` | If ` true ` , AppleDouble files are extracted |
43
44
44
45
If any of the optional ` checksum.sha256 ` , ` checksum.sha384 ` , or
45
46
` checksum.sha512 ` fields are set, chezmoi will verify that the downloaded data
@@ -66,6 +67,12 @@ The supported archive formats are `tar`, `tar.gz`, `tgz`, `tar.bz2`, `tbz2`,
66
67
` xz ` , ` .tar.zst ` , and ` zip ` . If ` format ` is not specified then chezmoi will
67
68
guess the format using firstly the path of the URL and secondly its contents.
68
69
70
+ When ` type ` is ` archive ` or ` archive-file ` , the optional setting
71
+ ` archive.extractAppleDouble ` controls whether
72
+ [ AppleDouble] ( https://en.wikipedia.org/wiki/AppleSingle_and_AppleDouble_formats )
73
+ files are extracted. It is ` false ` by default, so AppleDouble files will not
74
+ be extracted.
75
+
69
76
The optional ` include ` and ` exclude ` fields are lists of patterns specify which
70
77
archive members to include or exclude respectively. Patterns match paths in the
71
78
archive, not the target state. chezmoi uses the following algorithm to
0 commit comments