cb424d7448
verify-patch-sanity.py validates every active recipe .patch has internally- consistent hunk line counts — catching the 'malformed patch at line N' failure at commit/CI/preflight time instead of hours into a cook. This cycle hit that class three times (qtwaylandscanner, sddm, xwayland), each only discovered when cookbook tried to apply the patch. Running it across the repo found 29 latent malformed patches (validated against GNU patch: e.g. relibc/P3-sysv-ipc reproduces 'malformed patch at line 22'). They were harmless only because they sit in vendored recipes (baked, not re- applied) — but would fail on any version-bump re-derivation. --fix recounts the hunk headers (body untouched) and repaired all 29. Wired into build-preflight.sh (Phase 1.0D) and redbear-ci.yml, with a unit test (test-patch-sanity.sh). Skips archived/legacy trees and unvalidatable formats (empty placeholders, bare-@@ git hunks).
76 lines
2.2 KiB
Plaintext
76 lines
2.2 KiB
Plaintext
#==============================================================================#
|
|
# This file specifies intentionally untracked files that git should ignore.
|
|
# See: http://www.kernel.org/pub/software/scm/git/docs/gitignore.html
|
|
#
|
|
# This file is intentionally different from the output of `git svn show-ignore`,
|
|
# as most of those are useless.
|
|
#==============================================================================#
|
|
|
|
#==============================================================================#
|
|
# File extensions to be ignored anywhere in the tree.
|
|
#==============================================================================#
|
|
# Temp files created by most text editors.
|
|
*~
|
|
# Merge files created by git.
|
|
*.orig
|
|
# Reject files created by patch.
|
|
*.rej
|
|
# Byte compiled python modules.
|
|
*.pyc
|
|
# vim swap files
|
|
.*.sw?
|
|
.sw?
|
|
#OS X specific files.
|
|
.DS_store
|
|
|
|
# Ignore the user specified CMake presets in subproject directories.
|
|
/*/CMakeUserPresets.json
|
|
|
|
# Nested build directory
|
|
/build*
|
|
|
|
#==============================================================================#
|
|
# Explicit files to ignore (only matches one).
|
|
#==============================================================================#
|
|
# Various tag programs
|
|
/tags
|
|
/TAGS
|
|
/GPATH
|
|
/GRTAGS
|
|
/GSYMS
|
|
/GTAGS
|
|
/ID
|
|
.gitusers
|
|
autom4te.cache
|
|
cscope.files
|
|
cscope.out
|
|
autoconf/aclocal.m4
|
|
autoconf/autom4te.cache
|
|
/compile_commands.json
|
|
# Visual Studio built-in CMake configuration
|
|
/CMakeSettings.json
|
|
# CLion project configuration
|
|
/.idea
|
|
/cmake-build*
|
|
|
|
#==============================================================================#
|
|
# Directories to ignore (do not add trailing '/'s, they skip symlinks).
|
|
#==============================================================================#
|
|
# VS2017 and VSCode config files.
|
|
.vscode
|
|
.vs
|
|
#zed config files
|
|
.zed
|
|
# pythonenv for github Codespaces
|
|
pythonenv*
|
|
# clangd index. (".clangd" is a config file now, thus trailing slash)
|
|
.clangd/
|
|
.cache
|
|
# static analyzer regression testing project files
|
|
/clang/utils/analyzer/projects/*/CachedSource
|
|
/clang/utils/analyzer/projects/*/PatchedSource
|
|
/clang/utils/analyzer/projects/*/ScanBuildResults
|
|
/clang/utils/analyzer/projects/*/RefScanBuildResults
|
|
# automodapi puts generated documentation files here.
|
|
/lldb/docs/python_api/
|