layerindex-web/layerindex/migrations
Paul Eggleton 975d2927d1 Record patch application order and use as default sorting
Patches often need to be applied in a specific order. For OE recipes we
were always storing the Patch objects correct order as they are
refreshed every time the recipe itself is refreshed, however for other
distro comparisons, import_otherdistro.py attempts to preserve existing
records, adds new ones and then deletes whatever is left over, which may
result in the order getting messed up over time. To avoid this issue,
record the order next to the patch and set the model meta-info to use
this to sort Patch queries by default.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2019-02-14 10:17:21 +13:00
..
__init__.py layerindex/migrations: Add initial migration 2016-10-18 16:41:24 +13:00
0001_initial.py layerindex/migrations: Add initial migration 2016-10-18 16:41:24 +13:00
0002_distro.py layerindex: Add distro to web interface and model 2016-10-18 16:42:15 +13:00
0003_auto_20161011_0304.py layerindex: Add collection and version to layerbranch 2016-10-18 16:42:16 +13:00
0004_layerdependency_required.py layerindexer: Add layer recommends support 2016-10-18 16:42:16 +13:00
0005_layerupdate.py Record and display update logs 2016-11-16 15:31:46 +13:00
0006_change_branch_meta.py migrations: add missing migration for branch meta change 2017-03-14 15:14:09 +13:00
0007_layeritem_status_noupdate.py layerindex: add "No update" status to LayerItem 2017-03-14 15:19:53 +13:00
0008_yp_compatible.py Indicate if layer has YP Compatible certification 2017-09-27 15:26:24 +13:00
0009_layerbranch_collection.py models: allow LayerBranch.collection to be blank 2017-10-04 13:28:24 +13:00
0010_add_dependencies.py update_layer.py: Save and show recipe dependencies 2017-12-18 09:01:29 +13:00
0011_source.py Save recipe source URLs 2018-05-04 23:57:53 +12:00
0012_layeritem_vcs_commit_url.py Implement layer web repo commit URL 2018-05-04 23:57:53 +12:00
0013_patch.py Implement patch tracking 2018-05-04 23:57:53 +12:00
0014_sitenotice.py Add site-wide notice support 2018-07-09 13:50:15 +02:00
0015_comparison.py Add support for other distro comparisons 2018-08-07 14:44:27 +02:00
0016_classicrecipe_delete.py Add script to import from other distros 2018-08-13 16:02:53 +02:00
0017_classicrecipe_needs_attention.py Add "needs attention" flag for comparison recipes 2018-08-13 16:02:59 +02:00
0018_layerrecipeextraurl.py Add ability to store extra URLs to be displayed for comparison recipes 2018-08-13 16:02:59 +02:00
0019_layeritem_classic_comparison.py Rename LayerItem classic field to comparison 2018-08-13 16:02:59 +02:00
0020_update_manual.py Add ability to trigger comparison updates manually from UI 2018-08-13 16:04:14 +02:00
0021_layerupdate_add_layer_branch.py Improve collection/display of LayerUpdate records 2018-08-14 15:07:34 +02:00
0022_layerupdate_set_layer_branch.py Improve collection/display of LayerUpdate records 2018-08-14 15:07:34 +02:00
0023_layerupdate_layer_branch_finalise.py Improve collection/display of LayerUpdate records 2018-08-14 15:07:34 +02:00
0024_layerupdate_vcs_revs.py Improve collection/display of LayerUpdate records 2018-08-14 15:07:34 +02:00
0025_update_retcode.py Properly show update task success/failure 2018-09-20 16:04:49 +12:00
0026_incfile.py Track and enable reporting on duplicate inc files 2018-11-06 10:33:39 +13:00
0027_patch_apply_order.py Record patch application order and use as default sorting 2019-02-14 10:17:21 +13:00