[Patchew-devel] [PATCH v3 00/10] Store results in database

Paolo Bonzini pbonzini at redhat.com
Wed Jun 13 10:37:34 UTC 2018


The changes compared to v2 are very small, just small bugfixes found
when testing on the next.patchew.org database.

Paolo

Paolo Bonzini (10):
  models: move Result log_url from constructor to renderer
  models: extract blobs functions to a separate file
  update jsonfield to 3.0.x
  models: create Result model
  git: switch to Result model
  testing: track changes to the set of tests
  testing: switch to Result model
  complete switch to database-based Results
  models: convert MessageProperty and ProjectProperty to JSONField
  logviewer: let subclasses return a Result

 api/blobs.py                                  |  38 +++
 api/migrations/0027_auto_20180521_0152.py     |  61 +++++
 api/migrations/0028_populate_git_results.py   | 104 +++++++++
 .../0029_populate_testing_results.py          | 220 ++++++++++++++++++
 api/migrations/0030_deblob_properties.py      |  34 +++
 api/migrations/0031_auto_20180520_1654.py     |  34 +++
 api/migrations/__init__.py                    |  50 ++++
 api/models.py                                 | 219 ++++++++++-------
 api/rest.py                                   |  65 ++----
 mods/git.py                                   | 137 +++++------
 mods/testing.py                               | 215 ++++++++---------
 patchew/logviewer.py                          |  14 +-
 requirements.txt                              |   2 +-
 tests/test_git.py                             |  34 +--
 tests/test_testing.py                         |  53 +++--
 www/views.py                                  |  15 +-
 16 files changed, 913 insertions(+), 382 deletions(-)
 create mode 100644 api/blobs.py
 create mode 100644 api/migrations/0027_auto_20180521_0152.py
 create mode 100644 api/migrations/0028_populate_git_results.py
 create mode 100644 api/migrations/0029_populate_testing_results.py
 create mode 100644 api/migrations/0030_deblob_properties.py
 create mode 100644 api/migrations/0031_auto_20180520_1654.py

-- 
2.17.0




More information about the Patchew-devel mailing list