From c90b00cdf0348a86647478b9a212489e598f364a Mon Sep 17 00:00:00 2001 From: Olaf Monien Date: Wed, 22 Jul 2026 00:50:34 +0200 Subject: [PATCH] Align .gitignore with DelphiStandards template. Replace the minimal ignore list with the curated Delphi GitIgnore v2.0 and keep DEC-specific entries (Compiled, BuildAll.log, backup, .codegraph). --- .gitignore | 164 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 154 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 5409da96..e1d4ce64 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1,164 @@ -/Compiled -/Source/BuildAll.log +############################################################################### +# Delphi .gitignore (Curated) +# --------------------------------------------------------------------------- +# IMPORTANT: This file must be renamed to ".gitignore" (without .txt extension)! +# +# This carefully curated .gitignore file is specifically optimized for +# Embarcadero Delphi development environments, supporting both legacy and +# modern versions. +# +# USAGE: +# 1. Copy this file to the root directory of your Git repository +# 2. Rename from "Delphi GitIgnore.txt" to ".gitignore" +# 3. Make project-specific adjustments if needed +# +# This file ignores: +# - Compiler and build output (e.g., .dcu, .exe, .dll) +# - IDE-generated metadata and user-specific files (.dsk, .local) +# - Backup and recovery files +# - Platform-specific output directories +# - Known version control systems and Delphi-specific tools +# +# License: MIT License https://opensource.org/license/mit +# Version: 2.0 (keep in sync with Style Guide headers) -backup -__history -__recovery -**/Android/ -**/Android64/ -**/Win32/ -**/Win64/ +# +# Copyright (c) 2025-2026 Olaf Monien +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this file to use without restriction, subject to inclusion of this notice. +############################################################################### + + +# Resource files are binaries containing manifest, project icon and version info. +# They can not be viewed as text or compared by diff-tools. Consider replacing them with .rc files. +*.res + +# Type library file (binary). In old Delphi versions it should be stored. +# Since Delphi 2009 it is produced from .ridl file and can safely be ignored. +*.tlb + +# Diagram Portfolio file. Used by the diagram editor up to Delphi 7. +# Uncomment this if you are not using diagrams or use newer Delphi version. +*.ddp + +# Delphi compiler-generated binaries (safe to delete) +*.exe +*.dll +*.bpl +*.bpi +*.dcp +*.so +*.apk +*.drc +*.map +*.dres +*.rsm +*.tds +*.dcu +*.lib +*.a +*.o +*.ocx +# Delphi autogenerated files (duplicated info) +*.cfg +*.hpp +*Resource.rc + +# Delphi local files (user-specific info) *.local *.identcache +*.projdata +*.tvsconfig *.dsk +*.user +*.dsv + +# Delphi history and backups +__history/ +__recovery/ *.~* +*.save +*.cbk + +# Castalia statistics file (since XE7 Castalia is distributed with Delphi) *.stat + +# default Debug and Release directories contain binaries only +Release/ +Debug/ +DCU/ + +# Default Platform output directories +Linux64/ +OSX32/ +OSX64/ +Win32/ +Win64/ +Android/ +Android32/ +Android64/ +iOSDevice32/ +iOSDevice64/ +iOSSimARM64/ +iOSSimulator/ + +# Windows-Artefakte Thumbs.db +desktop.ini +# TMS Web Core +TMSWeb/ -*.dsv +# npm dependencies +node_modules/ + +# other SCM/versioning files +.hg/ +.svn/ + +# Boss dependency manager vendor folder https://github.com/HashLoad/boss +modules/ + +# Misc (macOS and other artifacts) +.DS_Store +~$*.* + +# Custom build directories +_Release-Binaries +Build/bin/ + + +# Gnu Global / VSCode Pascal editing +GPATH +GRTAGS +GTAGS + +# VSCode +.vscode/* +!.vscode/settings.json +!.vscode/extensions.json +!.vscode/tasks.json +!.vscode/launch.json + +# FinalBuilder +*.fbpInf # Project info cache +*.fbl8 # Log files +*.fbpbrk # Breakpoints +*.fb8lck # Lock files + +# Claude Code local settings +.claude/settings.local.json +.claude/worktrees/ + +############################################################################### +# Project-specific (DEC) +############################################################################### + +# Local build / tooling output +/Compiled +/Source/BuildAll.log +backup + +# CodeGraph local index (machine-specific) +.codegraph/