Closed anuveyatsu closed 6 years ago
This is now fixed in https://github.com/datahq/datahub-client/pull/16 and https://github.com/datahq/data-cli/commit/2396f4fa13f1e89587e7168fcc4c3e2b7abcb60b
The fix will be available with the next release of the CLI tool.
TESTED
user@pc:~/work/datahq/data-cli$ node bin/data.js validate https://raw.githubusercontent.com/frictionlessdata/test-data/master/packages/basic-csv/datapackage.json
Your Data Package is valid!
Cool!
FIXED (see output in the previous comment)
Does not work with datahub.io :(
$ data validate https://datahub.io/core/finance-vix
> Error! Profiles registry hasn't profile data-package on line undefined
> Error! Cannot read property 'forEach' of undefined
$ data -v
0.7.6
Created new issue about that scenario: https://github.com/datahq/datahub-qa/issues/118
@AcckiyGerman where does it say it should work with datahub.io? It must be separate issue
New issue re data validate http://datahub.io/.../
: https://github.com/datahq/datahub-qa/issues/118
If I try to validate a remote dataset, I would get following error:
How to reproduce
data validate https://raw.githubusercontent.com/frictionlessdata/test-data/master/packages/basic-csv/datapackage.json
Expected behavior *extended 22feb
I can do validation of remote datasets:
data validate https://raw.githubusercontent.com/frictionlessdata/test-data/master/packages/basic-csv/datapackage.json
data validate http://datahub.io/core/gold-prices
data validate http://github.com/datasets/gold-prices