Ticket #101 (closed enhancement: fixed)
(Improved) Download support
Reported by: | rgrp | Owned by: | rgrp |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | dpm | Keywords: | |
Cc: | Repository: | ||
Theme: |
Description
- Given a url download from that url to disk
- Given a package use download url to download to disk
Once on disk should uncompress (if necessary).
Details
- Should download either to tmp directory (defaulted in config) or a specified path on disk
- In download would like to support as many types of target urls as possible:
- Single files (usually compressed filesets but could be individual files)
- Index pages listing files to download
- Revision control repositories
- ...
This will obviously be a significant amount of work. Suggest:
- Start off just supporting the first option.
- Have something like a plugin system to handle new target types
- Reuse existing work (e.g. easy_install and pip handle standard vcs such as svn, hg, git etc)
Cost: 1d
Change History
Note: See
TracTickets for help on using
tickets.
Marking as fixed as Item 1 and item 2 have now been done (at least partially), using urlgrabber. However no "distribution" support (we just assume all downloads are "payloads" and get metadata from ckan). See cset:ae89cbc898c7/datapkg cset:8448f862c588/datapkg cset:df22cd0f92a1/datapkg etc.