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

aiidateam / aiida_core / 4928
70%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 18 Jan 2019 08:35AM UTC
Jobs 4
Files 397
Run time 11min
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

pending completion
4928

push

travis-ci

sphuber
Implement functionality to export and import `Log` entries. (#2393)

The native logging of python is extended with a `DbLogHandler` that
will, when it is configured for a specific AiiDA entity (a Node, Group
or any other database entity), store a copy of the record in the `DbLog`
table with a reference to the entity it belongs to. Since the entities
do not necessarily live in the same table, a foreign key could not be
used, so instead the primary key was stored as well. However, when
exporting and importing entities and their log messages, the entities
would get new primary keys, which would orphan the log messages. The
attribute that is persistent across exporting and importing is the UUID.
Therefore the reference attribute for log entries to their entities has
been changed from the `pk` to the `uuid`.

24054 of 34552 relevant lines covered (69.62%)

2.51 hits per line

Jobs
ID Job ID Ran Files Coverage
5 4928.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 18 Jan 2019 08:35AM UTC 0
63.35
Travis Job 4928.5
6 4928.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 18 Jan 2019 08:41AM UTC 0
63.28
Travis Job 4928.6
7 4928.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 18 Jan 2019 08:41AM UTC 0
62.08
Travis Job 4928.7
8 4928.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 18 Jan 2019 08:46AM UTC 0
62.03
Travis Job 4928.8
Source Files on build 4928
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4928
  • c0fba2e3 on github
  • Prev Build on provenance_redesign (#4926)
  • Next Build on provenance_redesign (#4940)
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