From c87d8c0d3a5cd12114f345f010cc66633dc82f46 Mon Sep 17 00:00:00 2001 From: Joffily Ferreira Date: Wed, 10 Jun 2020 17:47:08 -0300 Subject: [PATCH 1/2] =?UTF-8?q?Corrige=20data=20de=20atualiza=C3=A7=C3=A3o?= =?UTF-8?q?=20para=20registros=20do=20tipo=20issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit O campo 091 das entidades do tipo `issue` representa a data de atualização e não a data de criação. Esta troca de semântica acaba por inviabilizar a atualização de registros por outras aplicações. Com essa modificação o arquivo `id` passa a ser mais correto e fidedigno com as especificações da base MST. --- delorean/templates/issue_db_entry.txt | 4 ++-- delorean/tests_assets/issue_meta.id | 2 +- delorean/tests_assets/issue_spe_meta.id | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/delorean/templates/issue_db_entry.txt b/delorean/templates/issue_db_entry.txt index 3382637..94f1887 100644 --- a/delorean/templates/issue_db_entry.txt +++ b/delorean/templates/issue_db_entry.txt @@ -59,8 +59,8 @@ % if ctrl_vocabulary is not UNDEFINED and ctrl_vocabulary: !v085!${ctrl_vocabulary} % endif -% if created is not UNDEFINED and created: -!v091!${created} +% if updated is not UNDEFINED and updated: +!v091!${updated} % endif % if editorial_standard is not UNDEFINED and editorial_standard: !v117!${editorial_standard} diff --git a/delorean/tests_assets/issue_meta.id b/delorean/tests_assets/issue_meta.id index 2bb53d0..5e63b44 100644 --- a/delorean/tests_assets/issue_meta.id +++ b/delorean/tests_assets/issue_meta.id @@ -24,7 +24,7 @@ !v049!^lpt^cABCD-f36r^tT�cnica !v065!20100300 !v085!decs -!v091!20100601 +!v091!20120802 !v117!vancouv !v122!16 !v130!ABCD. Arquivos Brasileiros de Cirurgia Digestiva (S�o Paulo) diff --git a/delorean/tests_assets/issue_spe_meta.id b/delorean/tests_assets/issue_spe_meta.id index cb40144..82daba5 100644 --- a/delorean/tests_assets/issue_spe_meta.id +++ b/delorean/tests_assets/issue_spe_meta.id @@ -24,7 +24,7 @@ !v049!^lpt^cABCD-f36r^tT�cnica !v065!20100300 !v085!decs -!v091!20100601 +!v091!20120802 !v117!vancouv !v122!16 !v130!ABCD. Arquivos Brasileiros de Cirurgia Digestiva (S�o Paulo) From d685d68d60e0bf1a741f39716b142d8bde2d9692 Mon Sep 17 00:00:00 2001 From: Joffily Ferreira Date: Thu, 11 Jun 2020 08:48:12 -0300 Subject: [PATCH 2/2] =?UTF-8?q?Atualiza=20instala=C3=A7=C3=A3o=20de=20depe?= =?UTF-8?q?nd=C3=AAncia=20durante=20pipeline?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index f75e6cd..f283767 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ python: - 2.6 - 2.7 install: + - pip install -r requirements.txt - python setup.py develop script: - python setup.py test