openknowledge-archive / dpm-old

**DEPRECATED** - see https://github.com/frictionlessdata/. [[Data package manager (dpm) is a command line tool and Python library for working with data packages - http://data.okfn.org/standards/data-package/]]
http://dpm.readthedocs.org/
15 stars 8 forks source link

Replace Specs with use of simple URLs #47

Closed rufuspollock closed 12 years ago

rufuspollock commented 12 years ago

Much more natural to do:

dpm clone {url} {path}

than

dpm clone ckan://{name} {path}

The one challenge is we need a way to determine type of the index / repository being worked with. Suggest in first instance we assume all http:// are CKAN and all paths are local.

dgraziotin commented 12 years ago

I totally agree. If CKAN is assumed for http://, what happens in dpm if the user tries a non-CKAN website as URL?

rufuspollock commented 12 years ago

@dgraziotin in future we should start doing some smart guessing based on the url we are given (e.g. we could try page inspection to look for relevant things). E.g. could look for RDFa in page, or something that shows this is a ckan instance or even that this is just a web directory with a datapackage.json in it etc etc :-)

rufuspollock commented 12 years ago

DUPLICATE. of #28.