tkopecek / koji

Forked from koji 7 years ago
Clone

b536e54 PR#3474: Move database classes and functions from kojihub.py to koji/db.py

Merged and Committed by tkopecek 2 years ago
30 files changed. 1190 lines added. 1189 lines removed.
hub/kojihub.py
file modified
+16 -669
hub/kojixmlrpc.py
file modified
+1 -1
koji/Makefile
file modified
+8 -1
koji/db.py
file modified
+679 -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
+3 -2
tests/test_hub/test_import_image_internal.py
file modified
+27 -33
tests/test_hub/test_import_rpm.py
file modified
+32 -45
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
+8 -10
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
+58 -43
    PR#3474: Move database classes and functions from kojihub.py to koji/db.py
    
    Merges #3474
    https://pagure.io/koji/pull-request/3474
    
    Fixes: #3466
    https://pagure.io/koji/issue/3466
    Move Query/Update/Insert/..../Processors from kojihub.py to koji/db.py
    
        
file modified
+16 -669
file modified
+1 -1
file modified
+8 -1
file modified
+679 -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
+8 -10
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
+58 -43