googlefonts / googlefonts/fontations

Don't delete files that aren't changing

Open
#305 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
826
Forks
75
Avg merge
22h 33m
Merged PRs (30d)
75

Description

The IDE experience, such as in VSCode, when codegen deletes a whole bunch of files and then regenerates then w/o change is annoying. You may see a ton of stuff in Explorer flash red. It would be nicer if codegen recognized it produced exactly the same output and didn't overwrite the existing file.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Rust codegen entry point that deletes and regenerates files, then reproduce the behavior with unchanged generated output. The work is done when codegen leaves existing files untouched when their content is identical, and the VSCode Explorer no longer shows unnecessary deletion and recreation activity.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.