FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update Lazarus.gitignore by robyscar · Pull Request #4891 · github/gitignore · GitHub

Update Lazarus.gitignore - #4891

Open
robyscar wants to merge 1 commit into
github:mainfrom
robyscar:main
Open

robyscar wants to merge 1 commit into
github:mainfrom
robyscar:main

Conversation

robyscar commented Aug 5, 2026

Copy link
Copy Markdown

chore: add modern Lazarus/Free Pascal .gitignore template

  • Add compiler and linker binaries (*.exe, *.dll, *.so, *.dylib, *.a, *.lib, *.o, *.or, *.ppu, *.compiled, *.dbg, *.rsj)
  • Include project backup and output directories (backup/, lib/, units/, *.bak, .~, .$)
  • Exclude IDE and user-specific local files (*.lps, *.lfm.bak, *.lpi.bak, lazarus.cfg)
  • Handle internationalization and documentation artifacts (*.rst, *.lrt)
  • Suppress macOS application bundles (*.app/)

Reasons for making this change

Update the Lazarus .gitignore template to reflect modern Free Pascal and Lazarus IDE standards. The previous template was outdated and missed newer generated outputs, backup conventions, and cross-platform target structures.

  • Add modern compiler and linker binaries (*.rsj, *.lib, etc.)
  • Include common modern output and backup paths (units/, *.lfm.bak, *.lpi.bak, lazarus.cfg)
  • Refresh outdated patterns based on current Lazarus Wiki guidelines

Links to documentation supporting these rule changes

Merge and Approval Steps

chore: add modern Lazarus/Free Pascal .gitignore template

- Add compiler and linker binaries (*.exe, *.dll, *.so, *.dylib, *.a, *.lib, *.o, *.or, *.ppu, *.compiled, *.dbg, *.rsj)
- Include project backup and output directories (backup/, lib/, units/, *.bak, *.~*, *.$*)
- Exclude IDE and user-specific local files (*.lps, *.lfm.bak, *.lpi.bak, lazarus.cfg)
- Handle internationalization and documentation artifacts (*.rst, *.lrt)
- Suppress macOS application bundles (*.app/)
robyscar requested a review from a team as a code owner August 5, 2026 01:40
Comment thread Global/Lazarus.gitignore
backup/
*.bak
lib/
units/

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please remove this line. I'm seeing multiple examples of the units directory in use.
https://github.com/search?q=%22OtherUnitFiles+Value%3D%5C%22units%22+path%3A*.lpi&type=code

Comment thread Global/Lazarus.gitignore
Comment on lines +25 to +26
*.lfm.bak
*.lpi.bak

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please remove, these are redundant and not needed. They are already covered by line 19's rule *.bak.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL