Project

General

Profile

Actions

Bug #11439

closed

Hammer reads local config file named config but should skip it because it isnt a directory

Added by Adam Ruzicka over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer core
Target version:
-
Difficulty:
trivial
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1255086

Description of problem:
Hammer reads a set of config files at start. If in the local directory there is a file called "config" it tries to read it as a hammer config file. However, the hammer documentation stated it should only read config files from a local directory named config, if it is present.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. create local config file with random content
2. hammer shell
3.

Actual results:
error's because it cannot interpret the config file

Expected results:
normal hammer startup where config is ignored

Additional info:


Related issues 1 (0 open1 closed)

Has duplicate Hammer CLI - Bug #15425: hammer doesnt work with a "config" file in pwdDuplicate06/15/2016Actions
Actions #1

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli/pull/178 added
  • Pull request deleted ()
Actions #2

Updated by Adam Ruzicka over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Dominic Cleal almost 8 years ago

  • Has duplicate Bug #15425: hammer doesnt work with a "config" file in pwd added
Actions

Also available in: Atom PDF