Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Ability to restart a job #262

Open
roll opened this issue Sep 11, 2017 · 3 comments
Open

Ability to restart a job #262

roll opened this issue Sep 11, 2017 · 3 comments

Comments

@roll
Copy link
Member

roll commented Sep 11, 2017

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

@ppKrauss
Copy link

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

@roll
Copy link
Member Author

roll commented Sep 11, 2017

@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
Copy link
Member Author

roll commented Sep 11, 2017

@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 #263

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants