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

Re: test bare repository for unit tests

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Feb 21, 2018, 22:53 UTC
Message-ID
<878tbmeyz2.fsf@evledraar.gmail.com>
In-Reply-To
<b8afa3d7-dc65-1abf-062a-a503f0c0f38d@gmail.com>
On Wed, Feb 21 2018, Basin Ilya jotted:
Show 7 quoted lines
> Hi.
> I want to the test-repo-git under https://github.com/apache/maven-wagon/tree/master/wagon-providers/wagon-scm/src/test/resources/
> just like test-repo-cvs and test-repo-svn
>
> Which configuation options would suit that?
> I think core.compression 0 for human readable diffs.
> also, I need to force loose, gc after each push.

It looks like you have unit tests that are going to do integration tests of some SVN/CVS repos as used by some other tool, and want to add git to that.

Since you have git already, the most straightforward thing to do would be to ship the output of git-fast-export in the repo, and have the test setup code create a repo locally out of that, then test it.

Or do you really need to commit the raw repo files as-is for some reason I've missed?

Previous: Basin IlyaNext: Basin Ilya
Message 2 of 3 in “test bare repository for unit tests”
  1. Basin IlyaFeb 21, 2018
  2. Ævar Arnfjörð BjarmasonFeb 21, 2018
  3. Basin IlyaFeb 22, 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.