Closed wifiuk closed 2 years ago
A few people have reported this issue... I'm unable to reproduce it as a bug currently.
Does supplying the full config path with--config-file
fix it?
If not, what operating system are you on? I'll run a VM to see if that lets me replicate.
Happens on Linux and windows
Adding the path doesn't help either
Same here for me
still have the same issue, totally different Linux system, using the lastest release from github.
A few people have reported this issue... I'm unable to reproduce it as a bug currently.
Does supplying the full config path with
--config-file
fix it? If not, what operating system are you on? I'll run a VM to see if that lets me replicate.
Got it.. You must put login and password between quotes "" in the config.yml!
not working same error
@tillson Same error. You previously mentioned a YT video. Could you kindly post it here for us noobs to follow?
Maybe we can simplify the process of loading the configuration file to only look it up at:
Git-Hound
cloned repository.--config-file
CLI flag.If possible can anyone still facing this issue try the following diff in cmd/root.go
and see if it solves the problem?
116,118c117,118
< viper.SetConfigName("config")
< viper.AddConfigPath("$HOME/.githound")
< viper.AddConfigPath(".")
---
> viper.SetConfigName("config.yml")
> viper.AddConfigPath("./")
Note: Changes are made based on the latest stable release v1.3
SOLUTION I think this may be a case of a bad error message. @alexandrevvo seemed to figure out that the problem was that you need to put your username and password in quotation marks (see the updated https://github.com/tillson/git-hound/blob/master/config.example.yml). If anyone is still having this issue even after doing quotation marks, I'd be interested to hear about it!
I'm having the same problem i using Windows 32 bit
I'm having this problem: No config file detected I'm using Windows, I need help
what am I missing here?
Downloaded the latest binary.