How to send a warning message from git hosting server?

4 messages, 3 authors, 2016-06-15 · open the first message on its own page

How to send a warning message from git hosting server?

From: Yi, EungJun <hidden>
Date: 2016-06-15 23:04:22

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

Re: How to send a warning message from git hosting server?

From: Tony Finch <dot@dotat.at>
Date: 2016-06-15 23:04:24

Yi, EungJun [off-list ref] wrote:
I want a way to response a remote message when a client send any kind
of request. Is it possible?
Yes, though you need a wrapper around git. Recent versions of gitolite
have a "motd" message of the day feature.

http://gitolite.com/gitolite/list-non-core.html#triggers

Tony.
-- 
f.anthony.n.finch  [off-list ref]  http://dotat.at/
Fisher: Northwest backing southwest 4 or 5, occasionally 6 at first. Slight or
moderate. Fog patches. Moderate or good, occasionally very poor.

Re: How to send a warning message from git hosting server?

From: Yi, EungJun <hidden>
Date: 2016-06-15 23:04:24

On Wed, Apr 8, 2015 at 8:08 PM, Tony Finch [off-list ref] wrote:
Yi, EungJun [off-list ref] wrote:
quoted
I want a way to response a remote message when a client send any kind
of request. Is it possible?
Yes, though you need a wrapper around git. Recent versions of gitolite
have a "motd" message of the day feature.
It sounds nice. Is the wrapper for git client or git server?

Re: How to send a warning message from git hosting server?

From: Sitaram Chamarty <hidden>
Date: 2016-06-15 23:04:26

On 04/12/2015 04:55 PM, Yi, EungJun wrote:
On Wed, Apr 8, 2015 at 8:08 PM, Tony Finch [off-list ref] wrote:
quoted
Yi, EungJun [off-list ref] wrote:
quoted
I want a way to response a remote message when a client send any kind
of request. Is it possible?
Yes, though you need a wrapper around git. Recent versions of gitolite
have a "motd" message of the day feature.
It sounds nice. Is the wrapper for git client or git server?
Gitolite is -- in this context -- a wrapper on the git server.

It's main purpose is access control; the motd feature is just an extra that just happened to be easy once there was a wrapper anyway.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help