You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2016/05/28 21:56:06 UTC

maven-wagon git commit: [WAGON-457] Wagon tests fail on Windows because Subversion crashes on a test repo

Repository: maven-wagon
Updated Branches:
  refs/heads/master f3462c3f2 -> 6df8f317f


[WAGON-457] Wagon tests fail on Windows because Subversion crashes on a test repo


Project: http://git-wip-us.apache.org/repos/asf/maven-wagon/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-wagon/commit/6df8f317
Tree: http://git-wip-us.apache.org/repos/asf/maven-wagon/tree/6df8f317
Diff: http://git-wip-us.apache.org/repos/asf/maven-wagon/diff/6df8f317

Branch: refs/heads/master
Commit: 6df8f317f083856c42d4274c233d491fe3a5eb35
Parents: f3462c3
Author: Michael Osipov <mi...@apache.org>
Authored: Sat May 28 23:55:15 2016 +0200
Committer: Michael Osipov <mi...@apache.org>
Committed: Sat May 28 23:55:15 2016 +0200

----------------------------------------------------------------------
 .../wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/6df8f317/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
----------------------------------------------------------------------
diff --git a/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes b/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
new file mode 100644
index 0000000..ac0cab2
--- /dev/null
+++ b/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
@@ -0,0 +1,3 @@
+# Make all files end with LF even on Windows because Subversion
+# internal files are platform-neutral encoded with linefeed only.
+* eol=lf


Re: maven-wagon git commit: [WAGON-457] Wagon tests fail on Windows because Subversion crashes on a test repo

Posted by Robert Scholte <rf...@apache.org>.
That did the trick, great!

Robert

On Sun, 29 May 2016 20:12:20 +0200, Michael Osipov <mi...@apache.org>  
wrote:

> Am 2016-05-29 um 09:26 schrieb Robert Scholte:
>> I'm having issues with maven-scm-provider-svntest when used by the
>> maven-scm-plugin.
>> Could this fix help there as well?
>
> You are probably talking about this file:  
> https://github.com/apache/maven-scm/blob/maven-scm-1.9.4/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svntest/src/main/resources/tck/tck.dump
>
> The dump has been normalized by Git which basically means this file has  
> been destroyed. Try LF only and rerun the tests. If this works, commit  
> it and add .gitattributes.
>
> So, yes this might fix your problem too.
>
> Michael
>
>> On Sat, 28 May 2016 23:56:06 +0200, <mi...@apache.org> wrote:
>>
>>> Repository: maven-wagon
>>> Updated Branches:
>>>   refs/heads/master f3462c3f2 -> 6df8f317f
>>>
>>>
>>> [WAGON-457] Wagon tests fail on Windows because Subversion crashes on
>>> a test repo
>>>
>>>
>>> Project: http://git-wip-us.apache.org/repos/asf/maven-wagon/repo
>>> Commit:
>>> http://git-wip-us.apache.org/repos/asf/maven-wagon/commit/6df8f317
>>> Tree: http://git-wip-us.apache.org/repos/asf/maven-wagon/tree/6df8f317
>>> Diff: http://git-wip-us.apache.org/repos/asf/maven-wagon/diff/6df8f317
>>>
>>> Branch: refs/heads/master
>>> Commit: 6df8f317f083856c42d4274c233d491fe3a5eb35
>>> Parents: f3462c3
>>> Author: Michael Osipov <mi...@apache.org>
>>> Authored: Sat May 28 23:55:15 2016 +0200
>>> Committer: Michael Osipov <mi...@apache.org>
>>> Committed: Sat May 28 23:55:15 2016 +0200
>>>
>>> ----------------------------------------------------------------------
>>>  .../wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes  | 3
>>> +++
>>>  1 file changed, 3 insertions(+)
>>> ----------------------------------------------------------------------
>>>
>>>
>>> http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/6df8f317/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
>>>
>>> ----------------------------------------------------------------------
>>> diff --git
>>> a/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
>>> b/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
>>>
>>> new file mode 100644
>>> index 0000000..ac0cab2
>>> --- /dev/null
>>> +++
>>> b/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
>>>
>>> @@ -0,0 +1,3 @@
>>> +# Make all files end with LF even on Windows because Subversion
>>> +# internal files are platform-neutral encoded with linefeed only.
>>> +* eol=lf
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven-wagon git commit: [WAGON-457] Wagon tests fail on Windows because Subversion crashes on a test repo

Posted by Michael Osipov <mi...@apache.org>.
Am 2016-05-29 um 09:26 schrieb Robert Scholte:
> I'm having issues with maven-scm-provider-svntest when used by the
> maven-scm-plugin.
> Could this fix help there as well?

You are probably talking about this file: 
https://github.com/apache/maven-scm/blob/maven-scm-1.9.4/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svntest/src/main/resources/tck/tck.dump

The dump has been normalized by Git which basically means this file has 
been destroyed. Try LF only and rerun the tests. If this works, commit 
it and add .gitattributes.

So, yes this might fix your problem too.

Michael

> On Sat, 28 May 2016 23:56:06 +0200, <mi...@apache.org> wrote:
>
>> Repository: maven-wagon
>> Updated Branches:
>>   refs/heads/master f3462c3f2 -> 6df8f317f
>>
>>
>> [WAGON-457] Wagon tests fail on Windows because Subversion crashes on
>> a test repo
>>
>>
>> Project: http://git-wip-us.apache.org/repos/asf/maven-wagon/repo
>> Commit:
>> http://git-wip-us.apache.org/repos/asf/maven-wagon/commit/6df8f317
>> Tree: http://git-wip-us.apache.org/repos/asf/maven-wagon/tree/6df8f317
>> Diff: http://git-wip-us.apache.org/repos/asf/maven-wagon/diff/6df8f317
>>
>> Branch: refs/heads/master
>> Commit: 6df8f317f083856c42d4274c233d491fe3a5eb35
>> Parents: f3462c3
>> Author: Michael Osipov <mi...@apache.org>
>> Authored: Sat May 28 23:55:15 2016 +0200
>> Committer: Michael Osipov <mi...@apache.org>
>> Committed: Sat May 28 23:55:15 2016 +0200
>>
>> ----------------------------------------------------------------------
>>  .../wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes  | 3
>> +++
>>  1 file changed, 3 insertions(+)
>> ----------------------------------------------------------------------
>>
>>
>> http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/6df8f317/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
>>
>> ----------------------------------------------------------------------
>> diff --git
>> a/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
>> b/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
>>
>> new file mode 100644
>> index 0000000..ac0cab2
>> --- /dev/null
>> +++
>> b/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
>>
>> @@ -0,0 +1,3 @@
>> +# Make all files end with LF even on Windows because Subversion
>> +# internal files are platform-neutral encoded with linefeed only.
>> +* eol=lf
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven-wagon git commit: [WAGON-457] Wagon tests fail on Windows because Subversion crashes on a test repo

Posted by Robert Scholte <rf...@apache.org>.
I'm having issues with maven-scm-provider-svntest when used by the  
maven-scm-plugin.
Could this fix help there as well?

thanks,
Robert

On Sat, 28 May 2016 23:56:06 +0200, <mi...@apache.org> wrote:

> Repository: maven-wagon
> Updated Branches:
>   refs/heads/master f3462c3f2 -> 6df8f317f
>
>
> [WAGON-457] Wagon tests fail on Windows because Subversion crashes on a  
> test repo
>
>
> Project: http://git-wip-us.apache.org/repos/asf/maven-wagon/repo
> Commit:  
> http://git-wip-us.apache.org/repos/asf/maven-wagon/commit/6df8f317
> Tree: http://git-wip-us.apache.org/repos/asf/maven-wagon/tree/6df8f317
> Diff: http://git-wip-us.apache.org/repos/asf/maven-wagon/diff/6df8f317
>
> Branch: refs/heads/master
> Commit: 6df8f317f083856c42d4274c233d491fe3a5eb35
> Parents: f3462c3
> Author: Michael Osipov <mi...@apache.org>
> Authored: Sat May 28 23:55:15 2016 +0200
> Committer: Michael Osipov <mi...@apache.org>
> Committed: Sat May 28 23:55:15 2016 +0200
>
> ----------------------------------------------------------------------
>  .../wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes  | 3  
> +++
>  1 file changed, 3 insertions(+)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/6df8f317/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
> ----------------------------------------------------------------------
> diff --git  
> a/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes  
> b/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
> new file mode 100644
> index 0000000..ac0cab2
> --- /dev/null
> +++  
> b/wagon-providers/wagon-scm/src/test/resources/test-repo-svn/db/.gitattributes
> @@ -0,0 +1,3 @@
> +# Make all files end with LF even on Windows because Subversion
> +# internal files are platform-neutral encoded with linefeed only.
> +* eol=lf

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org