You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by soiff <gi...@git.apache.org> on 2016/07/29 08:07:37 UTC

[GitHub] maven-wagon pull request #27: V2.10 rc

GitHub user soiff opened a pull request:

    https://github.com/apache/maven-wagon/pull/27

    V2.10 rc

    add extension for external downloader by specifying following properties:
    
    ```
    external.loader=axel
    external.filter=.*\\.jar
    external.state=.st
    ```
    
    which means one can download all jar resource through `axel`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/soiff/maven-wagon v2.10-rc

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-wagon/pull/27.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 #27
    
----
commit 0af4562f4602981a0c86c0108b5091f6970bb3dd
Author: zhangh <zh...@dtdream.com>
Date:   2016-07-29T07:15:58Z

    add extension for external tool

commit 7f2da211ec3fe4dd80a5d131ae3dfa7f64ae9ecd
Author: zhangh <zh...@dtdream.com>
Date:   2016-07-29T07:52:14Z

    close InputStream if StreamWagonEx can handle

commit 164194f2dea6ea14e016f2451d7ccc8f2cf4529a
Author: zhangh <zh...@dtdream.com>
Date:   2016-07-29T08:06:26Z

    update checkstyle

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] maven-wagon issue #27: Support external downloader for downloading files

Posted by michael-o <gi...@git.apache.org>.
Github user michael-o commented on the issue:

    https://github.com/apache/maven-wagon/pull/27
  
    I do agree, but still think that we can tweak Wagon HTTP to fail faster if such a case happens. Your proxy is likely to use Apache HttpClient, just like Wagon does. You could still suffer from the same problems. I really would like to see this flexibility in a well-established provider which is the default, rather than people having to declare and configure a new one.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] maven-wagon issue #27: Support external downloader for downloading files

Posted by soiff <gi...@git.apache.org>.
Github user soiff commented on the issue:

    https://github.com/apache/maven-wagon/pull/27
  
    Yes, you are right. There are no PRs to make it bullet-proof. I've encountered this problem several days ago and I tried this new patch, which solved my problem and it works fine. In my memory, I've blocked for many times when I try to get new releases for artifacts from central repository and it's just waiting without any information print out, which makes me nervous and incomfortable. Of course, nowadays, we use local repository for maven instead of central repository, which reduce this problem too. From my perspective, I just want to make wagon more flexible for users, nothing else.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] maven-wagon issue #27: Support external downloader for downloading files

Posted by soiff <gi...@git.apache.org>.
Github user soiff commented on the issue:

    https://github.com/apache/maven-wagon/pull/27
  
    It's not enough for unstable network connections and shows not enough log about downloadings, suppose we are behind the GFW. By the way, support external downloaders make wagon itself more flexible. Of course, this patch do not force users to adopt it, which is optional.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] maven-wagon pull request #27: Support external downloader for downloading fi...

Posted by soiff <gi...@git.apache.org>.
Github user soiff closed the pull request at:

    https://github.com/apache/maven-wagon/pull/27


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] maven-wagon issue #27: Support external downloader for downloading files

Posted by michael-o <gi...@git.apache.org>.
Github user michael-o commented on the issue:

    https://github.com/apache/maven-wagon/pull/27
  
    If it is not enough for unstable networks, provide PRs to make it bullet-proof. Logs can always we enabled with `-X`  and by tweaking the logging configuration. Still not enough?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] maven-wagon issue #27: Support external downloader for downloading files

Posted by michael-o <gi...@git.apache.org>.
Github user michael-o commented on the issue:

    https://github.com/apache/maven-wagon/pull/27
  
    Why is `wagon-http` and `wagon-http-lightweight` not enough?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] maven-wagon issue #27: V2.10 rc

Posted by soiff <gi...@git.apache.org>.
Github user soiff commented on the issue:

    https://github.com/apache/maven-wagon/pull/27
  
    add default filter


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] maven-wagon issue #27: Support external downloader for downloading files

Posted by soiff <gi...@git.apache.org>.
Github user soiff commented on the issue:

    https://github.com/apache/maven-wagon/pull/27
  
    Actually, `axel` is based on `c` programing language and do really failfast I think. Of course this is not a problem that always happen, which means it would be narrowly needed. After all, improving the default provider should be the more acceptible way. So I'm going to close this comment and post any sugestion if I encountered such problems again. Thanks for your attention!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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