patchman 4.0.19__tar.gz → 4.0.21__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {patchman-4.0.19 → patchman-4.0.21}/INSTALL.md +19 -18
- {patchman-4.0.19 → patchman-4.0.21}/PKG-INFO +3 -4
- patchman-4.0.21/VERSION.txt +1 -0
- patchman-4.0.21/errata/migrations/0010_synopsis_textfield.py +18 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/models.py +1 -1
- patchman-4.0.21/hosts/migrations/0013_alter_hostrepo_unique_together_and_more.py +21 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/models.py +6 -1
- patchman-4.0.21/modules/migrations/0007_alter_module_unique_together_module_unique_module.py +21 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/models.py +6 -1
- patchman-4.0.21/operatingsystems/migrations/0012_alter_osrelease_unique_together_and_more.py +21 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/models.py +6 -1
- patchman-4.0.21/packages/migrations/0008_alter_package_unique_together_and_more.py +29 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/models.py +12 -2
- {patchman-4.0.19 → patchman-4.0.21}/patchman/settings.py +1 -2
- {patchman-4.0.19 → patchman-4.0.21}/patchman/urls.py +1 -2
- {patchman-4.0.19 → patchman-4.0.21}/patchman.egg-info/PKG-INFO +3 -4
- {patchman-4.0.19 → patchman-4.0.21}/patchman.egg-info/SOURCES.txt +6 -0
- {patchman-4.0.19 → patchman-4.0.21}/patchman.egg-info/requires.txt +1 -1
- {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_parsing.py +31 -31
- {patchman-4.0.19 → patchman-4.0.21}/reports/utils.py +13 -7
- {patchman-4.0.19 → patchman-4.0.21}/reports/views.py +3 -3
- {patchman-4.0.19 → patchman-4.0.21}/repos/utils.py +3 -0
- {patchman-4.0.19 → patchman-4.0.21}/requirements.txt +1 -1
- {patchman-4.0.19 → patchman-4.0.21}/scripts/rpm-install.sh +1 -1
- patchman-4.0.21/security/migrations/0011_alter_cvss_unique_together_and_more.py +29 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/models.py +12 -2
- {patchman-4.0.19 → patchman-4.0.21}/security/tests/test_models.py +2 -4
- {patchman-4.0.19 → patchman-4.0.21}/setup.cfg +2 -2
- {patchman-4.0.19 → patchman-4.0.21}/setup.py +1 -2
- {patchman-4.0.19 → patchman-4.0.21}/util/__init__.py +18 -9
- {patchman-4.0.19 → patchman-4.0.21}/util/context_processors.py +4 -4
- {patchman-4.0.19 → patchman-4.0.21}/util/filterspecs.py +2 -1
- patchman-4.0.19/VERSION.txt +0 -1
- {patchman-4.0.19 → patchman-4.0.21}/AUTHORS +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/COPYING +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/MANIFEST.in +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/README.md +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/admin.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/apps.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/migrations/0001_initial.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/migrations/0002_alter_machinearchitecture_options_and_more.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/migrations/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/models.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/serializers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/tests/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/tests/test_api.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/tests/test_models.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/utils.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/arch/views.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/domains/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/domains/admin.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/domains/apps.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/domains/migrations/0001_initial.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/domains/migrations/0002_alter_domain_options.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/domains/migrations/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/domains/models.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/domains/serializers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/domains/tests/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/domains/tests/test_api.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/domains/tests/test_models.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/domains/views.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/admin.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/apps.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/managers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0001_initial.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0002_alter_erratumreference_unique_together.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0003_delete_erratumreference_alter_erratum_references.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0004_rename_packages_erratum_fixed_packages.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0005_erratum_affected_packages_and_more.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0006_alter_erratum_options.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0007_alter_erratum_fixed_packages.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0008_add_cached_count_fields.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0009_backfill_cached_counts.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/serializers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/signals.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/sources/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/alma.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/arch.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/centos.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/debian.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/rocky.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/ubuntu.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/sources/repos/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/sources/repos/yum.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/tables.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/tasks.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/templates/errata/erratum_detail.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/templates/errata/erratum_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/tests/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/tests/test_api.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/tests/test_integration.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/tests/test_models.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/urls.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/utils.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/errata/views.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/etc/patchman/apache.conf.example +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/etc/patchman/celery.conf +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/etc/patchman/local_settings.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/etc/systemd/system/patchman-celery-beat.service +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/etc/systemd/system/patchman-celery-worker@.service +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/admin.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/apps.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/forms.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/managers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0001_initial.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0002_initial.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0003_host_modules.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0004_remove_host_tags_host_tags.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0005_rename_os_host_osvariant.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0006_migrate_to_tz_aware.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0007_alter_host_tags.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0008_alter_host_options.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0009_host_errata.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0010_alter_hostrepo_options.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0011_host_bug_updates_count_host_errata_count_and_more.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0012_backfill_cached_counts.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/serializers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/signals.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/tables.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/tasks.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/templates/hosts/host_delete.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/templates/hosts/host_detail.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/templates/hosts/host_edit.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/templates/hosts/host_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/templatetags/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/templatetags/report_alert.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/tests/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/tests/test_api.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/tests/test_find_updates.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/tests/test_managers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/tests/test_models.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/urls.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/utils.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/hosts/views.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/admin.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/apps.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/managers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/0001_initial.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/0002_auto_20240204_2214.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/0003_alter_module_options.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/0004_alter_module_options.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/0005_alter_module_unique_together.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/0006_alter_module_context_alter_module_name_and_more.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/serializers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/tables.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/templates/modules/module_detail.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/templates/modules/module_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/urls.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/utils.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/modules/views.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/admin.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/apps.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/fixtures/os.json +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/fixtures/osgroup.json +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/forms.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/managers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0001_initial.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0002_initial.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0003_os_arch.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0003_osgroup_codename.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0004_alter_osgroup_unique_together.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0005_rename_osgroup_osrelease_rename_os_osvariant_and_more.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0006_osrelease_cpe_name_osvariant_codename.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0007_alter_osrelease_unique_together.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0008_alter_osrelease_options_alter_osvariant_options.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0009_osvariant_hosts_count.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0010_backfill_osvariant_counts.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0011_alter_osrelease_codename_alter_osrelease_cpe_name_and_more.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/serializers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/signals.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/tables.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/os_landing.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osrelease_delete.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osrelease_detail.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osrelease_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osvariant_delete.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osvariant_delete_multiple.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osvariant_detail.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osvariant_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/tests/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/tests/test_api.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/tests/test_models.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/urls.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/utils.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/views.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/admin.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/apps.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/managers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0001_initial.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0002_auto_20250207_1319.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0002_delete_erratum_delete_erratumreference.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0003_auto_20250207_1746.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0004_alter_package_options_alter_packagecategory_options_and_more.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0005_alter_package_packagetype.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0006_alter_packageupdate_options.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0007_alter_package_epoch_alter_package_release_and_more.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/serializers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/tables.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/templates/packages/package_detail.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/templates/packages/package_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/templates/packages/package_name_detail.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/templates/packages/package_name_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/templates/packages/package_update_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/tests/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/tests/test_api.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/tests/test_models.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/tests/test_version_compare.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/tests/test_views.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/urls.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/utils.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/packages/views.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/patchman/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/patchman/celery.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/patchman/receivers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/patchman/signals.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/patchman/sqlite3/base.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/patchman/static/css/base.css +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/patchman/static/js/expandable-text.js +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/patchman/static/js/sidebar.js +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/patchman/wsgi.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/patchman.egg-info/dependency_links.txt +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/patchman.egg-info/top_level.txt +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/admin.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/apps.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/migrations/0001_initial.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/migrations/0002_report_modules.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/migrations/0003_remove_report_accessed.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/migrations/0004_migrate_to_tz_aware.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/migrations/0005_alter_report_options.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/migrations/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/models.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/serializers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/tables.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/tasks.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/templates/reports/report.txt +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/templates/reports/report_delete.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/templates/reports/report_detail.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/templates/reports/report_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/tests/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_api.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_edge_cases.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_integration.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_models.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_serializers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_tasks.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_utils.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/reports/urls.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/admin.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/apps.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/forms.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/managers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0001_initial.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0002_alter_repository_repotype.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0003_migrate_to_tz_aware.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0004_rename_file_checksum_mirror_package_checksum.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0005_rename_package_checksum_mirror_packages_checksum.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0006_mirror_errata_checksum_mirror_modules_checksum.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0007_alter_mirror_options_alter_mirrorpackage_options_and_more.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0008_mirror_packages_count.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0009_backfill_mirror_counts.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/models.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/arch.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/deb.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/gentoo.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/rpm.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/yast.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/yum.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/serializers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/signals.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/tables.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/tasks.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/mirror_delete.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/mirror_detail.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/mirror_edit.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/mirror_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/mirror_with_repo_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/repo_delete.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/repo_detail.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/repo_edit.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/repo_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/templatetags/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/tests/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/tests/test_api.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/tests/test_managers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/tests/test_mirror_sync.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/tests/test_models.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/tests/test_views.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/urls.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/repos/views.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/sbin/patchman +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/sbin/patchman-manage +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/sbin/patchman-set-secret-key +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/scripts/clear-django-logs.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/scripts/create_graph.sh +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/scripts/rpm-post-install.sh +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/admin.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/apps.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/managers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0001_initial.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0002_alter_cve_options.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0003_alter_cve_description_alter_cwe_description.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0004_alter_cve_options.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0005_reference_cve_references.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0006_alter_cve_options_alter_cvss_unique_together.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0007_remove_cve_title.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0008_alter_cwe_options_alter_reference_options.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0009_alter_cvss_severity_alter_cvss_vector_string_and_more.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0010_fix_cvss_vector_string_length.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/migrations/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/serializers.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/tables.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/tasks.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/templates/security/cve_detail.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/templates/security/cve_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/templates/security/cwe_detail.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/templates/security/cwe_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/templates/security/reference_list.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/templates/security/security_landing.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/tests/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/tests/test_api.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/urls.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/utils.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/security/views.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/apps.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/logging.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/management/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/management/commands/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/management/commands/create_api_key.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/management/commands/list_api_keys.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/management/commands/revoke_api_key.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/tables.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/tasks.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/templates/404.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/templates/500.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/templates/base.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/templates/bulk_actions.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/templates/dashboard.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/templates/navbar.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/templates/objectlist.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/templates/registration/login.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/templates/searchbar.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/templates/table.html +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/templatetags/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/templatetags/common.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/tests/__init__.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/tests/test_commands.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/tests/test_utils.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/urls.py +0 -0
- {patchman-4.0.19 → patchman-4.0.21}/util/views.py +0 -0
|
@@ -7,7 +7,7 @@ mysql or postgresql instead, see the database configuration section.
|
|
|
7
7
|
## Supported Server Installation Options
|
|
8
8
|
- [Ubuntu 24.04](#ubuntu-2404-noble)
|
|
9
9
|
- [Debian 13](#debian-13-trixie)
|
|
10
|
-
- [Rocky
|
|
10
|
+
- [Rocky/Alma/RHEL](#rockyalmarhel)
|
|
11
11
|
- [virtualenv + pip](#virtualenv--pip)
|
|
12
12
|
- [Source](#source)
|
|
13
13
|
|
|
@@ -15,7 +15,7 @@ mysql or postgresql instead, see the database configuration section.
|
|
|
15
15
|
### Ubuntu 24.04 (noble)
|
|
16
16
|
|
|
17
17
|
```shell
|
|
18
|
-
curl -sS https://repo.openbytes.ie/openbytes.gpg > /usr/share/keyrings/openbytes.gpg
|
|
18
|
+
curl -sS https://repo.openbytes.ie/openbytes-1.gpg > /usr/share/keyrings/openbytes.gpg
|
|
19
19
|
echo "deb [signed-by=/usr/share/keyrings/openbytes.gpg] https://repo.openbytes.ie/patchman/ubuntu noble-backports main" > /etc/apt/sources.list.d/patchman.list
|
|
20
20
|
apt update
|
|
21
21
|
apt -y install python3-patchman patchman-client
|
|
@@ -25,26 +25,26 @@ patchman-manage createsuperuser
|
|
|
25
25
|
### Debian 13 (trixie)
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
curl -sS https://repo.openbytes.ie/openbytes.gpg > /usr/share/keyrings/openbytes.gpg
|
|
28
|
+
curl -sS https://repo.openbytes.ie/openbytes-1.gpg > /usr/share/keyrings/openbytes.gpg
|
|
29
29
|
echo "deb [signed-by=/usr/share/keyrings/openbytes.gpg] https://repo.openbytes.ie/patchman/debian trixie main" > /etc/apt/sources.list.d/patchman.list
|
|
30
30
|
apt update
|
|
31
31
|
apt -y install python3-patchman patchman-client
|
|
32
32
|
patchman-manage createsuperuser
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
### Rocky
|
|
35
|
+
### Rocky/Alma/RHEL
|
|
36
36
|
|
|
37
37
|
Server installation is currently broken due to missing upstream packages: https://github.com/furlongm/patchman/issues/669
|
|
38
38
|
Client installation should work as expected.
|
|
39
39
|
|
|
40
|
-
This also applies to Alma, RHEL, etc.
|
|
41
40
|
|
|
42
41
|
```shell
|
|
43
|
-
curl -sS https://repo.openbytes.ie/openbytes
|
|
42
|
+
# curl -sS https://repo.openbytes.ie/openbytes.gpg > /etc/pki/rpm-gpg/RPM-GPG-KEY-openbytes # rocky/alma/rhel 8/9
|
|
43
|
+
curl -sS https://repo.openbytes.ie/openbytes-1.gpg > /etc/pki/rpm-gpg/RPM-GPG-KEY-openbytes # rocky/alma/rhel 10
|
|
44
44
|
cat <<EOF >> /etc/yum.repos.d/openbytes.repo
|
|
45
45
|
[openbytes]
|
|
46
46
|
name=openbytes
|
|
47
|
-
baseurl=https://repo.openbytes.ie/patchman/
|
|
47
|
+
baseurl=https://repo.openbytes.ie/patchman/el\$releasever
|
|
48
48
|
enabled=1
|
|
49
49
|
gpgcheck=1
|
|
50
50
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-openbytes
|
|
@@ -53,15 +53,15 @@ dnf -y install epel-release
|
|
|
53
53
|
dnf makecache
|
|
54
54
|
dnf -y install patchman-client
|
|
55
55
|
#dnf -y install patchman
|
|
56
|
-
systemctl restart httpd
|
|
57
|
-
patchman-manage createsuperuser
|
|
56
|
+
#systemctl restart httpd
|
|
57
|
+
#patchman-manage createsuperuser
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
### virtualenv + pip
|
|
61
61
|
|
|
62
62
|
```shell
|
|
63
63
|
apt -y install python3-venv # (debian/ubuntu)
|
|
64
|
-
dnf -y install python3-virtualenv # (rocky/alma/
|
|
64
|
+
dnf -y install python3-virtualenv # (rocky/alma/rhel)
|
|
65
65
|
mkdir /srv/patchman
|
|
66
66
|
cd /srv/patchman
|
|
67
67
|
python3 -m venv .venv
|
|
@@ -165,7 +165,7 @@ protocol=2
|
|
|
165
165
|
Or use the `-p 2` command line option:
|
|
166
166
|
|
|
167
167
|
```shell
|
|
168
|
-
$ patchman-client -s http://patchman.example.
|
|
168
|
+
$ patchman-client -s http://patchman.example.com -p 2
|
|
169
169
|
```
|
|
170
170
|
|
|
171
171
|
|
|
@@ -393,14 +393,14 @@ patchman-client
|
|
|
393
393
|
Install Celery for realtime processing of reports from clients and for periodic
|
|
394
394
|
maintenance tasks. The celery configuation file is in `/etc/patchman/celery.conf`
|
|
395
395
|
|
|
396
|
-
#### Ubuntu
|
|
396
|
+
#### Debian/Ubuntu
|
|
397
397
|
|
|
398
398
|
```shell
|
|
399
399
|
apt -y install python3-celery redis python3-redis python-celery-common
|
|
400
400
|
/usr/bin/celery --broker redis://127.0.0.1:6379/0 --app patchman worker --loglevel info --beat --scheduler django_celery_beat.schedulers:DatabaseScheduler --task-events --pool threads
|
|
401
401
|
```
|
|
402
402
|
|
|
403
|
-
#### Rocky
|
|
403
|
+
#### Rocky/Alma/RHEL
|
|
404
404
|
|
|
405
405
|
Currently waiting on https://bugzilla.redhat.com/show_bug.cgi?id=2032543
|
|
406
406
|
|
|
@@ -434,8 +434,9 @@ Install Redis:
|
|
|
434
434
|
|
|
435
435
|
```shell
|
|
436
436
|
apt -y install redis python3-redis # (debian/ubuntu)
|
|
437
|
-
dnf -y install redis python3-redis # (rocky/alma/
|
|
438
|
-
systemctl restart redis
|
|
437
|
+
dnf -y install redis python3-redis # (rocky/alma/rhel)
|
|
438
|
+
systemctl restart redis-server # (debian/ubuntu)
|
|
439
|
+
systemctl restart redis # (rocky/alma/rhel)
|
|
439
440
|
```
|
|
440
441
|
|
|
441
442
|
and add the following to `/etc/patchman/local_settings.py`
|
|
@@ -450,13 +451,13 @@ CACHES = {
|
|
|
450
451
|
}
|
|
451
452
|
```
|
|
452
453
|
|
|
453
|
-
####
|
|
454
|
+
#### Memcached
|
|
454
455
|
|
|
455
456
|
Install Memcached
|
|
456
457
|
|
|
457
458
|
```shell
|
|
458
459
|
apt -y install memcached python3-pymemcache # (debian/ubuntu)
|
|
459
|
-
dnf -y install memcached python3-pymemcache # (rocky/alma/
|
|
460
|
+
dnf -y install memcached python3-pymemcache # (rocky/alma/rhel)
|
|
460
461
|
systemctl restart memcached
|
|
461
462
|
```
|
|
462
463
|
|
|
@@ -522,7 +523,7 @@ api_key=abc123...
|
|
|
522
523
|
Or use the `-k` command line option:
|
|
523
524
|
|
|
524
525
|
```shell
|
|
525
|
-
$ patchman-client -s http://patchman.example.
|
|
526
|
+
$ patchman-client -s http://patchman.example.com -p 2 -k abc123...
|
|
526
527
|
```
|
|
527
528
|
|
|
528
529
|
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: patchman
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.21
|
|
4
4
|
Summary: Django based patch status monitoring tool for linux systems
|
|
5
5
|
Home-page: http://patchman.openbytes.ie/
|
|
6
6
|
Author: Marcus Furlong
|
|
7
7
|
Author-email: furlongm@gmail.com
|
|
8
|
-
License:
|
|
8
|
+
License: GPL-3.0-only
|
|
9
9
|
Keywords: django patch status monitoring linux spacewalk patchman
|
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
11
|
Classifier: Environment :: Web Environment
|
|
12
12
|
Classifier: Framework :: Django
|
|
13
13
|
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
|
|
14
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
15
14
|
Description-Content-Type: text/markdown
|
|
16
15
|
License-File: COPYING
|
|
17
16
|
License-File: AUTHORS
|
|
@@ -30,7 +29,7 @@ Requires-Dist: django-filter==25.1
|
|
|
30
29
|
Requires-Dist: humanize==4.12.1
|
|
31
30
|
Requires-Dist: version-utils==0.3.2
|
|
32
31
|
Requires-Dist: python-magic==0.4.27
|
|
33
|
-
Requires-Dist: gitpython==3.1.
|
|
32
|
+
Requires-Dist: gitpython==3.1.50
|
|
34
33
|
Requires-Dist: tenacity==8.2.3
|
|
35
34
|
Requires-Dist: celery==5.4.0
|
|
36
35
|
Requires-Dist: redis==6.4.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4.0.21
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated by Django 4.2.28 on 2026-05-02 03:49
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
('errata', '0009_backfill_cached_counts'),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AlterField(
|
|
14
|
+
model_name='erratum',
|
|
15
|
+
name='synopsis',
|
|
16
|
+
field=models.TextField(),
|
|
17
|
+
),
|
|
18
|
+
]
|
|
@@ -33,7 +33,7 @@ class Erratum(models.Model):
|
|
|
33
33
|
name = models.CharField(max_length=255, unique=True)
|
|
34
34
|
e_type = models.CharField(max_length=255)
|
|
35
35
|
issue_date = models.DateTimeField()
|
|
36
|
-
synopsis = models.
|
|
36
|
+
synopsis = models.TextField()
|
|
37
37
|
affected_packages = models.ManyToManyField(Package, blank=True, related_name='affected_by_erratum')
|
|
38
38
|
fixed_packages = models.ManyToManyField(Package, blank=True, related_name='provides_fix_in_erratum')
|
|
39
39
|
from operatingsystems.models import OSRelease
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated by Django 4.2.28 on 2026-04-01 03:15
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
('hosts', '0012_backfill_cached_counts'),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AlterUniqueTogether(
|
|
14
|
+
name='hostrepo',
|
|
15
|
+
unique_together=set(),
|
|
16
|
+
),
|
|
17
|
+
migrations.AddConstraint(
|
|
18
|
+
model_name='hostrepo',
|
|
19
|
+
constraint=models.UniqueConstraint(fields=('host', 'repo'), name='unique_hostrepo'),
|
|
20
|
+
),
|
|
21
|
+
]
|
|
@@ -649,7 +649,12 @@ class HostRepo(models.Model):
|
|
|
649
649
|
priority = models.IntegerField(default=0)
|
|
650
650
|
|
|
651
651
|
class Meta:
|
|
652
|
-
|
|
652
|
+
constraints = [
|
|
653
|
+
models.UniqueConstraint(
|
|
654
|
+
fields=['host', 'repo'],
|
|
655
|
+
name='unique_hostrepo',
|
|
656
|
+
),
|
|
657
|
+
]
|
|
653
658
|
ordering = ['host', 'repo']
|
|
654
659
|
|
|
655
660
|
def __str__(self):
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated by Django 4.2.28 on 2026-04-01 03:15
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
('modules', '0006_alter_module_context_alter_module_name_and_more'),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AlterUniqueTogether(
|
|
14
|
+
name='module',
|
|
15
|
+
unique_together=set(),
|
|
16
|
+
),
|
|
17
|
+
migrations.AddConstraint(
|
|
18
|
+
model_name='module',
|
|
19
|
+
constraint=models.UniqueConstraint(fields=('name', 'stream', 'version', 'context', 'arch', 'repo'), name='unique_module'),
|
|
20
|
+
),
|
|
21
|
+
]
|
|
@@ -35,7 +35,12 @@ class Module(models.Model):
|
|
|
35
35
|
class Meta:
|
|
36
36
|
verbose_name = 'Module'
|
|
37
37
|
verbose_name_plural = 'Modules'
|
|
38
|
-
|
|
38
|
+
constraints = [
|
|
39
|
+
models.UniqueConstraint(
|
|
40
|
+
fields=['name', 'stream', 'version', 'context', 'arch', 'repo'],
|
|
41
|
+
name='unique_module',
|
|
42
|
+
),
|
|
43
|
+
]
|
|
39
44
|
ordering = ['name', 'stream']
|
|
40
45
|
|
|
41
46
|
def __str__(self):
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated by Django 4.2.28 on 2026-04-01 03:15
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
('operatingsystems', '0011_alter_osrelease_codename_alter_osrelease_cpe_name_and_more'),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AlterUniqueTogether(
|
|
14
|
+
name='osrelease',
|
|
15
|
+
unique_together=set(),
|
|
16
|
+
),
|
|
17
|
+
migrations.AddConstraint(
|
|
18
|
+
model_name='osrelease',
|
|
19
|
+
constraint=models.UniqueConstraint(fields=('name', 'codename', 'cpe_name'), name='unique_osrelease'),
|
|
20
|
+
),
|
|
21
|
+
]
|
|
@@ -35,7 +35,12 @@ class OSRelease(models.Model):
|
|
|
35
35
|
class Meta:
|
|
36
36
|
verbose_name = 'Operating System Release'
|
|
37
37
|
verbose_name_plural = 'Operating System Releases'
|
|
38
|
-
|
|
38
|
+
constraints = [
|
|
39
|
+
models.UniqueConstraint(
|
|
40
|
+
fields=['name', 'codename', 'cpe_name'],
|
|
41
|
+
name='unique_osrelease',
|
|
42
|
+
),
|
|
43
|
+
]
|
|
39
44
|
ordering = ['name']
|
|
40
45
|
|
|
41
46
|
def __str__(self):
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Generated by Django 4.2.28 on 2026-04-01 03:15
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
('packages', '0007_alter_package_epoch_alter_package_release_and_more'),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AlterUniqueTogether(
|
|
14
|
+
name='package',
|
|
15
|
+
unique_together=set(),
|
|
16
|
+
),
|
|
17
|
+
migrations.AlterUniqueTogether(
|
|
18
|
+
name='packageupdate',
|
|
19
|
+
unique_together=set(),
|
|
20
|
+
),
|
|
21
|
+
migrations.AddConstraint(
|
|
22
|
+
model_name='package',
|
|
23
|
+
constraint=models.UniqueConstraint(fields=('name', 'epoch', 'version', 'release', 'arch', 'packagetype', 'category'), name='unique_package'),
|
|
24
|
+
),
|
|
25
|
+
migrations.AddConstraint(
|
|
26
|
+
model_name='packageupdate',
|
|
27
|
+
constraint=models.UniqueConstraint(fields=('oldpackage', 'newpackage', 'security'), name='unique_packageupdate'),
|
|
28
|
+
),
|
|
29
|
+
]
|
|
@@ -87,7 +87,12 @@ class Package(models.Model):
|
|
|
87
87
|
|
|
88
88
|
class Meta:
|
|
89
89
|
ordering = ['name', 'epoch', 'version', 'release', 'arch']
|
|
90
|
-
|
|
90
|
+
constraints = [
|
|
91
|
+
models.UniqueConstraint(
|
|
92
|
+
fields=['name', 'epoch', 'version', 'release', 'arch', 'packagetype', 'category'],
|
|
93
|
+
name='unique_package',
|
|
94
|
+
),
|
|
95
|
+
]
|
|
91
96
|
|
|
92
97
|
def __str__(self):
|
|
93
98
|
if self.epoch:
|
|
@@ -226,7 +231,12 @@ class PackageUpdate(models.Model):
|
|
|
226
231
|
security = models.BooleanField(default=False)
|
|
227
232
|
|
|
228
233
|
class Meta:
|
|
229
|
-
|
|
234
|
+
constraints = [
|
|
235
|
+
models.UniqueConstraint(
|
|
236
|
+
fields=['oldpackage', 'newpackage', 'security'],
|
|
237
|
+
name='unique_packageupdate',
|
|
238
|
+
),
|
|
239
|
+
]
|
|
230
240
|
ordering = ['oldpackage', 'newpackage']
|
|
231
241
|
|
|
232
242
|
def __str__(self):
|
|
@@ -16,9 +16,8 @@
|
|
|
16
16
|
# along with If not, see <http://www.gnu.org/licenses/>
|
|
17
17
|
|
|
18
18
|
from django.conf import settings
|
|
19
|
-
from django.conf.urls import handler404, handler500, include # noqa
|
|
20
19
|
from django.contrib import admin
|
|
21
|
-
from django.urls import path
|
|
20
|
+
from django.urls import include, path
|
|
22
21
|
from django.views import static
|
|
23
22
|
from rest_framework import routers
|
|
24
23
|
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: patchman
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.21
|
|
4
4
|
Summary: Django based patch status monitoring tool for linux systems
|
|
5
5
|
Home-page: http://patchman.openbytes.ie/
|
|
6
6
|
Author: Marcus Furlong
|
|
7
7
|
Author-email: furlongm@gmail.com
|
|
8
|
-
License:
|
|
8
|
+
License: GPL-3.0-only
|
|
9
9
|
Keywords: django patch status monitoring linux spacewalk patchman
|
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
11
|
Classifier: Environment :: Web Environment
|
|
12
12
|
Classifier: Framework :: Django
|
|
13
13
|
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
|
|
14
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
15
14
|
Description-Content-Type: text/markdown
|
|
16
15
|
License-File: COPYING
|
|
17
16
|
License-File: AUTHORS
|
|
@@ -30,7 +29,7 @@ Requires-Dist: django-filter==25.1
|
|
|
30
29
|
Requires-Dist: humanize==4.12.1
|
|
31
30
|
Requires-Dist: version-utils==0.3.2
|
|
32
31
|
Requires-Dist: python-magic==0.4.27
|
|
33
|
-
Requires-Dist: gitpython==3.1.
|
|
32
|
+
Requires-Dist: gitpython==3.1.50
|
|
34
33
|
Requires-Dist: tenacity==8.2.3
|
|
35
34
|
Requires-Dist: celery==5.4.0
|
|
36
35
|
Requires-Dist: redis==6.4.0
|
|
@@ -53,6 +53,7 @@ errata/migrations/0006_alter_erratum_options.py
|
|
|
53
53
|
errata/migrations/0007_alter_erratum_fixed_packages.py
|
|
54
54
|
errata/migrations/0008_add_cached_count_fields.py
|
|
55
55
|
errata/migrations/0009_backfill_cached_counts.py
|
|
56
|
+
errata/migrations/0010_synopsis_textfield.py
|
|
56
57
|
errata/migrations/__init__.py
|
|
57
58
|
errata/sources/__init__.py
|
|
58
59
|
errata/sources/distros/__init__.py
|
|
@@ -100,6 +101,7 @@ hosts/migrations/0009_host_errata.py
|
|
|
100
101
|
hosts/migrations/0010_alter_hostrepo_options.py
|
|
101
102
|
hosts/migrations/0011_host_bug_updates_count_host_errata_count_and_more.py
|
|
102
103
|
hosts/migrations/0012_backfill_cached_counts.py
|
|
104
|
+
hosts/migrations/0013_alter_hostrepo_unique_together_and_more.py
|
|
103
105
|
hosts/migrations/__init__.py
|
|
104
106
|
hosts/templates/hosts/host_delete.html
|
|
105
107
|
hosts/templates/hosts/host_detail.html
|
|
@@ -128,6 +130,7 @@ modules/migrations/0003_alter_module_options.py
|
|
|
128
130
|
modules/migrations/0004_alter_module_options.py
|
|
129
131
|
modules/migrations/0005_alter_module_unique_together.py
|
|
130
132
|
modules/migrations/0006_alter_module_context_alter_module_name_and_more.py
|
|
133
|
+
modules/migrations/0007_alter_module_unique_together_module_unique_module.py
|
|
131
134
|
modules/migrations/__init__.py
|
|
132
135
|
modules/templates/modules/module_detail.html
|
|
133
136
|
modules/templates/modules/module_list.html
|
|
@@ -157,6 +160,7 @@ operatingsystems/migrations/0008_alter_osrelease_options_alter_osvariant_options
|
|
|
157
160
|
operatingsystems/migrations/0009_osvariant_hosts_count.py
|
|
158
161
|
operatingsystems/migrations/0010_backfill_osvariant_counts.py
|
|
159
162
|
operatingsystems/migrations/0011_alter_osrelease_codename_alter_osrelease_cpe_name_and_more.py
|
|
163
|
+
operatingsystems/migrations/0012_alter_osrelease_unique_together_and_more.py
|
|
160
164
|
operatingsystems/migrations/__init__.py
|
|
161
165
|
operatingsystems/templates/operatingsystems/os_landing.html
|
|
162
166
|
operatingsystems/templates/operatingsystems/osrelease_delete.html
|
|
@@ -187,6 +191,7 @@ packages/migrations/0004_alter_package_options_alter_packagecategory_options_and
|
|
|
187
191
|
packages/migrations/0005_alter_package_packagetype.py
|
|
188
192
|
packages/migrations/0006_alter_packageupdate_options.py
|
|
189
193
|
packages/migrations/0007_alter_package_epoch_alter_package_release_and_more.py
|
|
194
|
+
packages/migrations/0008_alter_package_unique_together_and_more.py
|
|
190
195
|
packages/migrations/__init__.py
|
|
191
196
|
packages/templates/packages/package_detail.html
|
|
192
197
|
packages/templates/packages/package_list.html
|
|
@@ -317,6 +322,7 @@ security/migrations/0007_remove_cve_title.py
|
|
|
317
322
|
security/migrations/0008_alter_cwe_options_alter_reference_options.py
|
|
318
323
|
security/migrations/0009_alter_cvss_severity_alter_cvss_vector_string_and_more.py
|
|
319
324
|
security/migrations/0010_fix_cvss_vector_string_length.py
|
|
325
|
+
security/migrations/0011_alter_cvss_unique_together_and_more.py
|
|
320
326
|
security/migrations/__init__.py
|
|
321
327
|
security/templates/security/cve_detail.html
|
|
322
328
|
security/templates/security/cve_list.html
|
|
@@ -18,7 +18,7 @@ from django.test import TestCase, override_settings
|
|
|
18
18
|
|
|
19
19
|
from packages.models import Package
|
|
20
20
|
from reports.utils import (
|
|
21
|
-
|
|
21
|
+
get_package_type, get_repo_type, parse_packages, parse_repos,
|
|
22
22
|
process_repo_text,
|
|
23
23
|
)
|
|
24
24
|
from repos.models import Repository
|
|
@@ -122,32 +122,32 @@ class ParseReposTests(TestCase):
|
|
|
122
122
|
CACHES={'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
|
|
123
123
|
)
|
|
124
124
|
class GetPackageTypeTests(TestCase):
|
|
125
|
-
"""Tests for
|
|
125
|
+
"""Tests for get_package_type() function."""
|
|
126
126
|
|
|
127
|
-
def
|
|
127
|
+
def testget_package_type_deb(self):
|
|
128
128
|
"""Test DEB package type detection."""
|
|
129
|
-
self.assertEqual(
|
|
130
|
-
self.assertEqual(
|
|
131
|
-
self.assertEqual(
|
|
129
|
+
self.assertEqual(get_package_type('deb'), Package.DEB)
|
|
130
|
+
self.assertEqual(get_package_type('DEB'), Package.DEB)
|
|
131
|
+
self.assertEqual(get_package_type('Deb'), Package.DEB)
|
|
132
132
|
|
|
133
|
-
def
|
|
133
|
+
def testget_package_type_rpm(self):
|
|
134
134
|
"""Test RPM package type detection."""
|
|
135
|
-
self.assertEqual(
|
|
136
|
-
self.assertEqual(
|
|
135
|
+
self.assertEqual(get_package_type('rpm'), Package.RPM)
|
|
136
|
+
self.assertEqual(get_package_type('RPM'), Package.RPM)
|
|
137
137
|
|
|
138
|
-
def
|
|
138
|
+
def testget_package_type_arch(self):
|
|
139
139
|
"""Test Arch package type detection."""
|
|
140
|
-
self.assertEqual(
|
|
140
|
+
self.assertEqual(get_package_type('arch'), Package.ARCH)
|
|
141
141
|
|
|
142
|
-
def
|
|
142
|
+
def testget_package_type_gentoo(self):
|
|
143
143
|
"""Test Gentoo package type detection."""
|
|
144
|
-
self.assertEqual(
|
|
144
|
+
self.assertEqual(get_package_type('gentoo'), Package.GENTOO)
|
|
145
145
|
|
|
146
|
-
def
|
|
146
|
+
def testget_package_type_unknown(self):
|
|
147
147
|
"""Test unknown package type returns UNKNOWN."""
|
|
148
|
-
self.assertEqual(
|
|
149
|
-
self.assertEqual(
|
|
150
|
-
self.assertEqual(
|
|
148
|
+
self.assertEqual(get_package_type(''), Package.UNKNOWN)
|
|
149
|
+
self.assertEqual(get_package_type('invalid'), Package.UNKNOWN)
|
|
150
|
+
self.assertEqual(get_package_type(None), Package.UNKNOWN)
|
|
151
151
|
|
|
152
152
|
|
|
153
153
|
@override_settings(
|
|
@@ -155,30 +155,30 @@ class GetPackageTypeTests(TestCase):
|
|
|
155
155
|
CACHES={'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
|
|
156
156
|
)
|
|
157
157
|
class GetRepoTypeTests(TestCase):
|
|
158
|
-
"""Tests for
|
|
158
|
+
"""Tests for get_repo_type() function."""
|
|
159
159
|
|
|
160
|
-
def
|
|
160
|
+
def testget_repo_type_deb(self):
|
|
161
161
|
"""Test DEB repo type detection."""
|
|
162
|
-
self.assertEqual(
|
|
163
|
-
self.assertEqual(
|
|
162
|
+
self.assertEqual(get_repo_type('deb'), Repository.DEB)
|
|
163
|
+
self.assertEqual(get_repo_type('DEB'), Repository.DEB)
|
|
164
164
|
|
|
165
|
-
def
|
|
165
|
+
def testget_repo_type_rpm(self):
|
|
166
166
|
"""Test RPM repo type detection."""
|
|
167
|
-
self.assertEqual(
|
|
168
|
-
self.assertEqual(
|
|
167
|
+
self.assertEqual(get_repo_type('rpm'), Repository.RPM)
|
|
168
|
+
self.assertEqual(get_repo_type('RPM'), Repository.RPM)
|
|
169
169
|
|
|
170
|
-
def
|
|
170
|
+
def testget_repo_type_arch(self):
|
|
171
171
|
"""Test Arch repo type detection."""
|
|
172
|
-
self.assertEqual(
|
|
172
|
+
self.assertEqual(get_repo_type('arch'), Repository.ARCH)
|
|
173
173
|
|
|
174
|
-
def
|
|
174
|
+
def testget_repo_type_gentoo(self):
|
|
175
175
|
"""Test Gentoo repo type detection."""
|
|
176
|
-
self.assertEqual(
|
|
176
|
+
self.assertEqual(get_repo_type('gentoo'), Repository.GENTOO)
|
|
177
177
|
|
|
178
|
-
def
|
|
178
|
+
def testget_repo_type_unknown(self):
|
|
179
179
|
"""Test unknown repo type returns None."""
|
|
180
|
-
self.assertIsNone(
|
|
181
|
-
self.assertIsNone(
|
|
180
|
+
self.assertIsNone(get_repo_type(''))
|
|
181
|
+
self.assertIsNone(get_repo_type('invalid'))
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
@override_settings(
|
|
@@ -34,7 +34,9 @@ from packages.utils import (
|
|
|
34
34
|
from patchman.signals import pbar_start, pbar_update
|
|
35
35
|
from repos.models import Mirror, MirrorPackage, Repository
|
|
36
36
|
from repos.utils import get_or_create_repo
|
|
37
|
-
from util.logging import
|
|
37
|
+
from util.logging import (
|
|
38
|
+
debug_message, error_message, info_message, warning_message,
|
|
39
|
+
)
|
|
38
40
|
|
|
39
41
|
|
|
40
42
|
def process_repos(report, host):
|
|
@@ -216,7 +218,7 @@ def parse_repos(repos_string):
|
|
|
216
218
|
return repos
|
|
217
219
|
|
|
218
220
|
|
|
219
|
-
def
|
|
221
|
+
def get_repo_type(type_str):
|
|
220
222
|
""" Convert repo type string to Repository constant
|
|
221
223
|
"""
|
|
222
224
|
type_str = type_str.lower()
|
|
@@ -242,6 +244,9 @@ def process_repo(r_type, r_name, r_id, r_priority, urls, arch):
|
|
|
242
244
|
for r_url in urls:
|
|
243
245
|
if r_type == Repository.GENTOO and r_url.startswith('rsync'):
|
|
244
246
|
r_url = 'https://api.gentoo.org/mirrors/distfiles.xml'
|
|
247
|
+
if not r_url.startswith(('http://', 'https://')):
|
|
248
|
+
warning_message(text=f'Skipping non-http(s) mirror URL: {r_url}')
|
|
249
|
+
continue
|
|
245
250
|
try:
|
|
246
251
|
mirror = Mirror.objects.get(url=r_url.strip('/'))
|
|
247
252
|
except Mirror.DoesNotExist:
|
|
@@ -259,7 +264,8 @@ def process_repo(r_type, r_name, r_id, r_priority, urls, arch):
|
|
|
259
264
|
repository.repo_id = r_id
|
|
260
265
|
|
|
261
266
|
for url in unknown:
|
|
262
|
-
|
|
267
|
+
if url.startswith(('http://', 'https://')):
|
|
268
|
+
Mirror.objects.create(repo=repository, url=url.rstrip('/'))
|
|
263
269
|
|
|
264
270
|
for mirror in Mirror.objects.filter(repo=repository).values('url'):
|
|
265
271
|
mirror_url = mirror.get('url')
|
|
@@ -364,7 +370,7 @@ def parse_packages(packages_string):
|
|
|
364
370
|
return packages
|
|
365
371
|
|
|
366
372
|
|
|
367
|
-
def
|
|
373
|
+
def get_package_type(type_str):
|
|
368
374
|
""" Convert package type string to Package constant
|
|
369
375
|
"""
|
|
370
376
|
type_str = type_str.lower() if type_str else ''
|
|
@@ -398,7 +404,7 @@ def process_package_text(pkg):
|
|
|
398
404
|
rel = pkg[3] if pkg[3] else ''
|
|
399
405
|
arch = pkg[4] if pkg[4] else 'unknown'
|
|
400
406
|
|
|
401
|
-
p_type =
|
|
407
|
+
p_type = get_package_type(pkg[5])
|
|
402
408
|
p_category = pkg[6] if p_type == Package.GENTOO and len(pkg) > 6 else None
|
|
403
409
|
p_repo = pkg[7] if p_type == Package.GENTOO and len(pkg) > 7 else None
|
|
404
410
|
|
|
@@ -413,7 +419,7 @@ def process_package_json(pkg):
|
|
|
413
419
|
ver = pkg.get('version', '')
|
|
414
420
|
rel = pkg.get('release', '')
|
|
415
421
|
arch = pkg.get('arch', 'unknown')
|
|
416
|
-
p_type =
|
|
422
|
+
p_type = get_package_type(pkg.get('type', ''))
|
|
417
423
|
p_category = pkg.get('category') if p_type == Package.GENTOO else None
|
|
418
424
|
p_repo = pkg.get('repo') if p_type == Package.GENTOO else None
|
|
419
425
|
|
|
@@ -453,7 +459,7 @@ def process_packages_json(packages_json, host):
|
|
|
453
459
|
def process_repo_json(repo, arch):
|
|
454
460
|
""" Processes a single JSON repo dict and converts to a repo object
|
|
455
461
|
"""
|
|
456
|
-
r_type =
|
|
462
|
+
r_type = get_repo_type(repo.get('type', ''))
|
|
457
463
|
if r_type is None:
|
|
458
464
|
return None, 0
|
|
459
465
|
|