lp:~jaypipes/glance/api-image-format
Created by
Jay Pipes
and last modified
- Get this branch:
- bzr branch lp:~jaypipes/glance/api-image-format
Branch merges
Propose for merging
No branches
dependent on this one.
- Rick Harris (community): Approve
- Christopher MacGown (community): Approve
- Armando Migliaccio: Pending requested
-
Diff: 1428 lines (+510/-216)18 files modifiedbin/glance-upload (+25/-2)
doc/source/formats.rst (+99/-0)
doc/source/gettingstarted.rst (+3/-1)
doc/source/glanceapi.rst (+27/-14)
doc/source/index.rst (+1/-0)
doc/source/registries.rst (+35/-38)
glance/client.py (+3/-1)
glance/registry/db/api.py (+48/-18)
glance/registry/db/migrate_repo/versions/001_add_images_table.py (+2/-1)
glance/registry/db/migrate_repo/versions/002_add_image_properties_table.py (+2/-1)
glance/registry/db/models.py (+5/-1)
glance/registry/server.py (+5/-1)
glance/server.py (+3/-4)
tests/stubs.py (+16/-17)
tests/unit/test_api.py (+152/-11)
tests/unit/test_clients.py (+74/-91)
tests/unit/test_migrations.py (+2/-0)
tests/unit/test_misc.py (+8/-15)
Related bugs
Related blueprints
Recent revisions
- 61. By Jay Pipes
-
Final review fixes. Makes disk_format and container_format optional. Makes glance-upload --type put the type in properties
- 59. By Jay Pipes
-
Adds lots of unit tests for verifying exceptions are raised
properly with invalid or mismatched disk and container formats.Adds documentation on disk and container formats. Updates
existing documentation to remove references to the now-gone
type column and replaces these references with disk_format
and container_format.Reworked the validates_image() method in the registry.db.api
to be like what Rick was describing in reviews. - 55. By Jay Pipes
-
Make sure validate_image() doesn't throw exception on missing status when updating image.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~glance-coresec/glance/cactus-trunk