Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: flatten all .gitignores in to root & merge in to .dockerignore #1981

Conversation

NathanFlurry
Copy link
Member

Changes

Copy link

cloudflare-workers-and-pages bot commented Jan 30, 2025

Deploying rivet with  Cloudflare Pages  Cloudflare Pages

Latest commit: ffca06a
Status:⚡️  Build in progress...

View logs

Copy link
Member Author

NathanFlurry commented Jan 30, 2025


How to use the Graphite Merge Queue

Add the label merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

cloudflare-workers-and-pages bot commented Jan 30, 2025

Deploying rivet-hub with  Cloudflare Pages  Cloudflare Pages

Latest commit: ffca06a
Status: ✅  Deploy successful!
Preview URL: https://286e91f5.rivet-hub-7jb.pages.dev
Branch Preview URL: https://01-30-chore-flatten-all--git.rivet-hub-7jb.pages.dev

View logs

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR consolidates multiple .gitignore files into the root .gitignore and merges their patterns into .dockerignore, improving maintainability by centralizing ignore patterns.

  • Migrated frontend-specific patterns from /frontend/.gitignore to root, including Next.js, log files, and environment patterns
  • Added icons-specific exclusions in root .gitignore/dockerignore for frontend/packages/icons/src/* with package.json exception
  • Removed redundant .turbo entry since it's covered by **/.turbo pattern
  • Added documentation header in root .gitignore about keeping sync with .dockerignore
  • Preserved Rust-specific patterns from test dockerfiles for target/, debug/, and *.rs.bk files

18 file(s) reviewed, 5 comment(s)
Edit PR Review Bot Settings | Greptile

**/.DS_Store

# Env
.env*.local

# Rust
**/target
Copy link

Choose a reason for hiding this comment

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

style: duplicate entry with line 21 (**/target)

**/.cache/
**/.next/
**/.turbo
**/.yarn
**/dist/
**/node_modules/
**/target
Copy link

Choose a reason for hiding this comment

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

style: Redundant entry - **/target is already defined on line 11

Suggested change
**/target

export interface Cache<Key extends object, Value> {
delete(key: Key): boolean;
get(key: Key): Value | undefined;
set(key: Key, value: any): any;
Copy link

Choose a reason for hiding this comment

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

style: set() method's return type is 'any' which could be more specific (should match Map's set() return type of Map<Key, Value>)

Comment on lines +117 to +119
* **NOTE**: This does not include `BigInt64Array` and
* `BitUint64Array` because those are part of ES2020 and
* not supported by certain TS configurations. If using
Copy link

Choose a reason for hiding this comment

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

syntax: typo in comment: 'BitUint64Array' should be 'BigUint64Array'

Suggested change
* **NOTE**: This does not include `BigInt64Array` and
* `BitUint64Array` because those are part of ES2020 and
* not supported by certain TS configurations. If using
* **NOTE**: This does not include `BigInt64Array` and
* `BigUint64Array` because those are part of ES2020 and
* not supported by certain TS configurations. If using

TypeEqualityComparator,
} from "./internalTypes.d.ts";
/**
* Combine two comparators into a single comparators.
Copy link

Choose a reason for hiding this comment

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

syntax: typo in comment: 'comparators' should be 'comparator'

Suggested change
* Combine two comparators into a single comparators.
* Combine two comparators into a single comparator.

@NathanFlurry NathanFlurry force-pushed the 01-30-chore_flatten_all_.gitignores_in_to_root_merge_in_to_.dockerignore branch from 976fd2b to ffca06a Compare January 31, 2025 21:40
Copy link
Contributor

graphite-app bot commented Jan 31, 2025

Merge activity

  • Jan 31, 5:22 PM EST: A user added this pull request to the Graphite merge queue.
  • Jan 31, 5:23 PM EST: CI is running for this PR on a draft PR: #1988
  • Jan 31, 5:24 PM EST: A user merged this pull request with the Graphite merge queue via draft PR: #1988.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant