odubaj / taskotron / resultsdb

Forked from taskotron/resultsdb 4 years ago
Clone

5522882 ship Alembic migration scripts as package data

17 files Authored by Dan Callaghan 6 years ago, Committed by jskladan 6 years ago,
17 files changed. 5 lines added. 18 lines removed.
MANIFEST.in
file modified
+1 -0
alembic.ini
file modified
+1 -7
resultsdb.spec
file modified
+0 -5
resultsdb/alembic/env.pyalembic/env.py
file renamed
+1 -1
resultsdb/alembic/script.py.makoalembic/script.py.mako
file renamed
+0 -0
resultsdb/alembic/versions/153c416322c2_create_indexes_on_foreign_keys.pyalembic/versions/153c416322c2_create_indexes_on_foreign_keys.py
file renamed
+0 -0
resultsdb/alembic/versions/15f5eeb9f635_initial_revision.pyalembic/versions/15f5eeb9f635_initial_revision.py
file renamed
+0 -0
resultsdb/alembic/versions/17ec41bd6e9a_added_uuid_column_to_the_job_table.pyalembic/versions/17ec41bd6e9a_added_uuid_column_to_the_job_table.py
file renamed
+0 -0
resultsdb/alembic/versions/34760e10040b_add_aborted_outcome.pyalembic/versions/34760e10040b_add_aborted_outcome.py
file renamed
+0 -0
resultsdb/alembic/versions/433d0b5b3b96_added_index_on_the_keyval_store.pyalembic/versions/433d0b5b3b96_added_index_on_the_keyval_store.py
file renamed
+0 -0
resultsdb/alembic/versions/4ace44a44bf_change_index_on_result_data_so_like_can_.pyalembic/versions/4ace44a44bf_change_index_on_result_data_so_like_can_.py
file renamed
+0 -0
resultsdb/alembic/versions/4bf1390f06d1_added_index_on_submit_time.pyalembic/versions/4bf1390f06d1_added_index_on_submit_time.py
file renamed
+0 -0
resultsdb/alembic/versions/4dbe714897fe_remove_the_user_model.pyalembic/versions/4dbe714897fe_remove_the_user_model.py
file renamed
+0 -0
resultsdb/alembic/versions/540dbe71fa91_change_schema_to_v2_0_step_1.pyalembic/versions/540dbe71fa91_change_schema_to_v2_0_step_1.py
file renamed
+0 -0
resultsdb/alembic/versions/978007ecd2b_changed_testcase_name_to_text.pyalembic/versions/978007ecd2b_changed_testcase_name_to_text.py
file renamed
+0 -0
resultsdb/alembic/versions/dbfab576c81_change_schema_to_v2_0_step_2.pyalembic/versions/dbfab576c81_change_schema_to_v2_0_step_2.py
file renamed
+0 -0
resultsdb/cli.py
file modified
+2 -5
    ship Alembic migration scripts as package data
    
    can always find its Alembic migrations regardless whether it was
    imported from an installed RPM package, or a random git checkout
    anywhere on the filesystem.
    
    Specifically, for Greenwave I would like to import the ResultsDB
    application and run it as a fixture in the Greenwave tests.
    Right now, that doesn't work because ResultsDB is expecting
    `alembic.ini` to be in the current working directory for a git
    checkout.
    This seemed like a nice solution to how it can find its Alembic
    migrations regardless of the cwd.
    
    Differential Revision: https://phab.qa.fedoraproject.org/D1209
    
        
file modified
+1 -0
file modified
+1 -7
file modified
+0 -5
resultsdb/alembic/env.py alembic/env.py
file renamed
+1 -1
resultsdb/alembic/script.py.mako alembic/script.py.mako
file renamed
file was renamed with no change to the file
resultsdb/alembic/versions/153c416322c2_create_indexes_on_foreign_keys.py alembic/versions/153c416322c2_create_indexes_on_foreign_keys.py
file renamed
file was renamed with no change to the file
resultsdb/alembic/versions/15f5eeb9f635_initial_revision.py alembic/versions/15f5eeb9f635_initial_revision.py
file renamed
file was renamed with no change to the file
resultsdb/alembic/versions/17ec41bd6e9a_added_uuid_column_to_the_job_table.py alembic/versions/17ec41bd6e9a_added_uuid_column_to_the_job_table.py
file renamed
file was renamed with no change to the file
resultsdb/alembic/versions/34760e10040b_add_aborted_outcome.py alembic/versions/34760e10040b_add_aborted_outcome.py
file renamed
file was renamed with no change to the file
resultsdb/alembic/versions/433d0b5b3b96_added_index_on_the_keyval_store.py alembic/versions/433d0b5b3b96_added_index_on_the_keyval_store.py
file renamed
file was renamed with no change to the file
resultsdb/alembic/versions/4ace44a44bf_change_index_on_result_data_so_like_can_.py alembic/versions/4ace44a44bf_change_index_on_result_data_so_like_can_.py
file renamed
file was renamed with no change to the file
resultsdb/alembic/versions/4bf1390f06d1_added_index_on_submit_time.py alembic/versions/4bf1390f06d1_added_index_on_submit_time.py
file renamed
file was renamed with no change to the file
resultsdb/alembic/versions/4dbe714897fe_remove_the_user_model.py alembic/versions/4dbe714897fe_remove_the_user_model.py
file renamed
file was renamed with no change to the file
resultsdb/alembic/versions/540dbe71fa91_change_schema_to_v2_0_step_1.py alembic/versions/540dbe71fa91_change_schema_to_v2_0_step_1.py
file renamed
file was renamed with no change to the file
resultsdb/alembic/versions/978007ecd2b_changed_testcase_name_to_text.py alembic/versions/978007ecd2b_changed_testcase_name_to_text.py
file renamed
file was renamed with no change to the file
resultsdb/alembic/versions/dbfab576c81_change_schema_to_v2_0_step_2.py alembic/versions/dbfab576c81_change_schema_to_v2_0_step_2.py
file renamed
file was renamed with no change to the file
file modified
+2 -5