Skip to content

Move parsing of file names into presentation layer#19581

Merged
niik merged 2 commits intodevelopmentfrom
file-size-limits
Nov 21, 2024
Merged

Move parsing of file names into presentation layer#19581
niik merged 2 commits intodevelopmentfrom
file-size-limits

Conversation

@niik
Copy link
Member

@niik niik commented Nov 20, 2024

Description

I'm attempting to remove as much responsibilities as possible from git and spawn in order to enable development of new, streaming, APIs for interacting with Git. In doing so I noticed this logic in git which attempts to parse the error message and modify it to include the names of the large files that GitHub rejected. This seems like an ill fit for this logic so I've moved it to the presentation layer instead where we can present a nicer UI with a bulleted list. At the same time I aligned our message a little closer with what GitHub.com includes in their error messages, including a link to the online large file documentation.

Screenshots

image

Release notes

Notes:

@niik niik enabled auto-merge November 20, 2024 13:04
Copy link
Contributor

@tidy-dev tidy-dev left a comment

Choose a reason for hiding this comment

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

@niik niik merged commit 720dfc4 into development Nov 21, 2024
@niik niik deleted the file-size-limits branch November 21, 2024 14:18
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.

2 participants