Skip to content

Unix domain socket support for running gitea hook command #36011

@Rirmach

Description

@Rirmach

Feature Description

Each time when push happens, git hooks will trigger gitea hook command.
I use pure binary to deploy and in my investigation, this command will load the whole binary, which can cause overhead especially when binary is packed by upx lzma. But if we don't compress, Maybe 100+ MB is a little bit large for a single binary, and it may not an efficient solution for loading the whole binary to run a command even we don't compress it.
Maybe we can use unix domain socket for receiving hook command to avoid running a new gitea process just like docker CLI do?

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions