Comments (5)
What are the exact commands that reproduce the problem?
chezmoi execute-template
is for testing and debugging templates. There is no reason to run it on a new machine.
What refers to /Users/jmccown/.why-is-chezmoi-looking-here-at-all-i-dont-know
? This string is only mentioned once, without context.
What refers to /Users/jmccown/.local/share/chezmoi/chez-ignore/scripts/core/scripts/cbi/set-branchname-for-ticket
? This string is also mentioned only once, without context.
If you want people to help you then you have to do the minimum work of describing your problem in a way that they have enough information to debug what could be wrong.
from chezmoi.
@twpayne apologies for the really bad report. I was overtired
I found the issue on my end is not caused by chezmoi, but quick description of how I broke it.
The symlink file in question is broken on the new machine. It is a non-chezmoi symlink which was broken because I made it on linux and it points to /home
below is directly from my terminal, and what was stumping me.
chezmoi --verbose execute-template ─╯
Alias tip: cz --verbose execute-template
chezmoi: stat /Users/jmccown/.local/share/chezmoi/chez-ignore/scripts/core/scripts/cbi/set-branchname-for-ticket: no such file or directory
Execute template "seemed" more stateless, so I was surprised it cared about that file from my source dir at all.
I'm still not sure why that caused execute-template
to fail, but I can rework the symlink problem that seems to be the root cause.
from chezmoi.
If the error w/ execute-template
is something you want to look into I can try to make a small repo to reproduce the issue. Otherwise feel free to close this
from chezmoi.
Thank you for following up!
I would love a repo that reproduces the issue. Fixing this bug now means that people won't encounter it in the future which will helps me and all current and future chezmoi users :)
from chezmoi.
Hopefully this is now resolved. Please re-open if needed.
from chezmoi.
Related Issues (20)
- Cannot run `run_onchange_..` script with chezmoi `apply --source-path` command.
- Is it possible to turn off name-mangling on push? HOT 3
- autoPush not prompting for commit message HOT 3
- Initial templating with autoPush or autoCommit HOT 2
- "chezmoi update" prompts for password even though encrypted file has not changed HOT 6
- Powershell one-line install on Windows 11 error - "You cannot call a method on a null-valued expression" HOT 17
- One-line binary install script does not give an error when cannot establish HTTPS connection HOT 4
- `chezmoid apply` (and `dump`) cause a Go panic HOT 3
- Option for `.chezmoiexternal` to add files directly to target and not in source state HOT 3
- Option to include directories outside of Chezmoi's root HOT 1
- Add support for template prefix HOT 3
- Support `failure` hooks and scripts HOT 7
- `--follow` and `--recursive` add seem to conflict
- Extend re-add command to add new files
- .chezmoiignore thinks closing braces are a pattern HOT 3
- Trouble ignoring certain files
- `chezmoi edit-config-template` creates initial template with world-writable permissions HOT 2
- Using environment variable in onepasswordRead HOT 1
- Support chmod in attributes HOT 4
- Powershell one-line install on Windows 11 error - update script at https://get.chezmoi.io/ps1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chezmoi.