Bug 657599 - openSUSE:Tools/obs-service-download_url: does not mention downloading
Summary: openSUSE:Tools/obs-service-download_url: does not mention downloading
Status: RESOLVED FIXED
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: 3rd party software (show other bugs)
Version: unspecified
Hardware: x86-64 openSUSE 11.3
: P5 - None : Major with 1 vote (vote)
Target Milestone: ---
Assignee: Adrian Schröter
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-04 11:47 UTC by Christopher Yeleighton
Modified: 2012-04-02 13:59 UTC (History)
0 users

See Also:
Found By: Community User
Services Priority:
Business Priority:
Blocker: No
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2010-12-04 11:47:57 UTC
When a project relies on this service and the archive has not been downloaded yet, osc build appears stalled until the download finishes.  The service should notify the operator that he is going to wait, and report the expected time (or at least size) and where the package is being stored.
Since the service relies on curl, it would probably be enough to pass some verbosity flag to curl.
Comment 1 Christopher Yeleighton 2010-12-04 12:29:05 UTC
Actually, it seems the file is being downloaded at each build.  Raising Severity to Major.

Current command line:
  /usr/bin/wget -4 --no-check-certificate -q "$MYPROTOCOL://${MYHOST}${MYPORT}/$MYPATH"

I would say:
  /usr/bin/wget -4 --no-check-certificate -N "$MYPROTOCOL://${MYHOST}${MYPORT}/$MYPATH"

(untested)
Comment 2 Christopher Yeleighton 2010-12-04 12:39:47 UTC
Setting http_proxy in ~/.wgetrc helped.
Comment 3 Christopher Yeleighton 2010-12-06 18:28:41 UTC
It should be noted that { osc co } is just as tacit.
Comment 4 Adrian Schröter 2012-04-02 13:59:08 UTC
download_files has now a caching mode to avoid multiple downloads. download_url is becoming obsolete most likely, so closing this.