[Patchew-devel] [PATCH 0/9] allow a series to obsolete any other

Paolo Bonzini posted 9 patches 25 weeks ago
Failed in applying to current master (apply log)
api/admin.py                                  |   1 -
api/migrations/0053_auto_20200116_0955.py     |  27 +++++
api/migrations/0054_populate_topic.py         |  29 +++++
api/migrations/0055_auto_20200116_1034.py     |  24 ++++
api/migrations/0056_repopulate_series_head.py |  16 +++
.../0057_remove_message_is_series_head.py     |  19 ++++
api/migrations/0059_populate_topic_latest.py  |  32 ++++++
api/models.py                                 | 103 +++++++++++++----
api/rest.py                                   |   2 +-
mods/git.py                                   |   9 +-
mods/tags.py                                  | 105 +++++++++++-------
tests/data/0030-obsolete-by-v3.mbox.gz        | Bin 0 -> 2302 bytes
tests/data/0031-supersedes-embedded.mbox.gz   | Bin 0 -> 5342 bytes
tests/data/0032-supersedes-separate.mbox.gz   | Bin 0 -> 6268 bytes
tests/test_message.py                         |  43 +++++--
tests/test_tags.py                            |  58 ++++++++--
16 files changed, 379 insertions(+), 89 deletions(-)
create mode 100644 api/migrations/0053_auto_20200116_0955.py
create mode 100644 api/migrations/0054_populate_topic.py
create mode 100644 api/migrations/0055_auto_20200116_1034.py
create mode 100644 api/migrations/0056_repopulate_series_head.py
create mode 100644 api/migrations/0057_remove_message_is_series_head.py
create mode 100644 api/migrations/0059_populate_topic_latest.py
create mode 100644 tests/data/0030-obsolete-by-v3.mbox.gz
create mode 100644 tests/data/0031-supersedes-embedded.mbox.gz
create mode 100644 tests/data/0032-supersedes-separate.mbox.gz

[Patchew-devel] [PATCH 0/9] allow a series to obsolete any other

Posted by Paolo Bonzini 25 weeks ago
This series introduces support for a Supersedes tag, that allows
a series to obsolete any other independent of their subject.

Most of the series is preparation to introduce a new table, grouping
together all series that have been obsoleted by a new one.  This also
allows normalization of the obsoleted-by field, which is moved from
the properties to the new table.  The new field is only set on series
heads, so it replaces the is_series_head field as well; this requires
a bit of a dance with migrations, so it is spread between patches 3 to 6.

Paolo Bonzini (9):
  apply black to mods/tags.py
  test_message: just use a single from
  add topic model
  modify database in preparation for removing is_series_head
  remove is_series_head field
  remove obsoleted-by property
  omit Based-on from downloaded mbox
  extract find_series_from_tag
  process Supersedes tags

 api/admin.py                                  |   1 -
 api/migrations/0053_auto_20200116_0955.py     |  27 +++++
 api/migrations/0054_populate_topic.py         |  29 +++++
 api/migrations/0055_auto_20200116_1034.py     |  24 ++++
 api/migrations/0056_repopulate_series_head.py |  16 +++
 .../0057_remove_message_is_series_head.py     |  19 ++++
 api/migrations/0059_populate_topic_latest.py  |  32 ++++++
 api/models.py                                 | 103 +++++++++++++----
 api/rest.py                                   |   2 +-
 mods/git.py                                   |   9 +-
 mods/tags.py                                  | 105 +++++++++++-------
 tests/data/0030-obsolete-by-v3.mbox.gz        | Bin 0 -> 2302 bytes
 tests/data/0031-supersedes-embedded.mbox.gz   | Bin 0 -> 5342 bytes
 tests/data/0032-supersedes-separate.mbox.gz   | Bin 0 -> 6268 bytes
 tests/test_message.py                         |  43 +++++--
 tests/test_tags.py                            |  58 ++++++++--
 16 files changed, 379 insertions(+), 89 deletions(-)
 create mode 100644 api/migrations/0053_auto_20200116_0955.py
 create mode 100644 api/migrations/0054_populate_topic.py
 create mode 100644 api/migrations/0055_auto_20200116_1034.py
 create mode 100644 api/migrations/0056_repopulate_series_head.py
 create mode 100644 api/migrations/0057_remove_message_is_series_head.py
 create mode 100644 api/migrations/0059_populate_topic_latest.py
 create mode 100644 tests/data/0030-obsolete-by-v3.mbox.gz
 create mode 100644 tests/data/0031-supersedes-embedded.mbox.gz
 create mode 100644 tests/data/0032-supersedes-separate.mbox.gz

-- 
2.21.0

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