xsos icon indicating copy to clipboard operation
xsos copied to clipboard

Code refactoring tasks

Open ryran opened this issue 10 years ago • 0 comments

_TODO:_

  • Colors
    • Re-do without without associative arrays (so bashv3 works)? (unlikely)
  • Help pages
    • Consider making them static instead of managed by column (cleans up code but makes changes a lil bit harder)
  • The xsos --update feature
    • Time for a code + UX review -- it could be simpler
  • Find a way to standardize the sosreport-vs-localhost check that each module does
  • Clean up sosroot handling to fix #69
  • Fix up all indentation to use XSOS_INDENT_H* variables (but consider dup'ing those to a shorter name)
  • Play around with moving modules into separate files (long-term goal: find the time to start exploring migration to python)

_ALREADY DONE:_

  • Change XSOS_*_VIEW env variables to be more user-friendly
    • Added code to allow them being a simple list (e.g., XSOS_ALL_VIEW="bios os kdump") instead of old setup (XSOS_ALL_VIEW="bios=y; os=y; kdump=y").
  • Colors
    • Reworked so that color environment variables use simple words (e..g. blue, ORANGE, etc) as keys to a dictionary. That way when users want to customize, they don't have to figure out color codes themselves. Woo hoo!

ryran avatar Dec 08 '13 18:12 ryran