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 0/7] an even bigger git show than before...
@ 2022-08-22  2:33  7% Eric Wong
  2022-08-22  2:33  6% ` [PATCH 2/7] xt/solver: improve diagnostics Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2022-08-22  2:33 UTC (permalink / raw)
  To: meta

We can do things with patch emails, we might as well do some
things with git commits for folks with coderepos configured.

Eric Wong (7):
  config: fix confusing space in ->repo_objs
  xt/solver: improve diagnostics
  www: /s/: 404 for unconfigured coderepos
  qspawn: add type comments in a few places
  qspawn: improve error reporting and handling
  viewvcs: drop pointless variable assignment
  viewvcs: start improving display of git commits

 lib/PublicInbox/Config.pm    |   2 +-
 lib/PublicInbox/LeiBlob.pm   |   4 +-
 lib/PublicInbox/Qspawn.pm    |  33 +++++-----
 lib/PublicInbox/SolverGit.pm |  28 ++++-----
 lib/PublicInbox/ViewVCS.pm   | 116 +++++++++++++++++++++++++++++++----
 lib/PublicInbox/WWW.pm       |   3 +-
 lib/PublicInbox/WwwStream.pm |   9 +++
 t/qspawn.t                   |  14 ++++-
 xt/solver.t                  |   7 +--
 9 files changed, 162 insertions(+), 54 deletions(-)

^ permalink raw reply	[relevance 7%]

* [PATCH 2/7] xt/solver: improve diagnostics
  2022-08-22  2:33  7% [PATCH 0/7] an even bigger git show than before Eric Wong
@ 2022-08-22  2:33  6% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2022-08-22  2:33 UTC (permalink / raw)
  To: meta

I'm making some tweaks to solver and will probably find extra
output useful, and also update to v5.12 while we're at it.
---
 xt/solver.t | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/xt/solver.t b/xt/solver.t
index 880458fb..32cd43cf 100644
--- a/xt/solver.t
+++ b/xt/solver.t
@@ -1,8 +1,7 @@
 #!perl -w
-# Copyright (C) 2020-2021 all contributors <meta@public-inbox.org>
+# Copyright (C) all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
-use strict;
-use Test::More;
+use v5.12;
 use PublicInbox::TestCommon;
 use PublicInbox::Config; # this relies on PI_CONFIG // ~/.public-inbox/config
 my @psgi = qw(HTTP::Request::Common Plack::Test URI::Escape Plack::Builder);
@@ -41,8 +40,8 @@ my $client = sub {
 		my $res = $cb->(GET($url));
 		is($res->code, 200, $url);
 		next if $res->code == 200;
-		# diag $res->content;
 		diag "$url failed";
+		diag $res->content;
 	}
 };
 

^ permalink raw reply related	[relevance 6%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-08-22  2:33  7% [PATCH 0/7] an even bigger git show than before Eric Wong
2022-08-22  2:33  6% ` [PATCH 2/7] xt/solver: improve diagnostics 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).