Commit f4fcf6d
committed
ENH: v4 sanitize plugs ghostflow gaps for hash sidecars and *~ artifacts
Two ghostflow-check-main violations slipped through v4 sanitization on
TextureFeatures ingest (PR InsightSoftwareConsortium#6238):
1. .sha512 / .cid content-link sidecars without trailing newline.
is_skip_content() returned True for any single-line hex hash blob,
bypassing apply_universal_text_fixers (and therefore fix_end_of_file).
Hash content has zero risk from the universal fixers (rstrip + single
'\n' append), so drop the hex-hash skip branch and let those blobs
flow through the normal text-fixer path.
2. Editor backup files (*~) survived ingestion. Adds **/*~ to the
filter-repo --invert-paths deny-pass alongside *.orig / *.rej /
*.BACKUP.* / *.LOCAL.* / *.REMOTE.* / *.BASE.*.
Documented both in INGESTION_STRATEGY_v4.md's sanitizer table.1 parent 6d786b5 commit f4fcf6d
3 files changed
Lines changed: 7 additions & 6 deletions
File tree
- Utilities/Maintenance/RemoteModuleIngest
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
| 279 | + | |
279 | 280 | | |
280 | 281 | | |
281 | 282 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| 249 | + | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
| |||
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
236 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
237 | 239 | | |
238 | 240 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | 241 | | |
243 | 242 | | |
244 | 243 | | |
| |||
0 commit comments