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

Cleanup the output from the gitea internal hook(s). #23364

Open
rappazzo opened this issue Mar 7, 2023 · 1 comment
Open

Cleanup the output from the gitea internal hook(s). #23364

rappazzo opened this issue Mar 7, 2023 · 1 comment
Labels
type/enhancement An improvement of existing functionality type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@rappazzo
Copy link

rappazzo commented Mar 7, 2023

Feature Description

Problem statement

When code is pushed to a repository, there is output sent back from the server:

remote: .. Processing 2 references
remote: Processed 2 references in total

This seems like it is more debugging output than helpful information. It would make sense to see that output if the push operation streamed the response as it was processing it, but that is not in the git protocol (AFAIK) so it is printed all at once. Additionally, git already provides more detailed information about what was processed at the same time these messages are presented. For example:

   c0145ff94906..5c9e4aa4447d  local-refA -> remote-refA
 * [new reference]             local-refB -> remote-refB

Proposal

Remove the redundant information about how many references were processed.

Screenshots

No response

@rappazzo rappazzo added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Mar 7, 2023
@yardenshoham yardenshoham added type/enhancement An improvement of existing functionality and removed type/feature Completely new functionality. Can only be merged if feature freeze is not active. labels Mar 7, 2023
@yardenshoham
Copy link
Member

Perhaps we should change the default of VERBOSE_PUSH to false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement An improvement of existing functionality type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants