git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCHv2 0/6] git-p4: some small fixes updated

From
Luke Diamand <luke@diamand.org>
Date
Jun 12, 2018, 22:23 UTC
Message-ID
<CAE5ih7-3_jUFNpodvv4szZ75hbgZwvrR1DsmnZqWBus=__37sA@mail.gmail.com>
In-Reply-To
<CAPig+cQg5XE7peXDC-q0mkB9y6boK_iiM_55O6Po2PVmyZNLww@mail.gmail.com>
On 12 June 2018 at 22:53, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 13 quoted lines
> On Tue, Jun 12, 2018 at 5:49 PM, Luke Diamand <luke@diamand.org> wrote:
>> Thanks. While on the subject of git-p4, I thought I should mention
>> that I've been looking at getting git-p4 to work with Python3.
>>
>> I've got some low risk easy (mostly automated) changes which get it to
>> the point where it compiles. After that I have to figure out how to
>> fix the byte-vs-string unicode problem that Python3 brings. [...]
>
> See how reposurgeon handles the problem[1]. It defines polystr() and
> polybytes() functions which coerce strings and byte sequences as
> needed. It's not pretty, but it works.
>
> [1]: https://gitlab.com/esr/reposurgeon/blob/master/reposurgeon#L100
Thanks, that's got some useful tips!
Previous: Eric Sunshine
Message 13 of 13 in “[PATCHv2 0/6] git-p4: some small fixes updated”
  1. Luke DiamandJun 8, 2018
  2. 1/6 git-p4: disable-rebase: allow setting this via configurationLuke Diamand, Jun 8, 2018
  3. 2/6 git-p4: add option to disable syncing of p4/master with p4Luke Diamand, Jun 8, 2018
  4. 3/6 git-p4: better error reporting when p4 failsLuke Diamand, Jun 8, 2018
  5. 4/6 git-p4: raise exceptions from p4CmdList based on error from p4 serverLuke Diamand, Jun 8, 2018
  6. 5/6 git-p4: narrow the scope of exceptions caught when parsing an intLuke Diamand, Jun 8, 2018
  7. 6/6 git-p4: auto-size the blockLuke Diamand, Jun 8, 2018
  8. Junio C HamanoJun 12, 2018
  9. Luke DiamandJun 12, 2018
  10. Junio C HamanoJun 12, 2018
  11. Luke DiamandJun 12, 2018
  12. Eric SunshineJun 12, 2018
  13. Luke DiamandJun 12, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.