tkopecek / koji

Forked from koji 7 years ago
Clone

1cfe653 Move database classes and functions from kojihub.py to koji/db.py

30 files Authored by Jana Cupova 2 years ago, Committed by tkopecek 2 years ago,
30 files changed. 1170 lines added. 1141 lines removed.
hub/kojihub.py
file modified
+16 -669
hub/kojixmlrpc.py
file modified
+1 -1
koji/Makefile
file modified
+7 -0
koji/db.py
file modified
+682 -2
plugins/hub/protonmsg.py
file modified
+2 -1
plugins/hub/sidetag_hub.py
file modified
+3 -3
tests/test_hub/test_add_host.py
file modified
+2 -1
tests/test_hub/test_add_host_to_channel.py
file modified
+4 -3
tests/test_hub/test_cg_importer.py
file modified
+89 -99
tests/test_hub/test_complete_image_build.py
file modified
+31 -31
tests/test_hub/test_complete_maven_build.py
file modified
+18 -11
tests/test_hub/test_create_maven_build.py
file modified
+1 -0
tests/test_hub/test_create_tag.py
file modified
+6 -5
tests/test_hub/test_delete_tag.py
file modified
+4 -3
tests/test_hub/test_edit_host.py
file modified
+6 -5
tests/test_hub/test_edit_tag.py
file modified
+4 -3
tests/test_hub/test_group_operations.py
file modified
+55 -59
tests/test_hub/test_import_build.py
file modified
+2 -1
tests/test_hub/test_import_image_internal.py
file modified
+27 -33
tests/test_hub/test_import_rpm.py
file modified
+3 -2
tests/test_hub/test_multicall.py
file modified
+1 -0
tests/test_hub/test_remove_host_from_channel.py
file modified
+41 -44
tests/test_hub/test_set_host_enabled.py
file modified
+6 -5
tests/test_hub/test_tag_operations.py
file modified
+44 -75
tests/test_hub/test_user_groups.py
file modified
+2 -1
tests/test_lib/test_insert_processor.pytests/test_hub/test_insert_processor.py
file renamed
+34 -30
tests/test_lib/test_query_processor.pytests/test_hub/test_query_processor.py
file renamed
+7 -9
tests/test_lib/test_savepoint.pytests/test_hub/test_savepoint.py
file renamed
+2 -1
tests/test_lib/test_update_processor.pytests/test_hub/test_update_processor.py
file renamed
+3 -3
util/koji-sweep-db
file modified
+67 -41
    Move database classes and functions from kojihub.py to koji/db.py
    
    Move QueryProcessor, InsertProcessor, UpdateProcessor,
    BulkInsertProcessor, _applyQueryOpts, get_event, _dml,
    _fetchMulti, _fetchSingle, _singleValue, _multiRow, _singleRow
    
    Update koji-sweep-db script to DB Processors
    
    Fixes: https://pagure.io/koji/issue/3466
    
        
file modified
+16 -669
file modified
+1 -1
file modified
+7 -0
file modified
+682 -2
file modified
+2 -1
file modified
+3 -3
tests/test_lib/test_insert_processor.py tests/test_hub/test_insert_processor.py
file renamed
+34 -30
tests/test_lib/test_query_processor.py tests/test_hub/test_query_processor.py
file renamed
+7 -9
tests/test_lib/test_savepoint.py tests/test_hub/test_savepoint.py
file renamed
+2 -1
tests/test_lib/test_update_processor.py tests/test_hub/test_update_processor.py
file renamed
+3 -3
file modified
+67 -41