layerindex-web/layerindex/migrations
Paul Eggleton 87e27a26d5 Add script to import from other distros
Add a script to import "recipe" information from other distro metadata,
based on the import_classic.py script. At the moment, this assumes a
directory where each subdirectory is a package directory containing a
spec file; this would be suitable for distributions such as Fedora
assuming you have all of the package repos checked out locally. Since
you can add additional information to these records (the cover fields
pointing to matching recipes), existing records are updated rather than
deleting everything and re-importing, and we only mark records as
deleted rather than actually deleting them (in case you accidentally
point the script at an empty directory or similar).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-08-13 16:02:53 +02: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