Skip to content

Commit

Permalink
Refatora upload parte 3 - agrupa em uma tarefa as validações: assets,…
Browse files Browse the repository at this point in the history
… renditions, conteúdo do XML (scieloorg#398)

* Cria a tarefa upload.tasks.task_validate_original_zip_file

* Cria upload.tasks.task_validate_xml_content

* Cria upload.xml_validation

* Anota TODO para inserir parâmetros para as validações

* Atualiza packtools para a versão 3.3.4 que contempla mais validações

* Remove package.tasks

* Adiciona importações faltantes
  • Loading branch information
robertatakenaka committed Mar 31, 2024
1 parent 79ef29e commit 07eb66c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions upload/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from .utils import file_utils, package_utils, xml_utils
from upload.models import Package

from upload.xml_validation import validate_xml_content, add_app_data, add_sps_data, add_journal_data

User = get_user_model()

Expand Down

0 comments on commit 07eb66c

Please sign in to comment.