user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 3/6] githttpbackend: remove unused $BIN variable
  2022-10-20  8:43  5% [PATCH 0/6] trivial clone|fetch-related stuff Eric Wong
@ 2022-10-20  8:43  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2022-10-20  8:43 UTC (permalink / raw)
  To: meta

It hasn't been used in many years since commit
c1630b7dc4ef (githttpbackend: match Content-Type of git-http-backend(1), 2016-07-03)
---
 lib/PublicInbox/GitHTTPBackend.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/PublicInbox/GitHTTPBackend.pm b/lib/PublicInbox/GitHTTPBackend.pm
index 72b8e6c3..1eb51f27 100644
--- a/lib/PublicInbox/GitHTTPBackend.pm
+++ b/lib/PublicInbox/GitHTTPBackend.pm
@@ -27,7 +27,6 @@ my @binary = ('objects/[a-f0-9]{2}/[a-f0-9]{38,62}',
 	'objects/pack/pack-[a-f0-9]{40,64}\.(?:pack|idx)');
 
 our $ANY = join('|', @binary, @text, 'git-upload-pack');
-my $BIN = join('|', @binary);
 my $TEXT = join('|', @text);
 
 sub serve {

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/6] trivial clone|fetch-related stuff
@ 2022-10-20  8:43  5% Eric Wong
  2022-10-20  8:43  7% ` [PATCH 3/6] githttpbackend: remove unused $BIN variable Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2022-10-20  8:43 UTC (permalink / raw)
  To: meta

Much bigger, barely-tested changes in the pipeline to support
cloning + updating multi-inbox mirrors (without unnecessary
sleeps and delays[1]).  Here's some trivial stuff first.

Of course, I have a SHA-256 coderepo somewhere, so more
tweaks on that front.

4/6 is the only user-visible change, but hopefully nobody
is parsing stderr.

Eric Wong (6):
  clone|fetch: preserve mtime of modified manifest.js.gz
  another step towards git SHA-256 support
  githttpbackend: remove unused $BIN variable
  treewide: replace /^I: / prefix with /^# /
  lei_mirror: make _finish_add_external call more obvious
  lei_mirror: delimit names by `\n' to improve die message

 examples/grok-pull.post_update_hook.sh |  2 +-
 lib/PublicInbox/ExtSearchIdx.pm        | 26 ++++++++++++--------------
 lib/PublicInbox/Fetch.pm               |  2 ++
 lib/PublicInbox/Gcf2.pm                |  4 ++--
 lib/PublicInbox/GitHTTPBackend.pm      | 13 +++++--------
 lib/PublicInbox/InboxIdle.pm           |  8 +++-----
 lib/PublicInbox/LeiMirror.pm           |  5 ++++-
 lib/PublicInbox/MiscIdx.pm             |  2 +-
 lib/PublicInbox/OverIdx.pm             |  6 +++---
 lib/PublicInbox/Watch.pm               |  4 ++--
 script/public-inbox-watch              |  6 +++---
 t/extsearch.t                          |  6 +++---
 t/git.t                                |  4 ++--
 t/imapd.t                              |  6 +++---
 t/import.t                             |  4 ++--
 t/mda.t                                |  4 ++--
 xt/git-http-backend.t                  |  4 ++--
 17 files changed, 52 insertions(+), 54 deletions(-)

[1] grokmirror seems to sleep a bit more than it should:
    https://lore.kernel.org/tools/20211013110344.GA10632@dcvr/
    (And I probably have dain-bramage from insomnia :<)

^ permalink raw reply	[relevance 5%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-10-20  8:43  5% [PATCH 0/6] trivial clone|fetch-related stuff Eric Wong
2022-10-20  8:43  7% ` [PATCH 3/6] githttpbackend: remove unused $BIN variable Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.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).