Project

General

Profile

Bug #7566

Needs better control over order in which the hammer modules are loaded

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

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

Description

The order in which the modules are loaded is given by order of names in cli.modules.d/.
When there are some modules configured in /etc/hammer it is not possible to add custom module (in $HOME/.hammer) that loads earlier.
It would be useful to have option to set dependences in module configuration


Related issues

Related to Hammer CLI - Bug #8607: undefined method `find_by_name' for Gem::Specification:ClassClosed2014-12-08

Associated revisions

Revision e520c7cd (diff)
Added by Martin Bačovský over 5 years ago

Fixes #7566 - added support for dependeces among modules

Revision d1f0a221
Added by mbacovsky over 5 years ago

Merge pull request #148 from mbacovsky/7566_mod_deps

Fixes #7566 - added support for dependeces among modules

History

#1 Updated by The Foreman Bot almost 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli/pull/148 added
  • Pull request deleted ()

#2 Updated by Dominic Cleal almost 6 years ago

  • Target version changed from 1.7.3 to 1.7.2

#3 Updated by Anonymous over 5 years ago

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

#4 Updated by Dominic Cleal over 5 years ago

  • Related to Bug #8607: undefined method `find_by_name' for Gem::Specification:Class added

Also available in: Atom PDF