You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Jan Matèrne (JIRA)" <ji...@apache.org> on 2009/01/23 11:05:00 UTC
[jira] Created: (IVY-1011) Enhance download options
Enhance download options
------------------------
Key: IVY-1011
URL: https://issues.apache.org/jira/browse/IVY-1011
Project: Ivy
Issue Type: New Feature
Components: Core
Reporter: Jan Matèrne
Priority: Minor
Enhance the downloading of artefacts.
- parallel downloads
- resuming a download
- partial downloads
- using a downloadmanager (for getting the first three topics)
(Without knowing the internals) I think of something like
public interface Downloader {
/**
* @param source From where to download
* @param target where to store the artefact
* @param progressReporter something that reports the progress (the [.......]ok at the moment)
*/
download(URI source, File target, ?? progressReporter);
}
Implementations:
- SerialDownloader : the existing downloader
- ParallelDownloader : starts multiple downloads in parallel
- SunDownloader : uses Suns Downloadmanager [1] for doing the job
- ??Downloader : other (free available Java based) download manager
[1] http://www.sun.com/download/sdm/download.xml
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (IVY-1011) Enhance download options
Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667214#action_12667214 ]
Xavier Hanin commented on IVY-1011:
-----------------------------------
a vertical progress bar sounds like a nice idea, I really like it!
> Enhance download options
> ------------------------
>
> Key: IVY-1011
> URL: https://issues.apache.org/jira/browse/IVY-1011
> Project: Ivy
> Issue Type: New Feature
> Components: Core
> Reporter: Jan Matèrne
> Priority: Minor
>
> Enhance the downloading of artefacts.
> - parallel downloads
> - resuming a download
> - partial downloads
> - using a downloadmanager (for getting the first three topics)
> (Without knowing the internals) I think of something like
> public interface Downloader {
> /**
> * @param source From where to download
> * @param target where to store the artefact
> * @param progressReporter something that reports the progress (the [.......]ok at the moment)
> */
> download(URI source, File target, ?? progressReporter);
> }
> Implementations:
> - SerialDownloader : the existing downloader
> - ParallelDownloader : starts multiple downloads in parallel
> - SunDownloader : uses Suns Downloadmanager [1] for doing the job
> - ??Downloader : other (free available Java based) download manager
> [1] http://www.sun.com/download/sdm/download.xml
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (IVY-1011) Enhance download options
Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666858#action_12666858 ]
Xavier Hanin commented on IVY-1011:
-----------------------------------
One issue with parallel downloading is download progress reporting. When used from Ant, we are very limited in reporting, output to console being done only by whole lines. I guess this is not a showstopper if we don't get something clean during parallel downloads, but we need to be careful with this IMO.
> Enhance download options
> ------------------------
>
> Key: IVY-1011
> URL: https://issues.apache.org/jira/browse/IVY-1011
> Project: Ivy
> Issue Type: New Feature
> Components: Core
> Reporter: Jan Matèrne
> Priority: Minor
>
> Enhance the downloading of artefacts.
> - parallel downloads
> - resuming a download
> - partial downloads
> - using a downloadmanager (for getting the first three topics)
> (Without knowing the internals) I think of something like
> public interface Downloader {
> /**
> * @param source From where to download
> * @param target where to store the artefact
> * @param progressReporter something that reports the progress (the [.......]ok at the moment)
> */
> download(URI source, File target, ?? progressReporter);
> }
> Implementations:
> - SerialDownloader : the existing downloader
> - ParallelDownloader : starts multiple downloads in parallel
> - SunDownloader : uses Suns Downloadmanager [1] for doing the job
> - ??Downloader : other (free available Java based) download manager
> [1] http://www.sun.com/download/sdm/download.xml
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (IVY-1011) Enhance download options
Posted by "Jan Matèrne (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667171#action_12667171 ]
Jan Matèrne commented on IVY-1011:
----------------------------------
Ok, on a command line interface a horizontal progress bar is a problem.
Have thought about a vertical one?
Downloading
[1] foo-1.0.0
[2] bar-2..4.2
[3] junit-4.8.0
[1] [2] [3]
* * *
* * *
* * *
* ok *
* *
ok *
ok
> Enhance download options
> ------------------------
>
> Key: IVY-1011
> URL: https://issues.apache.org/jira/browse/IVY-1011
> Project: Ivy
> Issue Type: New Feature
> Components: Core
> Reporter: Jan Matèrne
> Priority: Minor
>
> Enhance the downloading of artefacts.
> - parallel downloads
> - resuming a download
> - partial downloads
> - using a downloadmanager (for getting the first three topics)
> (Without knowing the internals) I think of something like
> public interface Downloader {
> /**
> * @param source From where to download
> * @param target where to store the artefact
> * @param progressReporter something that reports the progress (the [.......]ok at the moment)
> */
> download(URI source, File target, ?? progressReporter);
> }
> Implementations:
> - SerialDownloader : the existing downloader
> - ParallelDownloader : starts multiple downloads in parallel
> - SunDownloader : uses Suns Downloadmanager [1] for doing the job
> - ??Downloader : other (free available Java based) download manager
> [1] http://www.sun.com/download/sdm/download.xml
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.