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

Re: [PATCH v2] git-cvsimport: add support for cvs pserver password scrambling.

From
DHDirk Hörner <dirker@gmail.com>
Date
Aug 14, 2009, 09:46 UTC
Message-ID
<4da546dc0908140246i35b28052wd7b7790d191a9984@mail.gmail.com>
In-Reply-To
<7vskfusvpq.fsf@alter.siamese.dyndns.org>
Hi Junio,
On Fri, Aug 14, 2009 at 9:25 AM, Junio C Hamano<gitster@pobox.com> wrote:
Show 17 quoted lines
> Thanks.
>
> While I appreciate your effort to add a test, I'd rather not apply the
> test part of your patch for two reasons:
>
>  - It is not a test against a real cvs pserver but is a whitebox test to
>   verify that the program says what the program is supposed to spit out
>   to the network; and
>
>  - It still is a network test that will fail if the TCP port is occupied
>   for whatever reason when the test is run, which will make automated
>   build and test cycle unreliable.
>
> Unfortunately, I do not see an easy way to run a real cvs pserver
> listening to a local unix domain socket under $TRASH_DIRECTORY, which
> would solve both of the above issues.
>

I agree with you, the tests are not the best. As Dscho stated in one of the replies to the last version of this patch, the cvs pserver is quite good to test with because it uses stdin/stdout for communication. The main problem is git-cvsimport, which right now only supports tcp sockets.

Ciao, Dirk

Previous: Junio C Hamano
Message 3 of 3 in “git-cvsimport: add support for cvs pserver password scrambling.”
  1. git-cvsimport: add support for cvs pserver password scrambling.Dirk Hoerner, Aug 14, 2009
  2. Junio C HamanoAug 14, 2009
  3. Dirk HörnerAug 14, 2009

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.