Audit a Library for Inconsistent Filename-Folder-Number-Title Combinations
./stanhope -f
or the long flag version:
./stanhope --filename-audit
To see all of the stanhope application's built-in features natively, try
./stanhope -h
to see a shortened description of each execution mode in your terminal, or to expand the descriptions try the "long help" option:
./stanhope --help
Why does this feature exist?
The EasyButton/stanhope toolset doesn't actively manage Process Libraries via database hooks. Everything is done as file manipulation, with some assumptions made internally for consistent naming. If the EasyButton scripts or stanhope application aren't behaving properly when performing operations on a Process or the Library as a whole, this filename audit feature can give pointers for where to clean things up.
Sample output
▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜
▌ Library Filename Audit ▐
▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟
→ SG-TP-STYL-100 - Basic Process
→ PROC-001 - Amazing Process
→ Q-WI-TCYC-003 - Config_Deconfig Hardware for TCyc and Functionals
↳ WARNING: SOMETHING IS MISMATCHED BETWEEN FOLDER NAME, FILE NAME, AND EBML CONTENTS
↳ Special characters in EBML title converted to '_' in folder/file names might be OK
→ Q-WI-TVAC-002 - Perform Functional Test Run of TVAC Chamber
→ EB-RP-910 - Release Stanhope Software
→ PROC-002 - Amazing Process Stylized
→ SG-TP-STYL-101 - Basic Process Compact
→ A-OPS-PYLD-050 - Recycle the Payload
→ Q-TP-TCYC-004 - Perform Qualification TCyc
→ SG-TP-STYL-102 - Basic Process Custom
→ Q-WI-TVAC-003 - Config_Deconfig Hardware for TVAC
↳ WARNING: SOMETHING IS MISMATCHED BETWEEN FOLDER NAME, FILE NAME, AND EBML CONTENTS
↳ Special characters in EBML title converted to '_' in folder/file names might be OK
→ Q-TP-TCYC-005 - Perform Acceptance TCyc
→ EB-WI-0040 - Manage and Maintain a Library
→ Q-WI-VIBE-003 - Config_Deconfig Hardware for Vibe and Functionals
↳ WARNING: SOMETHING IS MISMATCHED BETWEEN FOLDER NAME, FILE NAME, AND EBML CONTENTS
↳ Special characters in EBML title converted to '_' in folder/file names might be OK
→ RTX-TP01-001 - Flight Computer Unit Functional