Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,9 @@ dmypy.json

# Cython debug symbols
cython_debug/

# macOS system files
*.DS_Store

# Process ID files
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why is this needed

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

.DS_Store means Desktop Services Store. It's a hidden file that macOS creates in folders to save things like icon position, window size, and folder layout.

We add *.DS_Store to .gitignore because:

  • It's not part of the code.
  • It can be accidentally committed by macOS users.
  • It adds unnecessary files to the project.
  • It's not useful for people using Windows or Linux.
  • macOS creates this file automatically when someone opens a folder, so it might get added without them noticing.

Copy link
Copy Markdown
Member Author

@mahdirahimi1999 mahdirahimi1999 Apr 10, 2025

Choose a reason for hiding this comment

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

.pid files store the Process ID of a running service or application (like a web server or background worker like celery). These files are temporary, system-specific, and should not be tracked in version control.

✅ Ignoring both helps keep the repository clean and free from unnecessary or machine-specific files.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I meant specifically PID. Where in this repository are we generating PID files? Seems unnecessary

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

You're right, and I agree that adding *.pid is unnecessary. However, I wanted to point out that celerybeat.pid is already included in the .gitignore file under the Celery stuff section.

*.pid
Loading