[
https://issues.apache.org/jira/browse/WAGON-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375718#comment-16375718
]
ASF GitHub Bot commented on WAGON-495:
--------------------------------------
GitHub user basinilya reopened a pull request:
https://github.com/apache/maven-wagon/pull/46
[WAGON-495] fix testWagonPutDirectoryWhenDirectoryAlreadyExists false
positive
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/basinilya/maven-wagon WAGON-495
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-wagon/pull/46.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #46
----
commit b6e79d554db83f3f0fba33574b26bbef3fe9617d
Author: Ilya Basin <basinilya@...>
Date: 2018-02-18T08:55:32Z
[WAGON-497] fix ScmWagon.put() strips existing parent directories
commit 36c4a21fe044305f49160d7c85c7a7cf945715ea
Author: Ilya Basin <basinilya@...>
Date: 2018-02-18T19:34:20Z
[WAGON-498] use maven-scm 1.9.6-SNAPSHOT
commit 98ff45fb934ce856d3fde3fb84ac177604dd0293
Author: Ilya Basin <basinilya@...>
Date: 2018-02-18T19:49:30Z
[WAGON-498] ScmWagon should work in binary mode when possible
commit 1fe65b1a05f3945931f1fc09a95ad68d43a0dad3
Author: Ilya Basin <basinilya@...>
Date: 2018-02-20T14:37:28Z
fix ScmWagon cannot checkout when list() unsupported
commit 8cb0abe9026119d1d352cefb0902a0db5eba7e34
Author: Ilya Basin <basinilya@...>
Date: 2018-02-22T08:13:52Z
[WAGON-495] fix testWagonPutDirectoryWhenDirectoryAlreadyExists false
positive
----
> checkoutDirectory leak
> ----------------------
>
> Key: WAGON-495
> URL: https://issues.apache.org/jira/browse/WAGON-495
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-scm
> Affects Versions: 3.0.0, 3.0.1
> Reporter: Ilya Basin
> Priority: Major
>
> During deploy artifacts to SVN an instance of ScmWagon is initialized and
> artifact metadata is downloaded to a local folder. After that maven tries to
> upload the jar file. ScmWagon.put(File,String) is called which internally
> overwrites the checkoutDirectory field and checks out the repo again to
> another temporary folder. The original folder is forgotten.
> Maven uploads jars, poms, checksums and for each file ScmWagon checks out a
> new directory.
> In the end the closeConnection() method is called which removes the last used
> folder.
> UPD: this causes false positive in
> testWagonPutDirectoryWhenDirectoryAlreadyExists(): the test deletes the test
> checkout dir before calling get(), but the wagon checkout dir remains and the
> file is retrieved from there.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)