{"thread":{"id":"47892","subject":"test bare repository for unit tests","startedAt":"2018-02-21T08:33:44Z","lastAt":"2018-02-22T07:48:07Z","messageCount":3,"participants":["Basin Ilya","Ævar Arnfjörð Bjarmason"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"339798","messageId":"b8afa3d7-dc65-1abf-062a-a503f0c0f38d@gmail.com","threadId":"47892","inReplyTo":null,"subject":"test bare repository for unit tests","fromName":"Basin Ilya","fromEmail":"basinilya@gmail.com","sentAt":"2018-02-21T08:33:36Z","receivedAt":"2018-02-21T08:33:44Z","isPatch":false,"sender":{"key":"basinilya@gmail.com","avatar":null},"body":"Hi.\nI want to the test-repo-git under https://github.com/apache/maven-wagon/tree/master/wagon-providers/wagon-scm/src/test/resources/\njust like test-repo-cvs and test-repo-svn\n\nWhich configuation options would suit that?\nI think core.compression 0 for human readable diffs.\nalso, I need to force loose, gc after each push.\n"},{"id":"339852","messageId":"878tbmeyz2.fsf@evledraar.gmail.com","threadId":"47892","inReplyTo":"b8afa3d7-dc65-1abf-062a-a503f0c0f38d@gmail.com","subject":"Re: test bare repository for unit tests","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2018-02-21T22:53:37Z","receivedAt":"2018-02-21T22:53:46Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"\nOn Wed, Feb 21 2018, Basin Ilya jotted:\n\n> Hi.\n> I want to the test-repo-git under https://github.com/apache/maven-wagon/tree/master/wagon-providers/wagon-scm/src/test/resources/\n> just like test-repo-cvs and test-repo-svn\n>\n> Which configuation options would suit that?\n> I think core.compression 0 for human readable diffs.\n> also, I need to force loose, gc after each push.\n\nIt looks like you have unit tests that are going to do integration tests\nof some SVN/CVS repos as used by some other tool, and want to add git to\nthat.\n\nSince you have git already, the most straightforward thing to do would\nbe to ship the output of git-fast-export in the repo, and have the test\nsetup code create a repo locally out of that, then test it.\n\nOr do you really need to commit the raw repo files as-is for some reason\nI've missed?\n"},{"id":"339910","messageId":"2d901963-b66b-8f7a-a6ac-76a334aeb1da@gmail.com","threadId":"47892","inReplyTo":"878tbmeyz2.fsf@evledraar.gmail.com","subject":"Re: test bare repository for unit tests","fromName":"Basin Ilya","fromEmail":"basinilya@gmail.com","sentAt":"2018-02-22T07:47:55Z","receivedAt":"2018-02-22T07:48:07Z","isPatch":false,"sender":{"key":"basinilya@gmail.com","avatar":null},"body":"Hi.\ngit-fast-export would work too, but it creates an additional step. I don't commit to the model repo during tests, but I do commit when I want to modify the tests.\nSo far, I configured core.compression=0 and gc.auto=0, created the .gitattributes inside the bare repo dir containing one line: * binary\nI also created two empty .gitignore files inside refs/ and objects/\n\nI still haven't found a way to force prune without pack after each push.\n\nOn 22.02.2018 1:53, Ævar Arnfjörð Bjarmason wrote:\n> \n> On Wed, Feb 21 2018, Basin Ilya jotted:\n> \n>> Hi.\n>> I want to the test-repo-git under https://github.com/apache/maven-wagon/tree/master/wagon-providers/wagon-scm/src/test/resources/\n>> just like test-repo-cvs and test-repo-svn\n>>\n>> Which configuation options would suit that?\n>> I think core.compression 0 for human readable diffs.\n>> also, I need to force loose, gc after each push.\n> \n> It looks like you have unit tests that are going to do integration tests\n> of some SVN/CVS repos as used by some other tool, and want to add git to\n> that.\n> \n> Since you have git already, the most straightforward thing to do would\n> be to ship the output of git-fast-export in the repo, and have the test\n> setup code create a repo locally out of that, then test it.\n> \n> Or do you really need to commit the raw repo files as-is for some reason\n> I've missed?\n> \n"}]}