twpayne/chezmoi 2841
Manage your dotfiles across multiple machines, securely.
twpayne/go-geom 385
Package geom implements efficient geometry types for geospatial applications.
Dotfiles, managed with https://github.com/twpayne/chezmoi
Download tracklogs and upload waypoints for popular flight recorders on UNIX-like operating systems
IGC g-record signing proof of concept
Package darksky implements a client for the Dark Sky API. See https://darksky.net/dev.
Go client library for the Doarama GPS track visualizer
flatjson converts JSON files to a "flat" representation with one value per line.
twpayne/devfest-zurich2012-whats-hot-on-google-plus 2
Visualize Google+ posts in a heatmap on Google Maps via Google FusionTables (hosted on Google Drive)
Userspace filesystem for Flytec and Brauniger flight recorders
issue commenttwpayne/chezmoi
Symmetric encryption doesn't seem to work
If it's any help, chezmoi supports multiple password managers simultaneously (just use different template functions) and you can of course hook your own in with the generic secret functionality. This might help you do an incremental migration.
comment created time in 2 days
issue commenttwpayne/chezmoi
Symmetric encryption doesn't seem to work
if you're feeling generous, it would be nice to have the ability to have an encrypted, opaque directory so that filenames inside it are not exposed. But that probably breaks the relatively 1:1 filesystem mapping you have going on. :)
This would likely be similar to #662 except with the added functionality that the tarball is encrypted, and I think it's a very good idea.
comment created time in 2 days
issue commenttwpayne/chezmoi
Symmetric encryption doesn't seem to work
I think my best bet is probably just creating that directory with a
privatesubdirectory that's ignored and then just put agpgtared blob with the contents of private in there that I unpack in arun_once
That sounds like a good solution given chezmoi's functionality at the moment. At the same time, is it worth using a password manager to achieve this? chezmoi supports almost all of the popular ones, and tools like pass are very close to what you'll end up implementing in the run_once script.
comment created time in 2 days
issue commenttwpayne/chezmoi
Symmetric encryption doesn't seem to work
Ah, chezmoi's documentation is severely lacking here. It's been a while since I wrote the code, but chezmoi assumes that you already have gpg configured and doesn't help you do this. In short, you need to configure gpg so that gpg --symmetric works on its own, outside chezmoi, then you should be able to use the config that you posted.
Apologies for this, I'll keep this issue open until the documentation is improved.
comment created time in 2 days
pull request commentHomebrew/homebrew-core
⚠️ Bottle publish failed.
This looks like some kind of transient network error ("fatal: unable to access 'https://github.com/Homebrew/homebrew-core/': transfer closed with outstanding read data remaining").
comment created time in 2 days
push eventtwpayne/chezmoi
commit sha 762f402983f5b454c3b5fd3e1f3ee10842c33e06
Update gh-pages
push time in 2 days
PR opened nektos/act
This PR:
- Removes stray code added in #369 (presumably added accidentally:
examples/workflowsdoes not exist). - Adds
go test ./...to thetesttarget.
Note that the test fail on my Ubuntu machine:
[push/lint ] 🚀 Start image=node:12.6-buster-slim
[push/test ] 🚀 Start image=node:12.6-buster-slim
[push/test ] 🐳 docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[push/lint ] 🐳 docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[push/test ] 🐳 docker cp src=/home/twp/src/github.com/nektos/act/. dst=/github/workspace
[push/lint ] 🐳 docker cp src=/home/twp/src/github.com/nektos/act/. dst=/github/workspace
[push/test ] ⭐ Run actions/checkout@v2
[push/test ] ✅ Success - actions/checkout@v2
[push/test ] ⭐ Run actions/setup-go@v1
[push/test ] ☁ git clone 'https://github.com/actions/setup-go' # ref=v1
[push/test ] Unable to resolve v1: reference not found
[push/test ] ❌ Failure - actions/setup-go@v1
Error: reference not found
exit status 1
I think this is due to issue #311.
pr created time in 3 days
push eventtwpayne/scoop-bucket
commit sha adf10a9387fc3924bbaf016d339720f581c6661e
Scoop update for chezmoi version v1.8.6
push time in 3 days
created tagtwpayne/chezmoi
Manage your dotfiles across multiple machines, securely.
created time in 3 days
issue commenttwpayne/chezmoi
Linux binaries aren't compatible with musl libc systems (dynamic glibc depency)
Thanks for reporting this! This should now be fixed. I'll tag a new release.
comment created time in 3 days
push eventtwpayne/chezmoi
commit sha c04022bb56ebef768170fdbd6b51306c456e7d2d
Statically link Linux binary with musl
commit sha cfa3fd2674bc7cd74cbf506f52ebe15723365133
Merge pull request #893 from twpayne/static-link-with-musl Statically link Linux binary with musl
push time in 3 days
issue closedtwpayne/chezmoi
Linux binaries aren't compatible with musl libc systems (dynamic glibc depency)
Describe the bug
The linux binaries are dynamically linked to glibc. This breaks compatibility with musl libc systems, like voidlinux musl and alpine (the package on apk is built correctly).
To reproduce
- Try to use a linux build on a musl libc system.
Expected behavior
The binaries are truly statically linked an just work.
Additional info
Following the build instruction on a musl system works just fine, but I expect those builds to not work on glibc systems.
closed time in 3 days
0x5cpush eventtwpayne/chezmoi
commit sha c04022bb56ebef768170fdbd6b51306c456e7d2d
Statically link Linux binary with musl
push time in 3 days
Pull request review commenttwpayne/chezmoi
Statically link Linux binary with musl
jobs: - name: Test release run: | # verify that version information is embedded correctly- ./dist/chezmoi-cgo_linux_amd64/chezmoi --version | tee /dev/stderr | grep -q "chezmoi version v"+ file ./dist/chezmoi-cgo_linux_amd64/chezmoi --version | tee /dev/stderr | grep -q "statically linked"
Good catch, thanks! I was a bit sloppy with cut-and-paste.
comment created time in 3 days
push eventtwpayne/chezmoi
commit sha 8c864eabea343088ef9cd41a8d95377b27d9b038
snapshot
push time in 3 days
PR opened nektos/act
As act is now included in Homebrew-core (https://github.com/Homebrew/homebrew-core/pull/58193) the command to install act with Homebrew has changed slightly. This PR updates the documentation.
pr created time in 3 days
push eventtwpayne/chezmoi
commit sha 6e7de57a895cfd554e92fc43a059a9c3bf3ce423
snapshot
push time in 3 days
push eventtwpayne/chezmoi
commit sha ca23287d9d4fac1ea606c685a6e76312ff0d6c24
Statically link Linux binary with musl
push time in 3 days
issue closedtwpayne/chezmoi
Feature: Add math template functions (esp. multiplication for scaling)
Go's text/template doesn't do math. However, you can define functions for use in templates. Chezmoi should define some functions for basic math.
Use Case
I suspect this is a common use case: sharing configuration between computers with different DPIs. You need to scale values by a usually fixed amount between computers. For example, my polybar is 25px on my standard DPI desktop monitor but 50px on my HiDPI laptop monitor. To achieve this I have an entry in my config.yaml like data: polybar: height: 50 (line breaks removed).
Instead, if Chezmoi defined a function like multiply, I could define a variable data: scale: 2 and use it across all my templates like height = {{ multiply 25 .scale }} or font = "mono {{ multiply 12 .scale }}" rather than having config variables for each value that requires scaling.
Example: https://play.golang.org/p/ro4K9-4HCgo (this is pretty basic; I don't know Go; I suspect it might require a few more lines to work with floats)
closed time in 4 days
webarnesissue commenttwpayne/chezmoi
Feature: Add math template functions (esp. multiplication for scaling)
Let's add floating support when it's definitely needed. I'll close this for now.
comment created time in 4 days
pull request commentbmatcuk/doublestar
The main advantages over Travis is that GitHub Actions are a lot faster, support Windows, and are under active development.
comment created time in 4 days
push eventtwpayne/chezmoi
commit sha fd5dbcbde0b3f9c061f7b30595ffe53f77534ae7
snapshot
commit sha eca71b10b4dc697f8fa0b5139780e3dd71c63358
snapshot
commit sha e2aa3779fa30b99b13f0e6c35e0131e1c1001a8b
snapshot
push time in 5 days
push eventtwpayne/chezmoi
commit sha 00e3db0abfda1ca8db0b4eca1d7c6e79ddf45158
snapshot
push time in 6 days
push eventtwpayne/chezmoi
commit sha 4b198c331255e742ff6305539e2ba9b5644c800b
snapshot
push time in 6 days
push eventtwpayne/chezmoi
commit sha 501918b7bd267ead977b69507067e093498b4fb9
snapshot
push time in 6 days
push eventtwpayne/chezmoi
commit sha 6b36239e114a8567af4e45dad98665e7b7ab1392
snapshot
push time in 6 days
issue commenttwpayne/chezmoi
Support a root directory other than the repository's root
Would it work to put all your non-home directory stuff in a directory called stuff and then add stuff to .chezmoiignore?
comment created time in 6 days
push eventtwpayne/chezmoi
commit sha 5466270e9a34d049287bd7eef04e76d52820f3c2
snapshot
push time in 6 days
push eventtwpayne/chezmoi
commit sha a084aa171089276a4846cf9a0908c6ba48d3c94b
snapshot
commit sha 58952106e7ed1f5a27af94a57e75c6b5a2e8c261
snapshot
push time in 6 days
PR opened etcd-io/bbolt
pr created time in 6 days
push eventtwpayne/chezmoi
commit sha 0defd207b7dde30c879489febb1fac0558e10fe8
snapshot
push time in 6 days
push eventtwpayne/chezmoi
commit sha a23351f0974b34f9d9e087215b00de40474a0252
Tweak golangci-lint configuration
commit sha 7b9340ab42825a5c79c0381a5176e4fd7ecc358c
snapshot
commit sha 01ed45b2bbbbb8a8adb8c44271a59ea4e8c1de28
snapshot
commit sha 654e77f2a2965bea879e2d623a6525be9f6160bc
snapshot
commit sha a7c259612a4ec48e39bd72ba34dfb476329e6347
snapshot
commit sha 39ec82f906c6fdb5e4d3d3b5fa771ba183662c89
snapshot
commit sha eff5b3c6377dfae5dc52ab679e176a57976326c8
snapshot
commit sha caefb1a364978a7465685ba07921540cf0eec9da
snapshot
commit sha bdf440b265ce85c395d59706d3e19108826e5ad4
snapshot
commit sha 6fa78176bff843a72859a363ed9572eed8f6ed20
snapshot
commit sha df0cd59bd096e2be66536bc16467da8c29639170
snapshot
commit sha 26a6f5378fdf2311c7d19738a4286595e566243c
snapshot
commit sha 754c39fb957b32c8d3071fa8a323c0b4a71f7fd7
snapshot
commit sha 5c6cff68262d94def68ac032c73d9b9344c85acb
snapshot
commit sha d594bb562cbd0009fd23eb50bfae80ff9e5c0886
snapshot
commit sha 818d39a7a6e7a8de2c2a1e4df6bfeaf5abedacbb
snapshot
commit sha 0293f0a6664dc33a1bed9fb20999b020cdb597f3
snapshot
commit sha 6a20ecdcdd8972e766239369f6e8d00d0fb3e6e1
snapshot
commit sha 5aa3687bd4fb34a4aa145bc21605e5efcdb6ee66
snapshot
commit sha 668c17909b7a05e4eb98dda377c0b7a0e0d0a1c3
snapshot
push time in 6 days
push eventtwpayne/chezmoi
commit sha a23351f0974b34f9d9e087215b00de40474a0252
Tweak golangci-lint configuration
push time in 6 days
push eventtwpayne/chezmoi
commit sha 2d5bb172962b7b043f1b439f32a920f89d2855ab
snapshot
push time in 6 days
push eventtwpayne/chezmoi
commit sha ab59a61f1b9dc1f05acccd26c7438466fb5c7ee9
snapshot
push time in 6 days
push eventtwpayne/chezmoi
commit sha cf929c265f2e287ef5c922eee39134f9335a43b3
snapshot
push time in 6 days
push eventtwpayne/chezmoi
commit sha 2e3352b506d130538b1d9ed0194f2c593546b2e4
snapshot
commit sha ea849082a5da54a198f4183ffa074e02ac436135
snapshot
push time in 6 days
push eventtwpayne/chezmoi
commit sha e56778ea3f3d632e7cefe942abfaaed7c149356c
snapshot
commit sha 5714bbff54b76a34cb1c580789fc064e0ca3c889
snapshot
commit sha c8b23745d92ca3b576f8ac9ed2047ca16db74b85
snapshot
push time in 7 days
push eventtwpayne/chezmoi
commit sha 4fc4a88d41a02504aebe3bf35afd3509c37997f4
snapshot
commit sha d06c681575acae636eeb75b5a6626305fc2ae1ae
snapshot
commit sha 28102c1accce959a74025da8661ffe3e5c6ce9f4
snapshot
push time in 7 days
push eventtwpayne/chezmoi
commit sha 7d6a4ecadf58fe57766056e06ba385905df86a9b
snapshot
push time in 7 days
push eventtwpayne/chezmoi
commit sha 1383c9beacdc912732e35f66685282cd0d17739f
snapshot
push time in 7 days
PR opened twpayne/chezmoi
This is not quite ready yet, it still needs a full work-around for setting the ACL on $TMPDIR where chezmoi creates its temporary test directories. See https://github.community/t/bug-umask-does-not-seem-to-be-respected/129638 for discussion.
pr created time in 7 days
push eventtwpayne/chezmoi
commit sha 63662f96796700fd26b5620b674dacb5a43a3c1b
snapshot
push time in 8 days
push eventtwpayne/chezmoi
commit sha 6dbbf9a777fa7a965947979a1b0bb89e401d3051
snapshot
push time in 8 days
PR opened google/renameio
This is an initial proposal for a helper package as requested so that #26 can be unblocked. The naming of the package is of course contentious, I'm happy to change it to whatever the maintainer prefers.
pr created time in 9 days
push eventtwpayne/renameio
commit sha a345f2a30c6aae5244e9df0d25ac55a67fd3e7d5
add maybe package
push time in 9 days
issue commentgolang/go
proposal: cmd/go: notify about newer major versions
Thanks @icholy - I used your tool based on a recommendation from @seankhliao and https://github.com/twpayne/chezmoi/pull/889 was the result.
comment created time in 10 days
push eventtwpayne/chezmoi
commit sha 03e1f21ec8e062fb5e6c3f54316b771fa09ba813
snapshot
push time in 10 days
push eventtwpayne/chezmoi
push time in 10 days
push eventtwpayne/chezmoi
commit sha 87655f006efb1cd3e1cdae3db5ac41259bc348f5
snapshot
push time in 10 days
push eventtwpayne/chezmoi
commit sha 1f99378d846d5a53c802a0ee7090af112801f22d
snapshot
push time in 10 days
push eventtwpayne/chezmoi
commit sha 892154b9fb0fdd7ac1a93470ee014c0640596b29
snapshot
push time in 10 days
push eventtwpayne/chezmoi
commit sha d3e910d623d25e4b80b06578ee0410b467ca8abf
Update dependencies
commit sha 7187c261767d60e16a1921e81413a835f818d32a
Merge pull request #889 from twpayne/update-deps Update dependencies
commit sha 537803925b4813999b72d69955dfd7c24742c38f
snapshot
commit sha 5836aab40e0d481b1e7281a77fcb388475efb2ec
snapshot
push time in 10 days
PR opened bmatcuk/doublestar
Eventually, this could replace Travis. It includes a build and test check, and invokes golangci-lint with its default configuration.
pr created time in 10 days
push eventtwpayne/doublestar
commit sha 7cc56d5fe8d316210e1921ff82412a63449b6f03
link release badge to GitHub releases page
commit sha 57be4617097ce0f0ad57788d0dc5b4c2c91140c9
add link to documentation
push time in 10 days
push eventtwpayne/chezmoi
commit sha d3e910d623d25e4b80b06578ee0410b467ca8abf
Update dependencies
commit sha 7187c261767d60e16a1921e81413a835f818d32a
Merge pull request #889 from twpayne/update-deps Update dependencies
push time in 10 days
issue openedjhasse/clicolors
https://no-color.org/ has different, but related, goals. Maybe add a link or description to README.md about how the two are related?
created time in 10 days
issue commentgolang/go
proposal: cmd/go: notify about newer major versions
User experience report, cross-posted here following a discussion on #general on Slack, with input from @seankhliao, @theckman, and @peterbourgon. tl;dr "is there an existing tool that tells you when there's a new major version of any of the Go modules that you use?"
I wrote:
@theckman My use case is that I have an app that has some dependencies that are end-user-visible and I was relying on go get -u to keep these dependencies up to date. I was surprised to discover that there was a new major version of a key library I was using, and then got suspicious that there might be other out-of-date dependencies and wanted to check.
Specifically, the app is https://github.com/twpayne/chezmoi and the key library is https://github.com/Masterminds/sprig. sprig contains a bunch of useful text/template functions which chezmoi makes available to the user.
In practice, many open source projects can only afford to keep the most recent major version up to date with bug fixes, so it's generally worth making the effort to maintain your own code to use the most recent major version.
There's a deeper issue of course: the use of semantic versioning in Go modules assumes that module developers always know when they break backwards compatibility and need to tag a new major version. This assumption is obviously and demonstrably false (obligatory XKCD: https://xkcd.com/1172/) but this has already been widely discussed.
In short, in open source, you're almost always better off using the latest version, be that major, minor, or patch, and it would be nice if a tool existed to help you do that.
comment created time in 10 days
push eventtwpayne/chezmoi
commit sha d3e910d623d25e4b80b06578ee0410b467ca8abf
Update dependencies
push time in 10 days
issue commenttwpayne/chezmoi
Feature: Add math template functions (esp. multiplication for scaling)
Thanks for the suggestion @webarnes, and thank you for the fast and accurate response @zb140 :)
@webarnes, do you need floating point support?
comment created time in 10 days
push eventtwpayne/chezmoi
commit sha 1c7db1c4c04e47e9a4924e97c642085dc86a94cc
snapshot
push time in 10 days
push eventtwpayne/chezmoi
commit sha 460c4ed937b2e056693c31f6bd33697580fa4803
Fixing onepasswordDetailsFields typo in the HOWTO docs
commit sha 264b913a8426e0fa679196595474f059629e971b
Merge pull request #883 from elazkani/onepassword-documentation Fixing onepasswordDetailsFields typo in the HOWTO docs
commit sha d5e4ea6c9430a5e69aa8fe1626815342ff6d0fae
Add link to article on chezmoi
commit sha 91191cd2e35eb91d191a746b0b84fe50680f5239
snapshot
push time in 11 days
push eventtwpayne/go-polyline
commit sha c088d63eaf9247d182711c364133eb32be1af304
Add build status badge
push time in 11 days
push eventtwpayne/go-polyline
commit sha 53b817ec52304c2c8dc1b641745360bfcd29df3a
Use package in examples
push time in 12 days
push eventtwpayne/go-polyline
commit sha bde76bc9b3bdb533d68558d73dc5a686f122f3b4
Tidy up examples
push time in 12 days
push eventtwpayne/chezmoi
commit sha a6b4dca07f356063a66557f2e75ccddcd9014104
snapshot
push time in 13 days
issue openedgoogle/renameio
There have been a few updates since v0.1.0 was tagged. Could you tag a new version please?
created time in 13 days
issue commentgoogle/renameio
WriteFile is broken on Windows
This issue is (arguably) fixed by #20. It may be worth re-opening #1 for when Windows supports atomic file operations.
comment created time in 13 days
issue commenttwpayne/chezmoi
Add pre-defined templates for config files of popular applications
A possible solution to point 2 is for chezmoi to read mackup's configuration files from an existing mackup installation (e.g. if you have already installed mackup with brew install mackup). This means that the two tools are distributed independently and should avoid licensing problems. The downside is that you have to install mackup before you can use the add-app command.
comment created time in 13 days
issue commenttwpayne/chezmoi
Suggestion: name of symlinked content directory
Thanks for the suggestion. Could you give more details on how a symlinked directory would work?
comment created time in 13 days
push eventtwpayne/dotfiles
commit sha 8803a71a11e01a4d99647e670d3fffb842db7bda
Enable dotfiles in VSCode Remote Containers
push time in 13 days
push eventtwpayne/dotfiles
commit sha aecf493c87d4b6e61cf3acc29c670a01c2e7d24d
Add support for remote containers
push time in 13 days