Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] JGit 3.5.0 fails to create bare repo on Windows

Earlier this year I had started a discussion with webmaster about our need
to run build and tests on Windows but forgot about that ;-O
https://bugs.eclipse.org/bugs/show_bug.cgi?id=427529

I now configured a new jgit job on the shared Hudson's Windows slave
https://hudson.eclipse.org/hudson/job/jgit-windows-test

Though it doesn't yet work properly as the Maven installation on that slave seems to be broken.
Watch https://bugs.eclipse.org/bugs/show_bug.cgi?id=427529 if you want to track this.

The gerrit-trigger plugin is not available on the shared Hudson instance so let's start with
a CI job which polls for changes submitted to master. I did not yet configure the
job to send email in order to avoid spamming the list until the job works properly.

--
Matthias

On Tue, Oct 7, 2014 at 5:40 PM, Emilian Bold <emilian.bold@xxxxxxxxx> wrote:
>>When I am back in the office I can test if this test fails on Windows using jgit 3.5.
>
Having a slave running tests on Windows all the time, would be a good idea. We've had long periods where tests would fail on Windows, but nobody notices. A Windows champion would be good to have too, to keep the Windows stuff in good shape.

You could configure any Windows machine as a build slave. Also, the smallest Windows VM on Amazon is probably less than $20/month. 

I'm not sure who handles the build/CI infrastructure for jgit but perhaps the Jenkins guys (Cloudbees) would be willing to donate a machine?

--emi


On Tue, Oct 7, 2014 at 3:16 PM, Robin Rosenberg <robin.rosenberg.lists@xxxxxxxxxx> wrote:


----- Ursprungligt meddelande -----
> Från: "Matthias Sohn" <matthias.sohn@xxxxxxxxx>
> Till: "Mark Waite" <mark.earl.waite@xxxxxxxxx>
> Kopia: "nicolas de loof" <nicolas.deloof@xxxxxxxxx>, "JGit Developers list" <jgit-dev@xxxxxxxxxxx>
> Skickat: måndag, 6 okt 2014 23:20:27
> Ämne: Re: [jgit-dev] JGit 3.5.0 fails to create bare repo on Windows
>
> On Mon, Oct 6, 2014 at 2:32 PM, Mark Waite < mark.earl.waite@xxxxxxxxx >
> wrote:
>
>
>
> Thanks very much for your speedy response. Would it be worthwhile to also
> include a test which uses JGit to create a bare repository? That might help
> detect the problem if it were to reappear.
>
> InitCommandTest.testInitBareRepository() [1] should already test
> initialization of a bare repository.
> AFAIK JGit committers (and our Hudson build) tend to use Linux or Mac so this
> may explain why we didn't notice
> the problem you reported. When I am back in the office I can test if this
> test fails on Windows using jgit 3.5.

Anyone doing something for Windows should run the tests there. So I would have
noticed if there was a bare-repo test.

Having a slave running tests on Windows all the time, would be a good idea. We've
had long periods where tests would fail on Windows, but nobody notices. A Windows
champion would be good to have too, to keep the Windows stuff in good shape.

-- robin
_______________________________________________
jgit-dev mailing list
jgit-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jgit-dev



Back to the top