Joe Workman
Joe Workman
Taking my server out of the mix... * I built caddy just as above for my Mac * I saved the above Caddyfile to my Mac * Then I started...
It's not my only caddy binary. However, if I run it with `./` it's the same results.
The `list-modules` command does not list git. ``` admin.api.load admin.api.metrics admin.api.reverse_proxy caddy.adapters.caddyfile caddy.config_loaders.http caddy.listeners.tls caddy.logging.encoders.console caddy.logging.encoders.filter caddy.logging.encoders.filter.delete caddy.logging.encoders.filter.ip_mask caddy.logging.encoders.filter.replace caddy.logging.encoders.json caddy.logging.encoders.single_field caddy.logging.writers.discard caddy.logging.writers.file caddy.logging.writers.net caddy.logging.writers.stderr caddy.logging.writers.stdout caddy.storage.file_system http http.authentication.hashes.bcrypt http.authentication.hashes.scrypt...
OK. This command works... ``` xcaddy build --with github.com/vrongmeal/caddygit/module/git ``` But this does not... ``` xcaddy build --with github.com/vrongmeal/caddygit/module/git=./caddygit ``` I need to reference the local folder since it contains...
That seems to have worked! I never would have guessed to try that.
So should this module not be using `github.com/vrongmeal/caddygit/module/git`? I assume that changing it to be `github.com/vrongmeal/caddygit/` would break some backward compatibility? Or not since it's built into static binaries anyways.
I have been trying to figure out the configuration here. I tried to look through the code of the plugin to figure out what is going on. I am completely...
I see this error in syslog ``` Jan 10 21:15:03 **** caddy[120153]: {"level":"error","ts":1641867303.8984256,"logger":"http.handlers.git","msg":"repository not setup","error":"cannot setup repository: worktree contains unstaged changes","path":"/var/www/aspecthq.com"} ``` It says that there are unstaged changes. However,...
Now that I really compare my output with your banner in the code, I see that is not the issue... I think that it may be kramdown itself that is...
Nevermind. I see that you intentionally prints the mentioned lines to the terminal. It would be nice if you did not do that.