Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement tilde extension for log_dir config field #192

Open
eoli3n opened this issue May 10, 2020 · 2 comments
Open

Implement tilde extension for log_dir config field #192

eoli3n opened this issue May 10, 2020 · 2 comments

Comments

@eoli3n
Copy link

eoli3n commented May 10, 2020

➜ LANG=C pacman -Qi tiny-irc-client-git
Name            : tiny-irc-client-git
Version         : 0.4.3-1
Description     : A console IRC client
Architecture    : x86_64
URL             : https://github.com/osa1/tiny
Licenses        : MIT
Groups          : None
Provides        : tiny
Depends On      : openssl  dbus
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 3.39 MiB
Packager        : Unknown Packager
Build Date      : Sat May 9 09:04:56 2020
Install Date    : Sat May 9 09:13:55 2020
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

I changed default log dir in my config : https://github.com/eoli3n/dotfiles/blob/wayland/roles/tiny/templates/config.yml.j2#L38

Then when i start tiny i get "Can't create logger: No such file or directory (os error 2)"

@osa1
Copy link
Owner

osa1 commented May 10, 2020

This is because we don't currently do tilde expansion, the string is used directly without any pre-processing. I'm not opposed to adding this.

@eoli3n
Copy link
Author

eoli3n commented May 11, 2020

I use my config on multiple hosts, so it would be great to be able to not have to set it statically.
BTW, $HOME seems not working too.

eoli3n added a commit to eoli3n/dotfiles that referenced this issue May 11, 2020
@osa1 osa1 changed the title Can't create logger: No such file or directory (os error 2) Implemen tilde extension for log_dir config field Dec 16, 2020
@osa1 osa1 changed the title Implemen tilde extension for log_dir config field Implement tilde extension for log_dir config field Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants