git/list[1] front-page[2] threads[3] people[4] search[5] about
 

How to send a warning message from git hosting server?

From
Yi, EungJun <semtlenori@gmail.com>
Date
Apr 5, 2015, 15:04 UTC
Message-ID
<CAFT+Tg-Gwr9EemFv88+=Ao21dGYe73D-CDiT4mXU4kuP-niOSw@mail.gmail.com>
Hello. I am serving a git hosting service for my company.

Sometimes I want to send a warning message to users who use my service; e.g. the service will be shutdown tomorrow for a while temporary.

I know it is possible to a remote message by hooks or HTTP body if an error occured. But it seems that there is no hooks for git-fetch and git does not print HTTP body if there is no error.

I want a way to response a remote message when a client send any kind of request. Is it possible?

-EungJun
Next: Junio C Hamano
Message 1 of 5 in “How to send a warning message from git hosting server?”
  1. Yi, EungJunApr 5, 2015
  2. Junio C HamanoApr 5, 2015
  3. Tony FinchApr 8, 2015
  4. Yi, EungJunApr 12, 2015
  5. Sitaram ChamartyApr 15, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.