glance/doc/source
Hemanth Makkapati 21d431013f Port Glance Migrations to Alembic
This change proposes the use of Alembic to manage Glance migrations.
* Introduce new directory ``alembic_migrations`` under
  ``glance/db/sqlalchemy``. This directory is the home for all glance
  migrations henceforth. All the migration scripts reside under
  ``versions`` directory.
* All the migrations up to Liberty are consolidated into one migration
  called ``liberty_initial`` as those migrations are not supported
  any more. Mitaka migrations are retained but under a different naming
  convention.
* All the glance manage db commands are changed appropriately. They now
  use alembic to perform operations such as ``version``, ``upgrade``,
  ``sync`` and ``version_control``.
* The database versions are not numerical any more. They are the revision
  ID of the last migration applied on the database. Since we don't
  support migrations before Mitaka, the Liberty version ``42`` will now
  appear as ``liberty``. Migration ``43`` and ``44`` in Mitaka appear as
  ``mitaka01`` and ``mitaka02`` respectively.
* When one performs a ``sync`` or ``upgrade`` command, the database is
  first stamped with an equivalent alembic version before upgrading.
* The older migration scripts are retained so that users can correlate
  with the new migrations. Also, it is probably safe to retain them until
  the alembic migrations become stable. Similarly, the ``migrate_version``
  table is not removed yet.

Partially-Implements: blueprint alembic-migrations

Change-Id: Ie8594ff339a13bf190aefa308f54e97ee20ecfa2
Co-Authored-By: Alexander Bashmakov <alexander.bashmakov@intel.com>
Depends-On: I1596499529af249bc48dfe859bbd31e90c48a5e0
2017-01-31 22:42:43 -06:00
..
_static add placeholder to ensure _static directory exists 2015-10-01 15:46:19 +00:00
contributing Update to "disallowed minor code changes" 2017-01-17 14:13:11 +00:00
images Remove references of s3 store driver 2016-08-11 12:32:48 -04:00
images_src Remove references of s3 store driver 2016-08-11 12:32:48 -04:00
man Port Glance Migrations to Alembic 2017-01-31 22:42:43 -06:00
opts Corrected section underline 2016-04-15 11:40:59 +05:30
architecture.rst Correct url in doc source 2016-10-27 17:03:38 +08:00
artifact-types.rst Use stevedore directive to document plugins. 2015-08-27 13:48:32 +01:00
authentication.rst fix docstring warnings and errors 2016-03-14 18:40:15 +00:00
cache.rst Fix five typos on doc 2016-08-22 10:13:09 +09:00
common-image-properties.rst Correct link to image properties 2016-08-22 14:42:01 +00:00
conf.py Merge "Generate and include sample config as part of docs" 2016-08-02 17:42:54 +00:00
configuring.rst Update dev docs to include 'vhdx' disk format 2017-01-10 07:42:12 -05:00
controllingservers.rst Remove verbose option from glance tests 2016-05-26 15:00:11 +00:00
database_architecture.rst Merge "Correct url in doc source" 2016-12-27 09:44:11 +00:00
db.rst Port Glance Migrations to Alembic 2017-01-31 22:42:43 -06:00
deprecation-note.inc dev-docs: mark v1 as deprecated 2016-09-30 07:21:40 -04:00
domain_implementation.rst Correct url in doc source 2016-10-27 17:03:38 +08:00
domain_model.rst Fix Domain Model code example. 2016-10-07 11:17:40 -07:00
flows.rst Use stevedore directive to document plugins. 2015-08-27 13:48:32 +01:00
formats.rst Add ploop to supported disk_formats 2016-12-22 21:14:14 +03:00
glanceapi.rst Add ploop to supported disk_formats 2016-12-22 21:14:14 +03:00
glanceclient.rst Updates OpenStack LLC with OpenStack Foundation 2013-02-17 19:19:43 -08:00
glancemetadefcatalogapi.rst change the example URLs in dev-docs for Glance 2016-08-10 16:33:22 +00:00
identifiers.rst Updates OpenStack LLC with OpenStack Foundation 2013-02-17 19:19:43 -08:00
image-location-strategy-modules.rst Use stevedore directive to document plugins. 2015-08-27 13:48:32 +01:00
index.rst dev-docs: mark v1 as deprecated 2016-09-30 07:21:40 -04:00
installing.rst Fix grammar in installation documentation 2015-06-17 12:05:05 +00:00
metadefs-concepts.rst Fix use of etc. in metadefs docs. 2016-08-05 16:42:20 -06:00
notifications.rst Fix five typos on doc 2016-08-22 10:13:09 +09:00
policies.rst Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
property-protections.rst Consider @,! in properties protection rule as a configuration error 2014-01-07 14:06:24 +00:00
requirements.rst Add a requirements guidelines to docs 2016-08-04 16:22:13 +00:00
sample-configuration.rst Generate and include sample config as part of docs 2016-08-02 11:16:17 -05:00
signature.rst Image signature documentation modify barbican auth_endpoint 2016-10-14 12:31:06 +00:00
statuses.rst Merge "Correct url in doc source" 2016-12-27 09:44:11 +00:00
tasks.rst Correctly point to Task Statuses from Tasks doc. 2016-09-12 16:40:34 -07:00