goodtables.io icon indicating copy to clipboard operation
goodtables.io copied to clipboard

Ability to restart a job

Open roll opened this issue 8 years ago • 3 comments

Overview

An analogue to Travis's restart build - https://travis-ci.org/frictionlessdata/datapackage-py


From @ppKrauss

There are some error at http://goodtables.io/github/OSMBrasil/CRP/jobs/1 and I need to check again, how to check without change my git?

It is for new https://github.com/frictionlessdata/goodtables-py/releases

roll avatar Sep 11 '17 08:09 roll

Hi, thanks (!).

PS: do you have a README about your command python -m goodtables.cli? It is not at https://github.com/frictionlessdata/goodtables-py#cli

ppKrauss avatar Sep 11 '17 11:09 ppKrauss

@ppKrauss It's a development alias for goodtables command. I forgot to replace python -m goodtables.cli by goodtables.

With the goodtables command you could validate local/remote csv or data package simply as: $ goodtables data.csv or $ goodtables datapackage.json:

$ goodtables https://raw.githubusercontent.com/OSMBrasil/CRP/v1.1.0/datapackage.json
/home/roll/projects/goodtables-py/.python/lib/python3.5/site-packages/datapackage/package.py:78: UserWarning: Resource property "url: <url>" is deprecated. Please use "path: [url]" instead (as array).
  UserWarning)
DATASET
=======
{'error-count': 1,
 'preset': 'datapackage',
 'table-count': 1,
 'time': 1.532,
 'valid': False}
---------
Warning: Data Package "https://raw.githubusercontent.com/OSMBrasil/CRP/v1.1.0/datapackage.json" has a validation error "'CEP-to-CRP' does not match '^([-a-z0-9._/])+$'"
Warning: Data Package "https://raw.githubusercontent.com/OSMBrasil/CRP/v1.1.0/datapackage.json" has a validation error "'Convencoes-CRP' does not match '^([-a-z0-9._/])+$'"

TABLE [1]
=========
{'datapackage': 'https://raw.githubusercontent.com/OSMBrasil/CRP/v1.1.0/datapackage.json',
 'encoding': None,
 'error-count': 1,
 'format': 'inline',
 'headers': ['CRP-prefix',
             'CEP-from',
             'CEP-to',
             'range-prefix',
             'extra-prefix',
             'CRP-from',
             'CRP-to',
             'Notes'],
 'row-count': 0,
 'schema': 'table-schema',
 'scheme': None,
 'source': 'http://gobetween.oklabs.org/pipe/https%3A%2F%2Fraw.githubusercontent.com%2FppKrauss%2FCRP%2Fmaster%2Fdata%2FCEP-to-CRP.csv',
 'time': 1.029,
 'valid': False}
---------
[-,-] [schema-error] Table Schema error: {'name': 'extra-prefix', 'format': 'regular expression', 'type': 'string', 'description': 'informações extra sobre o reconhecimento do prefixo no CEP'} is not valid under any of the given schemas

roll avatar Sep 11 '17 11:09 roll

@ppKrauss So current error for https://goodtables.io/github/OSMBrasil/CRP/jobs/4:

Data Package "https://raw.githubusercontent.com/OSMBrasil/CRP/b15f160a70944e84992fd71eeeada5054eb88623/datapackage.json" has a validation error "'Convencoes-CRP' does not match '^([a-z0-9._-])+$'" Data Package "https://raw.githubusercontent.com/OSMBrasil/CRP/b15f160a70944e84992fd71eeeada5054eb88623/datapackage.json" has a validation error "'CEP-to-CRP' does not match '^([a-z0-9._-])+$'"

We just work on updated all our stack to specs-v1. So it's a current goodtables.io problem which will be resolved in https://github.com/frictionlessdata/goodtables.io/issues/263

roll avatar Sep 11 '17 11:09 roll