Project

General

Profile

Bug #2884

Configuration files in home dir are not found

Added by Martin Bacovsky almost 7 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Configuration loader does not expand $HOME properly.

Associated revisions

Revision 9ecf1d23 (diff)
Added by Martin Bacovsky almost 7 years ago

fixes #2884 - Configuration files in home dir are not found

Revision ceb66161
Added by mbacovsky almost 7 years ago

Merge pull request #3 from mbacovsky/2884_home_dir_unresolved

fixes #2884 - Configuration files in home dir are not found

History

#1 Updated by Martin Bacovsky almost 7 years ago

  • Status changed from New to Assigned
  • Assignee set to Martin Bacovsky

Works for me. Relative path resolving depends on properly set $HOME env variable.

Added logging of where settings found config files

$ hammer -v -h
[ INFO 2013-08-07 17:33:31 Init] Configuration from the file /home/mbacovsk/.foreman/cli_config.yml has been loaded
[ INFO 2013-08-07 17:33:32 Init] Extension module hammer_cli_foreman loaded

#2 Updated by Martin Bacovsky almost 7 years ago

  • Status changed from Assigned to Resolved

#4 Updated by Dominic Cleal over 6 years ago

  • Project changed from Foreman to Hammer CLI
  • Category deleted (44)

Also available in: Atom PDF