Project

General

Profile

Feature #4676

More readable output of collections in base output adapter

Added by Tomáš Strachota about 5 years ago. Updated 11 months ago.

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

Description

Current output of collections is not very readable. It is difficult to distinguish where the records end.
See example of listing interfaces from host info:

Managed Network Interfaces:
  Id:   2
  Name: interface_1
  IP:   1.2.3.86
  MAC:  aa:bb:cc:dd:ee:33
  Id:   3
  Name: interface_2
  IP:   1.2.3.84
  MAC:  aa:bb:cc:dd:ee:11

We should find a way of dividing the records visually.

Associated revisions

Revision 0259b4ab (diff)
Added by Tomas Strachota about 5 years ago

fixes #4676 - numbered collections in output

Revision 167453b0
Added by Tomas Strachota about 5 years ago

Merge pull request #95 from tstrachota/collections

fixes #4676 - numbered collections in output

History

#1 Updated by Tomáš Strachota about 5 years ago

  • Status changed from Assigned to Ready For Testing

#2 Updated by Anonymous about 5 years ago

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

Applied in changeset foreman:hammer-cli|commit:0259b4ab5f83c67f055b7d4cac044a1127b649b3.

Also available in: Atom PDF