From de676f836c165e390b7e4b9a634344d6bfe2def8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Sat, 15 Jan 2022 17:38:34 +0100 Subject: [PATCH] Move bodhi-server in its own directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- .gitignore | 2 +- bodhi-server/COPYING | 344 ++++++++++++++++++ .../MANIFEST.in | 6 +- bodhi-server/README.rst | 51 +++ alembic.ini => bodhi-server/alembic.ini | 2 +- {apache => bodhi-server/apache}/bodhi.conf | 0 {apache => bodhi-server/apache}/bodhi.wsgi | 0 .../bodhi}/server/__init__.py | 11 +- {bodhi => bodhi-server/bodhi}/server/bugs.py | 0 .../bodhi}/server/buildsys.py | 0 .../bodhi}/server/config.py | 4 +- .../bodhi}/server/consumers/__init__.py | 0 .../server/consumers/automatic_updates.py | 0 .../bodhi}/server/consumers/ci.py | 0 .../bodhi}/server/consumers/resultsdb.py | 0 .../bodhi}/server/consumers/signed.py | 0 .../bodhi}/server/consumers/util.py | 0 .../bodhi}/server/consumers/waiverdb.py | 0 .../templates/fedora_epel_errata_template.tpl | 0 .../fedora_epel_legacy_errata_template.tpl | 0 .../templates/fedora_errata_template.tpl | 0 .../fedora_modular_errata_template.tpl | 0 .../email/templates/maillist_template.tpl | 0 .../bodhi}/server/exceptions.py | 0 .../bodhi}/server/ffmarkdown.py | 2 +- .../bodhi}/server/locale/.placeholder | 0 .../bodhi}/server/logging.py | 0 {bodhi => bodhi-server/bodhi}/server/mail.py | 0 .../bodhi}/server/metadata.py | 0 .../bodhi}/server/migrations/README.rst | 0 .../bodhi}/server/migrations/__init__.py | 0 .../bodhi}/server/migrations/env.py | 0 .../bodhi}/server/migrations/script.py.mako | 0 ...1c7d2_remove_the_batching_request_state.py | 0 .../19e28e9851a2_index_comment_update_id.py | 0 ...onvert_br_override_notes_to_unicodetext.py | 0 ...aa44a74_drop_the_user_show_popup_column.py | 0 .../325954bac9f7_link_testcases_to_builds.py | 0 ..._add_the_unspecified_enum_to_updatetype.py | 0 ...e2c16_make_comments_update_not_nullable.py | 0 ...fe855d_add_package_manager_and_testing_.py | 0 ...19b942c_remove_the_updates_title_column.py | 0 ...6a3f9dc03_drop_support_for_cve_tracking.py | 0 ...7_remove_unused_updatestatus_processing.py | 0 ...drop_the_relationship_between_packages_.py | 0 ...d9b78_add_the_greenwave_failed_enum_to_.py | 0 ...d_obsolete_updates_for_archived_release.py | 0 ...mark_the_bugs_private_field_as_nullable.py | 0 ...61768_remove_the_greenwave_unsatisfied_.py | 0 .../server/migrations/versions/__init__.py | 0 ...129_remove_the_ci_url_field_from_builds.py | 0 .../a418acf470f8_drop_the_stacks_table.py | 0 ...b7_remove_the_private_field_on_the_bug_.py | 0 ...opush_boolean_and_stable_days_to_update.py | 0 ...3_disallow_null_values_in_stable_karma_.py | 0 .../c60d95eef4f1_add_frozen_release_state.py | 0 ...b5_remove_the_comments_anonymous_column.py | 0 .../d399493275b6_add_the_eol_column.py | 0 ...bd499ecd_add_from_tag_column_to_updates.py | 0 ...add_composed_by_bodhi_flag_to_releases_.py | 0 ...f3_remove_the_greenwave_summary_string_.py | 0 ..._add_the_create_automatic_updates_bool_.py | 0 ...7ab3a_index_the_builds_update_id_column.py | 0 ...039c_make_comments_user_id_not_nullable.py | 0 ...f8a44498c806_remove_legacy_old_updateid.py | 0 ...4fa4f23e_increase_the_update_alias_size.py | 0 .../bodhi}/server/models.py | 0 .../bodhi}/server/notifications.py | 0 {bodhi => bodhi-server/bodhi}/server/push.py | 0 .../bodhi}/server/renderers.py | 0 .../bodhi}/server/schemas.py | 0 .../bodhi}/server/scripts/__init__.py | 0 .../bodhi}/server/scripts/bshell.py | 0 .../bodhi}/server/scripts/compat.py | 0 .../bodhi}/server/scripts/initializedb.py | 0 .../bodhi}/server/scripts/sar.py | 0 .../bodhi}/server/scripts/skopeo_lite.py | 0 .../bodhi}/server/scripts/untag_branched.py | 0 .../bodhi}/server/security.py | 0 .../bodhi}/server/services/__init__.py | 0 .../bodhi}/server/services/builds.py | 0 .../bodhi}/server/services/comments.py | 0 .../bodhi}/server/services/composes.py | 0 .../bodhi}/server/services/csrf.py | 0 .../bodhi}/server/services/errors.py | 0 .../bodhi}/server/services/markdown.py | 0 .../bodhi}/server/services/metrics_tween.py | 0 .../bodhi}/server/services/overrides.py | 0 .../bodhi}/server/services/packages.py | 0 .../bodhi}/server/services/releases.py | 0 .../bodhi}/server/services/schemas.py | 0 .../bodhi}/server/services/updates.py | 0 .../bodhi}/server/services/user.py | 0 .../bodhi}/server/static/__init__.py | 0 .../bodhi}/server/static/bodhi-logo.svg | 0 .../bodhi}/server/static/css/site.css | 0 .../server/static/fonts/font-awesome.css | 0 .../static/fonts/font-awesome/FontAwesome.otf | Bin .../font-awesome/fontawesome-webfont.eot | Bin .../font-awesome/fontawesome-webfont.svg | 0 .../font-awesome/fontawesome-webfont.ttf | Bin .../font-awesome/fontawesome-webfont.woff | Bin .../font-awesome/fontawesome-webfont.woff2 | Bin .../bodhi}/server/static/fonts/hack.css | 0 .../fonts/hack/eot/hack-bold-webfont.eot | Bin .../hack/eot/hack-bolditalic-webfont.eot | Bin .../fonts/hack/eot/hack-italic-webfont.eot | Bin .../fonts/hack/eot/hack-regular-webfont.eot | Bin .../eot/latin/hack-bold-latin-webfont.eot | Bin .../latin/hack-bolditalic-latin-webfont.eot | Bin .../eot/latin/hack-italic-latin-webfont.eot | Bin .../eot/latin/hack-regular-latin-webfont.eot | Bin .../fonts/hack/web-ttf/hack-bold-webfont.ttf | Bin .../hack/web-ttf/hack-bolditalic-webfont.ttf | Bin .../hack/web-ttf/hack-italic-webfont.ttf | Bin .../hack/web-ttf/hack-regular-webfont.ttf | Bin .../web-ttf/latin/hack-bold-latin-webfont.ttf | Bin .../latin/hack-bolditalic-latin-webfont.ttf | Bin .../latin/hack-italic-latin-webfont.ttf | Bin .../latin/hack-regular-latin-webfont.ttf | Bin .../fonts/hack/woff/hack-bold-webfont.woff | Bin .../hack/woff/hack-bolditalic-webfont.woff | Bin .../fonts/hack/woff/hack-italic-webfont.woff | Bin .../fonts/hack/woff/hack-regular-webfont.woff | Bin .../woff/latin/hack-bold-latin-webfont.woff | Bin .../latin/hack-bolditalic-latin-webfont.woff | Bin .../woff/latin/hack-italic-latin-webfont.woff | Bin .../latin/hack-regular-latin-webfont.woff | Bin .../fonts/hack/woff2/hack-bold-webfont.woff2 | Bin .../hack/woff2/hack-bolditalic-webfont.woff2 | Bin .../hack/woff2/hack-italic-webfont.woff2 | Bin .../hack/woff2/hack-regular-webfont.woff2 | Bin .../woff2/latin/hack-bold-latin-webfont.woff2 | Bin .../latin/hack-bolditalic-latin-webfont.woff2 | Bin .../latin/hack-italic-latin-webfont.woff2 | Bin .../latin/hack-regular-latin-webfont.woff2 | Bin .../bodhi}/server/static/fonts/open-sans.css | 0 .../open-sans-v13-latin_latin-ext-300.eot | Bin .../open-sans-v13-latin_latin-ext-300.svg | 0 .../open-sans-v13-latin_latin-ext-300.ttf | Bin .../open-sans-v13-latin_latin-ext-300.woff | Bin .../open-sans-v13-latin_latin-ext-300.woff2 | Bin ...pen-sans-v13-latin_latin-ext-300italic.eot | Bin ...pen-sans-v13-latin_latin-ext-300italic.svg | 0 ...pen-sans-v13-latin_latin-ext-300italic.ttf | Bin ...en-sans-v13-latin_latin-ext-300italic.woff | Bin ...n-sans-v13-latin_latin-ext-300italic.woff2 | Bin .../open-sans-v13-latin_latin-ext-700.eot | Bin .../open-sans-v13-latin_latin-ext-700.svg | 0 .../open-sans-v13-latin_latin-ext-700.ttf | Bin .../open-sans-v13-latin_latin-ext-700.woff | Bin .../open-sans-v13-latin_latin-ext-700.woff2 | Bin ...pen-sans-v13-latin_latin-ext-700italic.eot | Bin ...pen-sans-v13-latin_latin-ext-700italic.svg | 0 ...pen-sans-v13-latin_latin-ext-700italic.ttf | Bin ...en-sans-v13-latin_latin-ext-700italic.woff | Bin ...n-sans-v13-latin_latin-ext-700italic.woff2 | Bin .../open-sans-v13-latin_latin-ext-italic.eot | Bin .../open-sans-v13-latin_latin-ext-italic.svg | 0 .../open-sans-v13-latin_latin-ext-italic.ttf | Bin .../open-sans-v13-latin_latin-ext-italic.woff | Bin ...open-sans-v13-latin_latin-ext-italic.woff2 | Bin .../open-sans-v13-latin_latin-ext-regular.eot | Bin .../open-sans-v13-latin_latin-ext-regular.svg | 0 .../open-sans-v13-latin_latin-ext-regular.ttf | Bin ...open-sans-v13-latin_latin-ext-regular.woff | Bin ...pen-sans-v13-latin_latin-ext-regular.woff2 | Bin .../bodhi}/server/static/ico/favicon.ico | Bin .../bodhi}/server/static/img/bodhi-logo.png | Bin .../bodhi}/server/static/img/bodhi-logo.svg | 0 .../bodhi}/server/static/img/logo-large.png | Bin .../bodhi}/server/static/img/logo.png | Bin .../bodhi}/server/static/js/comment_form.js | 0 .../bodhi}/server/static/js/forms.js | 0 .../bodhi}/server/static/js/override_form.js | 0 .../bodhi}/server/static/js/search.js | 0 .../bodhi}/server/static/js/site.js | 0 .../bodhi}/server/static/js/update_form.js | 0 .../static/vendor/chartjs/Chart.min.css | 0 .../server/static/vendor/chartjs/Chart.min.js | 0 .../static/vendor/fedora-bootstrap/README.rst | 0 .../fedora-bootstrap/fedora-bootstrap.css | 0 .../fedora-bootstrap/fedora-bootstrap.js | 0 .../fedora-bootstrap/fedora-bootstrap.min.css | 0 .../fedora-bootstrap/fedora-bootstrap.min.js | 0 .../jquery-typeahead/jquery.typeahead.min.css | 0 .../jquery-typeahead/jquery.typeahead.min.js | 0 .../static/vendor/jquery/jquery-1.10.2.min.js | 0 .../messenger/css/messenger-spinner.css | 0 .../messenger/css/messenger-theme-air.css | 0 .../messenger/css/messenger-theme-block.css | 0 .../messenger/css/messenger-theme-flat.css | 0 .../messenger/css/messenger-theme-future.css | 0 .../messenger/css/messenger-theme-ice.css | 0 .../static/vendor/messenger/css/messenger.css | 0 .../messenger/js/messenger-theme-flat.js | 0 .../messenger/js/messenger-theme-future.js | 0 .../static/vendor/messenger/js/messenger.js | 0 .../vendor/messenger/js/messenger.min.js | 0 .../server/static/vendor/moment/moment.min.js | 0 .../vendor/selectize/selectize-0.12.3.js | 0 .../vendor/selectize/selectize-0.12.3.min.js | 0 .../selectize/selectize.bootstrap3-0.12.3.css | 0 .../vendor/typeahead/typeahead.bundle.js | 0 .../bodhi}/server/tasks/__init__.py | 0 .../bodhi}/server/tasks/approve_testing.py | 0 .../bodhi}/server/tasks/check_policies.py | 0 .../server/tasks/check_signed_builds.py | 0 .../bodhi}/server/tasks/clean_old_composes.py | 0 .../bodhi}/server/tasks/composer.py | 0 .../bodhi}/server/tasks/expire_overrides.py | 0 .../bodhi}/server/tasks/fetch_test_cases.py | 0 .../tasks/handle_side_and_related_tags.py | 0 .../bodhi}/server/tasks/tag_update_builds.py | 0 .../bodhi}/server/tasks/work_on_bugs.py | 0 .../bodhi}/server/templates/comment.html | 0 .../bodhi}/server/templates/comments.html | 0 .../bodhi}/server/templates/compose.html | 0 .../bodhi}/server/templates/composes.html | 0 .../bodhi}/server/templates/errors.html | 0 .../bodhi}/server/templates/fragments.html | 0 .../bodhi}/server/templates/home.html | 0 .../bodhi}/server/templates/master.html | 26 +- .../bodhi}/server/templates/new_update.html | 16 +- .../bodhi}/server/templates/override.html | 12 +- .../bodhi}/server/templates/overrides.html | 4 +- .../bodhi}/server/templates/pager.html | 0 .../bodhi}/server/templates/release.html | 4 +- .../bodhi}/server/templates/releases.html | 0 .../bodhi}/server/templates/update.html | 14 +- .../bodhi}/server/templates/updates.html | 4 +- .../bodhi}/server/templates/user.html | 0 {bodhi => bodhi-server/bodhi}/server/util.py | 7 +- .../bodhi}/server/validators.py | 0 .../bodhi}/server/views/__init__.py | 0 .../bodhi}/server/views/generic.py | 0 .../bodhi}/server/webapp.py | 0 .../celeryconfig.py | 0 bodhi-server/production.ini | 4 +- bodhi-server/pyproject.toml | 3 + bodhi-server/setup.cfg | 104 ++++++ bodhi-server/setup.py | 5 + .../server => bodhi-server/tests}/__init__.py | 0 .../server => bodhi-server/tests}/base.py | 8 +- .../tests}/consumers/__init__.py | 0 .../pungi.basepath/pungi.module.conf | 0 .../consumers/pungi.basepath/pungi.rpm.conf | 0 .../pungi.basepath/variants.module.xml.j2 | 0 .../pungi.basepath/variants.rpm.xml.j2 | 0 .../consumers/test_automatic_updates.py | 2 +- .../tests}/consumers/test_ci.py | 2 +- .../tests}/consumers/test_consumers.py | 0 .../tests}/consumers/test_resultsdb.py | 2 +- .../tests}/consumers/test_signed.py | 2 +- .../tests}/consumers/test_waiverdb.py | 2 +- .../tests}/functional/__init__.py | 0 .../tests}/functional/test_packages.py | 2 +- .../tests}/functional/test_users.py | 2 +- .../tests}/scripts/__init__.py | 0 .../tests}/scripts/test_bshell.py | 0 .../tests}/scripts/test_compat.py | 2 +- .../tests}/scripts/test_initializedb.py | 0 .../tests}/scripts/test_sar.py | 2 +- .../tests}/scripts/test_skopeo_lite.py | 0 .../tests}/scripts/test_untag_branched.py | 2 +- .../tests}/services/__init__.py | 0 .../tests}/services/test_builds.py | 2 +- .../tests}/services/test_comments.py | 2 +- .../tests}/services/test_composes.py | 2 +- .../tests}/services/test_csrf.py | 2 +- .../tests}/services/test_errors.py | 2 +- .../tests}/services/test_overrides.py | 2 +- .../tests}/services/test_releases.py | 2 +- .../tests}/services/test_schemas.py | 2 +- .../tests}/services/test_updates.py | 4 +- .../tests}/tasks/__init__.py | 0 .../tests}/tasks/base.py | 2 +- .../tests}/tasks/test_approve_testing.py | 2 +- .../tests}/tasks/test_check_policies.py | 2 +- .../tests}/tasks/test_check_signed_builds.py | 2 +- .../tests}/tasks/test_clean_old_composes.py | 2 +- .../tests}/tasks/test_composer.py | 4 +- .../tests}/tasks/test_expire_overrides.py | 2 +- .../tests}/tasks/test_fetch_test_cases.py | 2 +- .../test_handle_side_and_related_tags.py | 2 +- .../tests}/tasks/test_tag_update_builds.py | 2 +- .../tests}/tasks/test_work_on_bugs.py | 2 +- .../tests}/test___init__.py | 2 +- .../tests}/test_alembic.py | 0 .../tests}/test_bugs.py | 0 .../tests}/test_buildsys.py | 0 .../tests}/test_config.py | 0 .../tests}/test_logging.py | 0 .../tests}/test_mail.py | 2 +- .../tests}/test_metadata.py | 2 +- .../tests}/test_models.py | 2 +- .../tests}/test_notifications.py | 2 +- .../tests}/test_push.py | 2 +- .../tests}/test_renderers.py | 0 .../tests}/test_schemas.py | 0 .../tests}/test_security.py | 2 +- .../tests}/test_util.py | 2 +- .../tests}/test_validators.py | 2 +- .../tests}/test_webapp.py | 0 bodhi-server/tests/utils.py | 6 + .../tests}/views/__init__.py | 0 .../tests}/views/test_generic.py | 2 +- bodhi/__init__.py | 23 -- bodhi/tests/__init__.py | 42 --- requirements.txt | 31 -- setup.cfg | 21 -- 311 files changed, 620 insertions(+), 220 deletions(-) create mode 100644 bodhi-server/COPYING rename SERVER_MANIFEST.in => bodhi-server/MANIFEST.in (62%) create mode 100644 bodhi-server/README.rst rename alembic.ini => bodhi-server/alembic.ini (96%) rename {apache => bodhi-server/apache}/bodhi.conf (100%) rename {apache => bodhi-server/apache}/bodhi.wsgi (100%) rename {bodhi => bodhi-server/bodhi}/server/__init__.py (97%) rename {bodhi => bodhi-server/bodhi}/server/bugs.py (100%) rename {bodhi => bodhi-server/bodhi}/server/buildsys.py (100%) rename {bodhi => bodhi-server/bodhi}/server/config.py (99%) rename {bodhi => bodhi-server/bodhi}/server/consumers/__init__.py (100%) rename {bodhi => bodhi-server/bodhi}/server/consumers/automatic_updates.py (100%) rename {bodhi => bodhi-server/bodhi}/server/consumers/ci.py (100%) rename {bodhi => bodhi-server/bodhi}/server/consumers/resultsdb.py (100%) rename {bodhi => bodhi-server/bodhi}/server/consumers/signed.py (100%) rename {bodhi => bodhi-server/bodhi}/server/consumers/util.py (100%) rename {bodhi => bodhi-server/bodhi}/server/consumers/waiverdb.py (100%) rename {bodhi => bodhi-server/bodhi}/server/email/templates/fedora_epel_errata_template.tpl (100%) rename {bodhi => bodhi-server/bodhi}/server/email/templates/fedora_epel_legacy_errata_template.tpl (100%) rename {bodhi => bodhi-server/bodhi}/server/email/templates/fedora_errata_template.tpl (100%) rename {bodhi => bodhi-server/bodhi}/server/email/templates/fedora_modular_errata_template.tpl (100%) rename {bodhi => bodhi-server/bodhi}/server/email/templates/maillist_template.tpl (100%) rename {bodhi => bodhi-server/bodhi}/server/exceptions.py (100%) rename {bodhi => bodhi-server/bodhi}/server/ffmarkdown.py (99%) rename {bodhi => bodhi-server/bodhi}/server/locale/.placeholder (100%) rename {bodhi => bodhi-server/bodhi}/server/logging.py (100%) rename {bodhi => bodhi-server/bodhi}/server/mail.py (100%) rename {bodhi => bodhi-server/bodhi}/server/metadata.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/README.rst (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/__init__.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/env.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/script.py.mako (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/190ba571c7d2_remove_the_batching_request_state.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/19e28e9851a2_index_comment_update_id.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/1c97477e38ee_convert_br_override_notes_to_unicodetext.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/2fc96aa44a74_drop_the_user_show_popup_column.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/325954bac9f7_link_testcases_to_builds.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/3a2e248d1757_add_the_unspecified_enum_to_updatetype.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/559acf7e2c16_make_comments_update_not_nullable.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/5703ddfe855d_add_package_manager_and_testing_.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/58b7919b942c_remove_the_updates_title_column.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/5c86a3f9dc03_drop_support_for_cve_tracking.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/6b3eb9ae2b87_remove_unused_updatestatus_processing.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/7ba286412ad4_drop_the_relationship_between_packages_.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/8c4d6aad9b78_add_the_greenwave_failed_enum_to_.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/8e9dc57e082d_obsolete_updates_for_archived_release.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/9991cf10ec50_mark_the_bugs_private_field_as_nullable.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/9c0a34961768_remove_the_greenwave_unsatisfied_.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/__init__.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/a3580bdf5129_remove_the_ci_url_field_from_builds.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/a418acf470f8_drop_the_stacks_table.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/aae0d29d49b7_remove_the_private_field_on_the_bug_.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/b1fd856efcf6_add_autopush_boolean_and_stable_days_to_update.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/bdf0e37ab793_disallow_null_values_in_stable_karma_.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/c60d95eef4f1_add_frozen_release_state.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/c98beb4940b5_remove_the_comments_anonymous_column.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/d399493275b6_add_the_eol_column.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/d3f8bd499ecd_add_from_tag_column_to_updates.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/d986618207bc_add_composed_by_bodhi_flag_to_releases_.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/e5b3ddb35df3_remove_the_greenwave_summary_string_.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/e8a059156d38_add_the_create_automatic_updates_bool_.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/eec610d7ab3a_index_the_builds_update_id_column.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/f50dc199039c_make_comments_user_id_not_nullable.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/f8a44498c806_remove_legacy_old_updateid.py (100%) rename {bodhi => bodhi-server/bodhi}/server/migrations/versions/ff834fa4f23e_increase_the_update_alias_size.py (100%) rename {bodhi => bodhi-server/bodhi}/server/models.py (100%) rename {bodhi => bodhi-server/bodhi}/server/notifications.py (100%) rename {bodhi => bodhi-server/bodhi}/server/push.py (100%) rename {bodhi => bodhi-server/bodhi}/server/renderers.py (100%) rename {bodhi => bodhi-server/bodhi}/server/schemas.py (100%) rename {bodhi => bodhi-server/bodhi}/server/scripts/__init__.py (100%) rename {bodhi => bodhi-server/bodhi}/server/scripts/bshell.py (100%) rename {bodhi => bodhi-server/bodhi}/server/scripts/compat.py (100%) rename {bodhi => bodhi-server/bodhi}/server/scripts/initializedb.py (100%) rename {bodhi => bodhi-server/bodhi}/server/scripts/sar.py (100%) rename {bodhi => bodhi-server/bodhi}/server/scripts/skopeo_lite.py (100%) rename {bodhi => bodhi-server/bodhi}/server/scripts/untag_branched.py (100%) rename {bodhi => bodhi-server/bodhi}/server/security.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/__init__.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/builds.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/comments.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/composes.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/csrf.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/errors.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/markdown.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/metrics_tween.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/overrides.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/packages.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/releases.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/schemas.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/updates.py (100%) rename {bodhi => bodhi-server/bodhi}/server/services/user.py (100%) rename {bodhi => bodhi-server/bodhi}/server/static/__init__.py (100%) rename {bodhi => bodhi-server/bodhi}/server/static/bodhi-logo.svg (100%) rename {bodhi => bodhi-server/bodhi}/server/static/css/site.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/font-awesome.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/font-awesome/FontAwesome.otf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/font-awesome/fontawesome-webfont.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/font-awesome/fontawesome-webfont.svg (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/font-awesome/fontawesome-webfont.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/font-awesome/fontawesome-webfont.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/font-awesome/fontawesome-webfont.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/eot/hack-bold-webfont.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/eot/hack-bolditalic-webfont.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/eot/hack-italic-webfont.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/eot/hack-regular-webfont.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/eot/latin/hack-bold-latin-webfont.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/eot/latin/hack-bolditalic-latin-webfont.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/eot/latin/hack-italic-latin-webfont.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/eot/latin/hack-regular-latin-webfont.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/web-ttf/hack-bold-webfont.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/web-ttf/hack-bolditalic-webfont.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/web-ttf/hack-italic-webfont.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/web-ttf/hack-regular-webfont.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/web-ttf/latin/hack-bold-latin-webfont.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/web-ttf/latin/hack-bolditalic-latin-webfont.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/web-ttf/latin/hack-italic-latin-webfont.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/web-ttf/latin/hack-regular-latin-webfont.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff/hack-bold-webfont.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff/hack-bolditalic-webfont.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff/hack-italic-webfont.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff/hack-regular-webfont.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff/latin/hack-bold-latin-webfont.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff/latin/hack-bolditalic-latin-webfont.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff/latin/hack-italic-latin-webfont.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff/latin/hack-regular-latin-webfont.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff2/hack-bold-webfont.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff2/hack-bolditalic-webfont.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff2/hack-italic-webfont.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff2/hack-regular-webfont.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff2/latin/hack-bold-latin-webfont.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff2/latin/hack-bolditalic-latin-webfont.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff2/latin/hack-italic-latin-webfont.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/hack/woff2/latin/hack-regular-latin-webfont.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-300.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-300.svg (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-300.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-300.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-300.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-300italic.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-300italic.svg (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-300italic.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-300italic.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-300italic.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-700.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-700.svg (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-700.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-700.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-700.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-700italic.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-700italic.svg (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-700italic.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-700italic.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-700italic.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-italic.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-italic.svg (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-italic.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-italic.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-italic.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-regular.eot (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-regular.svg (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-regular.ttf (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-regular.woff (100%) rename {bodhi => bodhi-server/bodhi}/server/static/fonts/open-sans/open-sans-v13-latin_latin-ext-regular.woff2 (100%) rename {bodhi => bodhi-server/bodhi}/server/static/ico/favicon.ico (100%) rename {bodhi => bodhi-server/bodhi}/server/static/img/bodhi-logo.png (100%) rename {bodhi => bodhi-server/bodhi}/server/static/img/bodhi-logo.svg (100%) rename {bodhi => bodhi-server/bodhi}/server/static/img/logo-large.png (100%) rename {bodhi => bodhi-server/bodhi}/server/static/img/logo.png (100%) rename {bodhi => bodhi-server/bodhi}/server/static/js/comment_form.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/js/forms.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/js/override_form.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/js/search.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/js/site.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/js/update_form.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/chartjs/Chart.min.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/chartjs/Chart.min.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/fedora-bootstrap/README.rst (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/fedora-bootstrap/fedora-bootstrap.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/fedora-bootstrap/fedora-bootstrap.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/fedora-bootstrap/fedora-bootstrap.min.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/fedora-bootstrap/fedora-bootstrap.min.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/jquery-typeahead/jquery.typeahead.min.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/jquery-typeahead/jquery.typeahead.min.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/jquery/jquery-1.10.2.min.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/messenger/css/messenger-spinner.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/messenger/css/messenger-theme-air.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/messenger/css/messenger-theme-block.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/messenger/css/messenger-theme-flat.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/messenger/css/messenger-theme-future.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/messenger/css/messenger-theme-ice.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/messenger/css/messenger.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/messenger/js/messenger-theme-flat.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/messenger/js/messenger-theme-future.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/messenger/js/messenger.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/messenger/js/messenger.min.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/moment/moment.min.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/selectize/selectize-0.12.3.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/selectize/selectize-0.12.3.min.js (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/selectize/selectize.bootstrap3-0.12.3.css (100%) rename {bodhi => bodhi-server/bodhi}/server/static/vendor/typeahead/typeahead.bundle.js (100%) rename {bodhi => bodhi-server/bodhi}/server/tasks/__init__.py (100%) rename {bodhi => bodhi-server/bodhi}/server/tasks/approve_testing.py (100%) rename {bodhi => bodhi-server/bodhi}/server/tasks/check_policies.py (100%) rename {bodhi => bodhi-server/bodhi}/server/tasks/check_signed_builds.py (100%) rename {bodhi => bodhi-server/bodhi}/server/tasks/clean_old_composes.py (100%) rename {bodhi => bodhi-server/bodhi}/server/tasks/composer.py (100%) rename {bodhi => bodhi-server/bodhi}/server/tasks/expire_overrides.py (100%) rename {bodhi => bodhi-server/bodhi}/server/tasks/fetch_test_cases.py (100%) rename {bodhi => bodhi-server/bodhi}/server/tasks/handle_side_and_related_tags.py (100%) rename {bodhi => bodhi-server/bodhi}/server/tasks/tag_update_builds.py (100%) rename {bodhi => bodhi-server/bodhi}/server/tasks/work_on_bugs.py (100%) rename {bodhi => bodhi-server/bodhi}/server/templates/comment.html (100%) rename {bodhi => bodhi-server/bodhi}/server/templates/comments.html (100%) rename {bodhi => bodhi-server/bodhi}/server/templates/compose.html (100%) rename {bodhi => bodhi-server/bodhi}/server/templates/composes.html (100%) rename {bodhi => bodhi-server/bodhi}/server/templates/errors.html (100%) rename {bodhi => bodhi-server/bodhi}/server/templates/fragments.html (100%) rename {bodhi => bodhi-server/bodhi}/server/templates/home.html (100%) rename {bodhi => bodhi-server/bodhi}/server/templates/master.html (91%) rename {bodhi => bodhi-server/bodhi}/server/templates/new_update.html (97%) rename {bodhi => bodhi-server/bodhi}/server/templates/override.html (95%) rename {bodhi => bodhi-server/bodhi}/server/templates/overrides.html (98%) rename {bodhi => bodhi-server/bodhi}/server/templates/pager.html (100%) rename {bodhi => bodhi-server/bodhi}/server/templates/release.html (98%) rename {bodhi => bodhi-server/bodhi}/server/templates/releases.html (100%) rename {bodhi => bodhi-server/bodhi}/server/templates/update.html (99%) rename {bodhi => bodhi-server/bodhi}/server/templates/updates.html (99%) rename {bodhi => bodhi-server/bodhi}/server/templates/user.html (100%) rename {bodhi => bodhi-server/bodhi}/server/util.py (99%) rename {bodhi => bodhi-server/bodhi}/server/validators.py (100%) rename {bodhi => bodhi-server/bodhi}/server/views/__init__.py (100%) rename {bodhi => bodhi-server/bodhi}/server/views/generic.py (100%) rename {bodhi => bodhi-server/bodhi}/server/webapp.py (100%) rename celeryconfig.py => bodhi-server/celeryconfig.py (100%) create mode 100644 bodhi-server/pyproject.toml create mode 100644 bodhi-server/setup.cfg create mode 100755 bodhi-server/setup.py rename {bodhi/tests/server => bodhi-server/tests}/__init__.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/base.py (98%) rename {bodhi/tests/server => bodhi-server/tests}/consumers/__init__.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/consumers/pungi.basepath/pungi.module.conf (100%) rename {bodhi/tests/server => bodhi-server/tests}/consumers/pungi.basepath/pungi.rpm.conf (100%) rename {bodhi/tests/server => bodhi-server/tests}/consumers/pungi.basepath/variants.module.xml.j2 (100%) rename {bodhi/tests/server => bodhi-server/tests}/consumers/pungi.basepath/variants.rpm.xml.j2 (100%) rename {bodhi/tests/server => bodhi-server/tests}/consumers/test_automatic_updates.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/consumers/test_ci.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/consumers/test_consumers.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/consumers/test_resultsdb.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/consumers/test_signed.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/consumers/test_waiverdb.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/functional/__init__.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/functional/test_packages.py (98%) rename {bodhi/tests/server => bodhi-server/tests}/functional/test_users.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/scripts/__init__.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/scripts/test_bshell.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/scripts/test_compat.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/scripts/test_initializedb.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/scripts/test_sar.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/scripts/test_skopeo_lite.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/scripts/test_untag_branched.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/services/__init__.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/services/test_builds.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/services/test_comments.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/services/test_composes.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/services/test_csrf.py (97%) rename {bodhi/tests/server => bodhi-server/tests}/services/test_errors.py (98%) rename {bodhi/tests/server => bodhi-server/tests}/services/test_overrides.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/services/test_releases.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/services/test_schemas.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/services/test_updates.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/tasks/__init__.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/tasks/base.py (96%) rename {bodhi/tests/server => bodhi-server/tests}/tasks/test_approve_testing.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/tasks/test_check_policies.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/tasks/test_check_signed_builds.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/tasks/test_clean_old_composes.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/tasks/test_composer.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/tasks/test_expire_overrides.py (98%) rename {bodhi/tests/server => bodhi-server/tests}/tasks/test_fetch_test_cases.py (98%) rename {bodhi/tests/server => bodhi-server/tests}/tasks/test_handle_side_and_related_tags.py (98%) rename {bodhi/tests/server => bodhi-server/tests}/tasks/test_tag_update_builds.py (97%) rename {bodhi/tests/server => bodhi-server/tests}/tasks/test_work_on_bugs.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/test___init__.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/test_alembic.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/test_bugs.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/test_buildsys.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/test_config.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/test_logging.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/test_mail.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/test_metadata.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/test_models.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/test_notifications.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/test_push.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/test_renderers.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/test_schemas.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/test_security.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/test_util.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/test_validators.py (99%) rename {bodhi/tests/server => bodhi-server/tests}/test_webapp.py (100%) create mode 100644 bodhi-server/tests/utils.py rename {bodhi/tests/server => bodhi-server/tests}/views/__init__.py (100%) rename {bodhi/tests/server => bodhi-server/tests}/views/test_generic.py (99%) delete mode 100644 bodhi/__init__.py delete mode 100644 bodhi/tests/__init__.py delete mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index e162d74d8c..909ec811e7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ *.egg* *.pyc *.pyo -*.sqlite +bodhi-server/*.sqlite *.swo *.swp .bodhi.tmp diff --git a/bodhi-server/COPYING b/bodhi-server/COPYING new file mode 100644 index 0000000000..add7251c9c --- /dev/null +++ b/bodhi-server/COPYING @@ -0,0 +1,344 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software + interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Program does not specify a +version number of this License, you may choose any version ever +published by the Free Software Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these +terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. + diff --git a/SERVER_MANIFEST.in b/bodhi-server/MANIFEST.in similarity index 62% rename from SERVER_MANIFEST.in rename to bodhi-server/MANIFEST.in index 3841ee04c5..840913dcc2 100644 --- a/SERVER_MANIFEST.in +++ b/bodhi-server/MANIFEST.in @@ -1,7 +1,5 @@ -include *.txt *.ini *.cfg *.rst README.rst -recursive-include bodhi *.ico *.png *.css *.gif *.jpg *.pt *.txt *.mak *.mako *.js *.html *.xml *.ttf *.woff *.woff2 *.eot *.otf *.svg *.tpl +include *.txt *.ini *.cfg *.rst +recursive-include bodhi *.ico *.png *.css *.gif *.jpg *.pt *.txt *.mak *.mako *.js *.html *.xml *.ttf *.woff *.woff2 *.eot *.otf *.svg *.tpl *.rst recursive-include apache * -recursive-include alembic *.py *.mako *.rst -recursive-include tools * include bodhi/server/locale/.placeholder include COPYING diff --git a/bodhi-server/README.rst b/bodhi-server/README.rst new file mode 100644 index 0000000000..038ab56ae2 --- /dev/null +++ b/bodhi-server/README.rst @@ -0,0 +1,51 @@ +===== +Bodhi +===== + +Welcome to Bodhi, Fedora's update gating system. + +Bodhi is designed to democratize the package update testing and release process for RPM based Linux +distributions. It provides an interface for developers to propose updates to a distribution, and an +interface for testers to leave feedback about updates through a +1/-1 karma system. + +Bodhi’s main features are: + + +- Provides an interface for developers and release engineers to manage pushing out package updates + for multiple distribution versions. +- Generates pre-release test repositories for end users and testers to install proposed updates. +- Gives testers an interface to leave feedback about package updates, leading to higher quality + package updates. +- Announces the arrival of new packages entering the collection. +- Publishes end-user release notes known as errata. +- Generates yum repositories. +- Queries ResultsDB for automated test results and displays them on updates. + + + +Documentation +============= + +You can read Bodhi's +`release notes `_ +and documentation +`online `_, or by installing it on your +Fedora system and pointing your browser at +``/usr/share/doc/bodhi-docs/html/index.html``:: + + $ sudo dnf install bodhi-docs && firefox /usr/share/doc/bodhi-docs/html/index.html + +If you are interested in contributing to Bodhi, you can read the +`developer documentation`_. + +.. _developer documentation: https://bodhi.fedoraproject.org/docs/developer/index.html + + +IRC +=== + +Come join us on `Libera `_! We've got two channels: + +* #bodhi - We use this channel to discuss upstream bodhi development +* #fedora-apps - We use this channel to discuss Fedora's Bodhi deployment (it is more generally + about all of Fedora's infrastructure applications.) diff --git a/alembic.ini b/bodhi-server/alembic.ini similarity index 96% rename from alembic.ini rename to bodhi-server/alembic.ini index 64e0f2af61..f43dc74b9a 100644 --- a/alembic.ini +++ b/bodhi-server/alembic.ini @@ -2,7 +2,7 @@ [alembic] # path to migration scripts -script_location = bodhi:server/migrations +script_location = bodhi.server:migrations # template used to generate migration files # file_template = %%(rev)s_%%(slug)s diff --git a/apache/bodhi.conf b/bodhi-server/apache/bodhi.conf similarity index 100% rename from apache/bodhi.conf rename to bodhi-server/apache/bodhi.conf diff --git a/apache/bodhi.wsgi b/bodhi-server/apache/bodhi.wsgi similarity index 100% rename from apache/bodhi.wsgi rename to bodhi-server/apache/bodhi.wsgi diff --git a/bodhi/server/__init__.py b/bodhi-server/bodhi/server/__init__.py similarity index 97% rename from bodhi/server/__init__.py rename to bodhi-server/bodhi/server/__init__.py index 90eeb07922..cf9912a6e3 100644 --- a/bodhi/server/__init__.py +++ b/bodhi-server/bodhi/server/__init__.py @@ -36,6 +36,11 @@ from bodhi.server.config import config as bodhi_config +__version__ = "5.7.4" + +# This is a regular expression used to match username mentions in comments. +MENTION_RE = r'(? - + @@ -29,12 +29,12 @@ <%block name="css"> - - - - - - + + + + + + @@ -49,7 +49,7 @@ - Fedora Update System + Fedora Update System