FS#71036 - [chezmoi] Extra dir created

Attached to Project: Community Packages
Opened by Waldo122 (user824303582) - Thursday, 27 May 2021, 08:06 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 30 May 2021, 13:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Daurnimator (daurnimator)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
For v2.0.12, there are two ways to get the binary.
1. Source - https://github.com/twpayne/chezmoi/releases/download/v2.0.12/chezmoi-2.0.12.tar.gz
2. Precompiled - https://github.com/twpayne/chezmoi/releases/download/v2.0.12/chezmoi_2.0.12_linux_amd64.tar.gz

The resulting binaries from the two methods aren't exactly the same.
Running "chezmoi doctor" gives version "dev" for the source and version "2.0.12" for the precompiled one.

Version "dev" has a bug. See the upstream bug report linked below.

Additional info:
* package version(s)
2.0.12-1
* config and/or log files etc.
-
* link to upstream bug report, if any
https://github.com/twpayne/chezmoi/issues/1222
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 30 May 2021, 13:03 GMT
Reason for closing:  Not a bug
Additional comments about closing:  User requested, presumably they were using something other than the packaged program.
Comment by Waldo122 (user824303582) - Thursday, 27 May 2021, 08:07 GMT
PKGBUILD uses the source build. It is suggested (by upstream) to switch to the precompiled one to resolve the bug.
Comment by Doug Newgard (Scimmia) - Thursday, 27 May 2021, 13:14 GMT
It's actually building from github's automated archive created from the tag. I wonder what would happen if it built from the actual release artifact.
Comment by Daurnimator (daurnimator) - Thursday, 27 May 2021, 13:24 GMT
The report in the upstream doesn't match what I see locally:

```
$ chezmoi doctor | head -n 2
RESULT CHECK MESSAGE
warning version v2.0.12
```

What do you see when you run `chezmoi --version`? If you're using the arch package you should see:
```
chezmoi version v2.0.12
```
Comment by Doug Newgard (Scimmia) - Thursday, 27 May 2021, 13:27 GMT
In that case, how about what `type -a chezmoi` gives you?
Comment by Doug Newgard (Scimmia) - Saturday, 29 May 2021, 22:30 GMT
ping Waldo122...

Loading...