• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aiidateam / aiida_core
74%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Repo Added 19 Sep 2018 06:55AM UTC
Files 403
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH django_jsonb
branch: django_jsonb
CHANGE BRANCH
x
Reset
  • django_jsonb
  • backend_transactions
  • borellim-docs-typo-1
  • borellim-docs-typo-2
  • borellim-fix-show-mpl
  • develop
  • fix_1741_expose_inputs_deepcopy
  • fix_201_method_names_for_data
  • fix_2082_process_command_waits
  • fix_2233_node_to_new_backend
  • fix_2342_update_export_import_to_prov_redesign
  • fix_2981_verdi_export_inspect
  • fix_3013_docs_venv_qinstall
  • fix_3014
  • fix_3014_changes_marco
  • fix_3015_code_setup
  • fix_3037_update_kiwipy
  • fix_465_upgrade_sqlalchemy
  • fix_migration_py3_integrity_violation
  • fix_missing_testing_deps
  • fix_test_cif_structure_roundtrip
  • fix_test_inline_export
  • fix_working_with_aiida
  • giovannipizzi-fix-templatereplacer
  • issue_2237_rebased2
  • issue_3062_process_report
  • master
  • merge_master_into_develop
  • new_engine
  • new_engine_jenkins
  • newest_plum
  • orm_design_refactor
  • orm_group_refactor
  • orm_log_refactor
  • provenance_redesign
  • query-contains-filter-doc
  • release_v0.12.3
  • release_v0.12.4
  • release_v1.0.0a3
  • release_v1.0.0a4
  • release_v1.0.0b1
  • release_v1.0.0b3
  • serialize
  • sphuber-fix_1787_sqla_model_wrapper_setter
  • support/0.12.x
  • v0.12.3
  • v1.0.0a3
  • v1.0.0a4
  • v1.0.0b1
  • v1.0.0b2
  • v1.0.0b3
  • v1.0.0b4
  • zhubonan-patch-1

pending completion
6521

Pull #3090

travis-ci

web-flow
Update the export archive version to `v0.6`

The change in the export archive is necessary to take the changes into
account of two database migrations:

 * Moving of node attributes and extras to JSONB for the Django backend
 * Data migration of `state` attribute of legacy `JobCalculation` nodes

Due to the migration of node attributes and extras to JSONB, which does
not support datetime objects, in contrast with the old database schema,
means that the deserialization from the export JSON data is no longer
necessary. The only serialized types were datetime objects, but these
are now no longer supported anyway in the database, just like SqlAlchemy
already was. This allows us to remove the attribute and extra conversion
dictionaries in its entirety.

A second migration deals with the conversion of legacy job calculation
states, by inferring the `process_state`, `exit_status` and
`process_status` from it.

Co-authored-by: Giovanni Pizzi <giovanni.pizzi@epfl.ch>
Pull Request #3090: Migrating node attributes and extras to JSONB for the Django backend

908 of 908 new or added lines in 36 files covered. (100.0%)

23942 of 32376 relevant lines covered (73.95%)

2.74 hits per line

Relevant lines Covered
Build:
Build:
32376 RELEVANT LINES 23942 COVERED LINES
2.74 HITS PER LINE
Source Files on django_jsonb
  • List 0
  • Changed 51
  • Source Changed 35
  • Coverage Changed 50
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
6521 django_jsonb Update the export archive version to `v0.6` The change in the export archive is necessary to take the changes into account of two database migrations: * Moving of node attributes and extras to JSONB for the Django backend * Data migration of `... Pull #3090 26 Jun 2019 06:28PM UTC web-flow travis-ci pending completion  
6503 django_jsonb Update the export archive version to `v0.6` The change in the export archive is necessary to take the changes into account of two database migrations: * Moving of node attributes and extras to JSONB for the Django backend * Data migration of `... push 26 Jun 2019 10:34AM UTC sphuber travis-ci pending completion  
6477 django_jsonb Add data migration for legacy `JobCalcState` attributes The old `JobCalculation` maintained its state in the `DbCalcState` table whose value was also stored as an attribute with the key `state` as a proxy. With the change to processes, all `JobCa... push 23 Jun 2019 11:23AM UTC sphuber travis-ci pending completion  
6476 django_jsonb Add data migration for legacy `JobCalcState` attributes The old `JobCalculation` maintained its state in the `DbCalcState` table whose value was also stored as an attribute with the key `state` as a proxy. With the change to processes, all `JobCa... push 23 Jun 2019 10:59AM UTC sphuber travis-ci pending completion  
6475 django_jsonb Add data migration for legacy `JobCalcState` attributes The old `JobCalculation` maintained its state in the `DbCalcState` table whose value was also stored as an attribute with the key `state` as a proxy. With the change to processes, all `JobCa... push 23 Jun 2019 10:33AM UTC sphuber travis-ci pending completion  
6464 django_jsonb Add data migration for legacy `JobCalcState` attributes The old `JobCalculation` maintained its state in the `DbCalcState` table whose value was also stored as an attribute with the key `state` as a proxy. With the change to processes, all `JobCa... push 22 Jun 2019 11:49AM UTC sphuber travis-ci pending completion  
6352 django_jsonb Fix bug in the Django attributes and extras to JSONB migration The migrations of the old attributes and extras from the EAV tables to a JSONB column on the node table, used a lazy fetch method to fetch nodes in batches. However, the consecutive f... push 17 Jun 2019 04:26PM UTC sphuber travis-ci pending completion  
6301 django_jsonb Fix bug in the Django attributes and extras to JSONB migration The migrations of the old attributes and extras from the EAV tables to a JSONB column on the node table, used a lazy fetch method to fetch nodes in batches. However, the consecutive f... push 13 Jun 2019 07:47AM UTC sphuber travis-ci pending completion  
6226 django_jsonb Move datetime isoformat serializers to `aiida.common.timezone` push 30 May 2019 04:57PM UTC sphuber travis-ci pending completion  
6225 django_jsonb Move datetime isoformat serializers to `aiida.common.timezone` push 30 May 2019 04:31PM UTC sphuber travis-ci pending completion  
See All Builds (2232)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc