sphobjinv icon indicating copy to clipboard operation
sphobjinv copied to clipboard

Add Inventory method to check for/report duplicate objects

Open bskinn opened this issue 4 years ago • 1 comments
trafficstars

Possibly YAGNI, but seems like it would be useful to have direct access to whether duplicate :domain:role:name entries exist, and what they are, since duplicates (probably?) can't be reliably referenced.

API function(s), definitely. Have to think about the interface.

Could also add a CLI subparser...might be useful as a CI check. Pretty sure I'd use it! Again, have to think about the interface.

bskinn avatar Dec 28 '20 03:12 bskinn

Related to #187. Multiple things going on here, need to tease them apart.

First stab:

  • User-initiated check functionality
    • Duplicates
    • Lines that don't load in Sphinx? Would require Sphinx as an extra_requires, probably.
  • Automatic warning of questionable object situations (duplicates, lines not loading?)

bskinn avatar Dec 16 '22 04:12 bskinn