git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nikolay Shustov <nikolay.shustov@gmail.com>
To: Fahad Al-Rashed <fahad@keylock.net>, git@vger.kernel.org
Cc: phillip.wood@dunelm.org.uk, ps@pks.im, bekenn@gmai.com
Subject: Re: [PATCH] git p4 fix for failure to decode p4 errors
Date: Wed, 9 Apr 2025 08:20:09 -0400	[thread overview]
Message-ID: <75b9457a-3da4-455d-9612-b83f25d3c854@gmail.com> (raw)
In-Reply-To: <CAFd+s4USsHPaepvfNtjm5VGieuH89zbW5Yj+OSXD8THxkj6tTw@mail.gmail.com>

Awesome, thanks!
Could you please advise, what are my next steps to get this change accepted?

On 4/9/25 08:06, Fahad Al-Rashed wrote:
> Hi Nikolay,
>
> Yes, the test passed.
>
> > ./t9837-git-p4-error-encoding.sh -v
>
> valid commands: submit, commit, sync, rebase, clone, branches, unshelve
>
> expecting success of 9837.1 'start p4d':
>
>         start_p4d
>
> waiting for p4d to start
>
> Perforce db files in '.' will be created if missing...
>
> Perforce server warning:
>
>         Pid 277404
>
>         Operation: topologyRegistration
>
>         No entries made in db.topology for server address: '9837', 
> dest address: '' and serverID: ''.
>
>         ServerID for the server should be set.
>
> User author saved.
>
> Client client saved.
>
> ok 1 - start p4d
>
> expecting success of 9837.2 'see if Perforce error with characters not 
> convertable to utf-8 will be processed correctly':
>
>         test_when_finished cleanup_git &&
>
> $python_target_binary "$TEST_DIRECTORY"/t9837/git-p4-error-python3.py 
> "$TEST_DIRECTORY"
>
> Could not decode value as utf-8; using configured fallback encoding 
> cp1252: b"Path '/xxx/git-git-p4-error-decoding/t/trash 
> directory.t9837-git-p4-error-encoding/\xfefile' is not under client's 
> root '/xxx/git-git-p4-error-decoding/t/trash 
> directory.t9837-git-p4-error-encoding/cli'.\n"
>
> (this warning is only displayed once during an import)
>
> ok 2 - see if Perforce error with characters not convertable to utf-8 
> will be processed correctly
>
> ./test-lib.sh: line 1007: 277399 Killed                  while true; do
>
>     if test $nr_tries_left -eq 0; then
>
>         kill -9 $p4d_pid; exit 1;
>
>     fi; sleep 1; nr_tries_left=$(($nr_tries_left - 1));
>
> done 2> /dev/null 4>&2
>
> # passed all 2 test(s)
>
> 1..2
>
>
> On Tue, Apr 8, 2025 at 3:13 PM Nikolay Shustov 
> <nikolay.shustov@gmail.com> wrote:
>
>     Hi Fahad,
>     I hope you are doing well.
>     If there are troubles with trying this on your Perforce system,
>     maybe we
>     could think of other way verifying the patch?
>
>     Thank you,
>     - Nikolay
>

  parent reply	other threads:[~2025-04-09 12:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-20  3:20 [PATCH] git p4 fix for failure to decode p4 errors Nikolay Shustov via GitGitGadget
2025-03-22 11:48 ` Nikolay Shustov
2025-03-25 23:09   ` Nikolay Shustov
2025-03-26 15:09     ` Phillip Wood
2025-03-30 20:06       ` Nikolay Shustov
2025-03-31  1:21         ` Nikolay Shustov
2025-03-31  9:01           ` Fahad Al-Rashed
2025-03-31 23:37             ` Nikolay Shustov
2025-04-05 18:46               ` Nikolay Shustov
2025-04-08 12:13                 ` Nikolay Shustov
     [not found]                   ` <CAFd+s4USsHPaepvfNtjm5VGieuH89zbW5Yj+OSXD8THxkj6tTw@mail.gmail.com>
2025-04-09 12:20                     ` Nikolay Shustov [this message]
2025-04-08 13:18         ` Phillip Wood
2025-04-08 13:28           ` Nikolay Shustov

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

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

  git send-email \
    --in-reply-to=75b9457a-3da4-455d-9612-b83f25d3c854@gmail.com \
    --to=nikolay.shustov@gmail.com \
    --cc=bekenn@gmai.com \
    --cc=fahad@keylock.net \
    --cc=git@vger.kernel.org \
    --cc=phillip.wood@dunelm.org.uk \
    --cc=ps@pks.im \
    /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.
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 NNTP newsgroup(s).