git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Christian Schilling <christian.schilling.de@gmail.com>
To: git@vger.kernel.org
Subject: ls-refs protocol extension
Date: Sun, 24 Jan 2021 13:40:08 +0100	[thread overview]
Message-ID: <CAJsFKUCuvO7Y7-MJZ-GG9Jv+4-ei=-tvx4PF1PbeU61m+CV9RA@mail.gmail.com> (raw)

Hi list,
I have been working on a custom git server where the sha values
required to respond to a ls-refs command can occasionally be expensive
to compute.
It would be a great improvement of user experience if it was possible
to show progress to the user while this is happening.
I was hoping that this could be solved by using the already existing
sideband-all capability, but unfortunately it seems that even with
sideband-all the sideband is not available during ls-refs.
So my plan would be to start working on a patch to add sideband
support to ls-refs, unless there is
some other protocol feature that I have overlooked and that would
enable my use case.

Any pointers to either alternative solutions and/or hints to potential
pitfalls in the implementation
of my suggestion would be greatly appreciated.

Best regards,
Christian Schilling

             reply	other threads:[~2021-01-24 12:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24 12:40 Christian Schilling [this message]
2021-01-25  1:04 ` ls-refs protocol extension Taylor Blau
2021-01-25  8:44   ` Christian Schilling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJsFKUCuvO7Y7-MJZ-GG9Jv+4-ei=-tvx4PF1PbeU61m+CV9RA@mail.gmail.com' \
    --to=christian.schilling.de@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).