rt-validator(8)
π rt-validator β Request Tracker Reference π
okay bestie, so like, this is rt-validator(8) from the Request Tracker manual, and it's literally the vibe-check bouncer for your RT database. let's get into it π«Ά
β¨ NAME β¨
rt-validator β check and correct validity of records in RT's database. no cap, that's the whole job description π
πΈ SYNOPSIS πΈ
rt-validator --check
rt-validator --check --verbose
rt-validator --check --verbose --resolve
rt-validator --check --verbose --resolve --force
π¦ DESCRIPTION π¦
so basically, this script checks integrity of records in RT's DB. that's the whole main character moment.
and like, it's not just a read-only observer bestie β it may delete some invalid records or resurrect accidentally deleted ones. it's giving chaos gremlin with a clipboard. π
π OPTIONS π
checkβ mandatory. like, you literally cannot skip this one. it's equal to-c. periodt. πverboseβ prints additional info toSTDOUT. it's equal to-v. so if you're nosy (same, bestie π) this is your girl.resolveβ enable resolver that can delete or create some records. yes, it actually does stuff. yes, that's real. πforceβ resolve without asking questions. no "are you sure?" moment, just straight to business. the way that it just goes. πlinks-onlyβ only run the Link validation routines, useful if you changed your Organization. like, if you switched things up, this is the move. β¨
π§ check_integrity π§
okay so there's this one and it's lowkey the whole mechanic of the operation:
Takes two (table name, column(s)) pairs. First pair is reference we check and second is destination that must exist. Array reference can be used for multiple columns. π
Returns 0 if a record is missing or 1 otherwise. simple as that, bestie. 0 = uh oh, 1 = we're chilling. π
β reminder:checkis mandatory,forceskips the questions, andresolveis the one out here deleting and creating records. know what you're asking for before you ask, iykyk. π«Ά
and that's the whole page, babes β¨ this one came from the perl v5.38.2 era, dated 2023-10-29, and it's filed under rt-validator(8) β Request Tracker Reference. obsessed with her, honestly. mwah, bye! ππ
π
π¦ where this page comes from
- ubuntu noble: request-tracker4 4.4.7+dfsg-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms