[Patchew-devel] [PATCH 0/3] change "maintainer" from property to many-to-many relation

Paolo Bonzini posted 3 patches 5 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/patchew-ci tags/patchew/20180308093906.28593-1-pbonzini@redhat.com
api/admin.py                                       |  1 +
api/migrations/0023_auto_20180308_0810.py          | 21 +++++++++
api/migrations/0024_project_maintainers.py         | 22 +++++++++
.../0025_populate_project_maintainers.py           | 52 ++++++++++++++++++++++
api/models.py                                      |  3 +-
tests/patchewtest.py                               |  2 +
tests/test_project.py                              | 20 ++++++++-
7 files changed, 119 insertions(+), 2 deletions(-)
create mode 100644 api/migrations/0023_auto_20180308_0810.py
create mode 100644 api/migrations/0024_project_maintainers.py
create mode 100644 api/migrations/0025_populate_project_maintainers.py
[Patchew-devel] [PATCH 0/3] change "maintainer" from property to many-to-many relation
Posted by Paolo Bonzini 5 years, 11 months ago
This is the only property that is used by the Patchew core rather than
the plugins.  Having it as a relation makes it a bit easier to associates
users with projects in the admin.

Patch 1 adds a migration that was forgotten when adding the parent projects.

Paolo

Paolo Bonzini (3):
  add forgotten migration
  change "maintainer" from property to many-to-many relation
  drop maintainers property

 api/admin.py                                       |  1 +
 api/migrations/0023_auto_20180308_0810.py          | 21 +++++++++
 api/migrations/0024_project_maintainers.py         | 22 +++++++++
 .../0025_populate_project_maintainers.py           | 52 ++++++++++++++++++++++
 api/models.py                                      |  3 +-
 tests/patchewtest.py                               |  2 +
 tests/test_project.py                              | 20 ++++++++-
 7 files changed, 119 insertions(+), 2 deletions(-)
 create mode 100644 api/migrations/0023_auto_20180308_0810.py
 create mode 100644 api/migrations/0024_project_maintainers.py
 create mode 100644 api/migrations/0025_populate_project_maintainers.py

-- 
2.14.3

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel