Commit Graph

16 Commits

Author SHA1 Message Date
d407527863 Untrack 189 regenerable artifacts and close the silent-ignore trap
Untracked (--cached, so they stay on disk): 76 LaTeX artifacts, 7 .xdv XeTeX
intermediates, 18 -eps-converted-to.pdf from epstopdf, 32 files of .NET
obj/Debug/net6.0 output including three copies of lab2.dll, 16 .class/.o, the
9 MB Nx cache with its native .node, and an entire committed Python
virtualenv at ECOTE/program/ecote (python 3.10.10, 18 files).

The existing 407-line LaTeX .gitignore was NOT unused as I first assumed --
it already covered *.aux and *.class, and the artifacts simply predate it. So
this appends the categories it missed (*.o, obj/, .venv/, .nx/, target/)
rather than rewriting something that was working.

The second half is the more interesting bug. Auditing with

    git ls-files | git check-ignore --stdin --no-index

found 130 files that were tracked AND ignored. That combination fails
silently: `git add` on such a file is not an error, the edit just never
lands. Causes were dist/ swallowing the vendored jQuery/Bootstrap bundle,
.vscode/ and .idea/, and -- the good one -- the LaTeX template's man-page
patterns *.[1-9] and *.[1-9][0-9] matching EPFU's date-named report
directories, so doc/21.11/ read as a man page section and took report.pdf
and seven screenshots with it.

32 of those 130 turned out to be more build output and were untracked too;
the rest got targeted ! overrides. The first attempt used a blanket
!NotProgramming/EMISY/** which re-enabled that course's own LaTeX artifacts,
so it is narrowed to the *.1 schematic exports that actually needed it.
TRAK's nested .gitignore excluded the .vscode DIRECTORY, which stops git
descending, so no root-level ! can reach inside -- that one had to be fixed
at its source.

Both invariants now verified: 0 tracked files ignored, and 0 of the 189
untracked artifacts leaked back into view.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172dj34FDpao6wsix8ZuCzE
2026-08-28 17:35:38 +02:00
b2e0efe2ee chore: add gitignore 2025-05-05 16:00:00 +02:00
99ab0106b7 feat: hello world lab6 2025-01-11 20:14:34 +01:00
c134127c7d Merge branch 'main' of https://github.com/kuhyx/WUT_Computer_Science 2024-03-26 06:14:19 +01:00
0115ef0c91 feat: added stup report 2024-03-26 06:13:56 +01:00
Krzysztof Rudnicki
aacbf0b03b feat: added bss-algorytmy-szyfrowania to gitignore 2024-03-25 15:01:40 +01:00
Krzysztof Rudnicki
150f0b1407 chore: added slides folder to ignore 2024-03-25 10:46:58 +01:00
529fe6c987 Merge branch 'main' of https://github.com/kuhyx/WUT_Computer_Science 2024-01-15 18:47:30 +01:00
Krzysztof Rudnicki
0243e97ae0 feat: added mk4ht artefacts to gitignore 2023-12-14 13:08:56 +01:00
Krzysztof Rudnicki
cf649628fc feat: added tmp and 4od files to gitignore 2023-12-14 13:07:45 +01:00
352cb16fdd feat: gitignore ignore erpm lectures 2023-12-10 16:11:27 +01:00
e1b04ce51d feat: added gitgnore, removed bin folder 2023-11-19 14:01:44 +01:00
8a100477e7 add ECOTE git 2023-06-16 10:53:51 +02:00
78829e7391 chore: go crazy 2023-05-03 14:59:06 +02:00
85f8bb0c31
Initial commit 2023-04-19 14:34:24 +02:00
8cd758227d feat: add gitignore 2022-11-05 14:39:18 +01:00