Skip to content

Update .dockerignore, .gitignore, and .geminiignore - #1082

Open
mhucka wants to merge 12 commits into
quantumlib:mainfrom
mhucka:trivial-config-file-updates
Open

Update .dockerignore, .gitignore, and .geminiignore#1082
mhucka wants to merge 12 commits into
quantumlib:mainfrom
mhucka:trivial-config-file-updates

Conversation

@mhucka

@mhucka mhucka commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

This PR:

  • Greatly revises .dockerignore to be more selective and handle more cases on different platforms.

  • Removes some things from .gitignore that this project doesn't use.

  • Adds a pattern for Emacs version backups to .geminiignore. It should not be needed because there's a pattern in .gitignore that handles it, but Gemini doesn't seem to interpret that pattern as expected. Though the best practice for Emacs users is to configure their editor to put checkpoint files outside the source directory, sometimes they may not. In those cases, adding this pattern avoids an easy-to-miss cause of problems when using Gemini CLI.

@github-actions github-actions Bot added the size: S 10< lines changed <50 label Jun 24, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates .dockerignore and .geminiignore to include additional generic ignore patterns (such as backup files, logs, and caches) and Emacs versioned backup files, respectively. There are no review comments, so I have no feedback to provide.

@github-actions github-actions Bot added size: M 50< lines changed <250 and removed size: S 10< lines changed <50 labels Sep 1, 2026
@mhucka

mhucka commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request expands the .dockerignore and .geminiignore files to exclude various temporary files, IDE settings, build outputs, and editor backups. The feedback suggests modifying the *.tar.gz pattern in .dockerignore to **/*.tar.gz to ensure consistency with other patterns and to correctly ignore compressed archives located in subdirectories.

Comment thread .dockerignore Outdated
@mhucka mhucka changed the title Update a couple of .*ignore files Update .dockerignore, .gitignore, and .geminiignore Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: M 50< lines changed <250

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant