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.
Files changed (366) hide show
  1. {patchman-4.0.19 → patchman-4.0.21}/INSTALL.md +19 -18
  2. {patchman-4.0.19 → patchman-4.0.21}/PKG-INFO +3 -4
  3. patchman-4.0.21/VERSION.txt +1 -0
  4. patchman-4.0.21/errata/migrations/0010_synopsis_textfield.py +18 -0
  5. {patchman-4.0.19 → patchman-4.0.21}/errata/models.py +1 -1
  6. patchman-4.0.21/hosts/migrations/0013_alter_hostrepo_unique_together_and_more.py +21 -0
  7. {patchman-4.0.19 → patchman-4.0.21}/hosts/models.py +6 -1
  8. patchman-4.0.21/modules/migrations/0007_alter_module_unique_together_module_unique_module.py +21 -0
  9. {patchman-4.0.19 → patchman-4.0.21}/modules/models.py +6 -1
  10. patchman-4.0.21/operatingsystems/migrations/0012_alter_osrelease_unique_together_and_more.py +21 -0
  11. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/models.py +6 -1
  12. patchman-4.0.21/packages/migrations/0008_alter_package_unique_together_and_more.py +29 -0
  13. {patchman-4.0.19 → patchman-4.0.21}/packages/models.py +12 -2
  14. {patchman-4.0.19 → patchman-4.0.21}/patchman/settings.py +1 -2
  15. {patchman-4.0.19 → patchman-4.0.21}/patchman/urls.py +1 -2
  16. {patchman-4.0.19 → patchman-4.0.21}/patchman.egg-info/PKG-INFO +3 -4
  17. {patchman-4.0.19 → patchman-4.0.21}/patchman.egg-info/SOURCES.txt +6 -0
  18. {patchman-4.0.19 → patchman-4.0.21}/patchman.egg-info/requires.txt +1 -1
  19. {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_parsing.py +31 -31
  20. {patchman-4.0.19 → patchman-4.0.21}/reports/utils.py +13 -7
  21. {patchman-4.0.19 → patchman-4.0.21}/reports/views.py +3 -3
  22. {patchman-4.0.19 → patchman-4.0.21}/repos/utils.py +3 -0
  23. {patchman-4.0.19 → patchman-4.0.21}/requirements.txt +1 -1
  24. {patchman-4.0.19 → patchman-4.0.21}/scripts/rpm-install.sh +1 -1
  25. patchman-4.0.21/security/migrations/0011_alter_cvss_unique_together_and_more.py +29 -0
  26. {patchman-4.0.19 → patchman-4.0.21}/security/models.py +12 -2
  27. {patchman-4.0.19 → patchman-4.0.21}/security/tests/test_models.py +2 -4
  28. {patchman-4.0.19 → patchman-4.0.21}/setup.cfg +2 -2
  29. {patchman-4.0.19 → patchman-4.0.21}/setup.py +1 -2
  30. {patchman-4.0.19 → patchman-4.0.21}/util/__init__.py +18 -9
  31. {patchman-4.0.19 → patchman-4.0.21}/util/context_processors.py +4 -4
  32. {patchman-4.0.19 → patchman-4.0.21}/util/filterspecs.py +2 -1
  33. patchman-4.0.19/VERSION.txt +0 -1
  34. {patchman-4.0.19 → patchman-4.0.21}/AUTHORS +0 -0
  35. {patchman-4.0.19 → patchman-4.0.21}/COPYING +0 -0
  36. {patchman-4.0.19 → patchman-4.0.21}/MANIFEST.in +0 -0
  37. {patchman-4.0.19 → patchman-4.0.21}/README.md +0 -0
  38. {patchman-4.0.19 → patchman-4.0.21}/arch/__init__.py +0 -0
  39. {patchman-4.0.19 → patchman-4.0.21}/arch/admin.py +0 -0
  40. {patchman-4.0.19 → patchman-4.0.21}/arch/apps.py +0 -0
  41. {patchman-4.0.19 → patchman-4.0.21}/arch/migrations/0001_initial.py +0 -0
  42. {patchman-4.0.19 → patchman-4.0.21}/arch/migrations/0002_alter_machinearchitecture_options_and_more.py +0 -0
  43. {patchman-4.0.19 → patchman-4.0.21}/arch/migrations/__init__.py +0 -0
  44. {patchman-4.0.19 → patchman-4.0.21}/arch/models.py +0 -0
  45. {patchman-4.0.19 → patchman-4.0.21}/arch/serializers.py +0 -0
  46. {patchman-4.0.19 → patchman-4.0.21}/arch/tests/__init__.py +0 -0
  47. {patchman-4.0.19 → patchman-4.0.21}/arch/tests/test_api.py +0 -0
  48. {patchman-4.0.19 → patchman-4.0.21}/arch/tests/test_models.py +0 -0
  49. {patchman-4.0.19 → patchman-4.0.21}/arch/utils.py +0 -0
  50. {patchman-4.0.19 → patchman-4.0.21}/arch/views.py +0 -0
  51. {patchman-4.0.19 → patchman-4.0.21}/domains/__init__.py +0 -0
  52. {patchman-4.0.19 → patchman-4.0.21}/domains/admin.py +0 -0
  53. {patchman-4.0.19 → patchman-4.0.21}/domains/apps.py +0 -0
  54. {patchman-4.0.19 → patchman-4.0.21}/domains/migrations/0001_initial.py +0 -0
  55. {patchman-4.0.19 → patchman-4.0.21}/domains/migrations/0002_alter_domain_options.py +0 -0
  56. {patchman-4.0.19 → patchman-4.0.21}/domains/migrations/__init__.py +0 -0
  57. {patchman-4.0.19 → patchman-4.0.21}/domains/models.py +0 -0
  58. {patchman-4.0.19 → patchman-4.0.21}/domains/serializers.py +0 -0
  59. {patchman-4.0.19 → patchman-4.0.21}/domains/tests/__init__.py +0 -0
  60. {patchman-4.0.19 → patchman-4.0.21}/domains/tests/test_api.py +0 -0
  61. {patchman-4.0.19 → patchman-4.0.21}/domains/tests/test_models.py +0 -0
  62. {patchman-4.0.19 → patchman-4.0.21}/domains/views.py +0 -0
  63. {patchman-4.0.19 → patchman-4.0.21}/errata/__init__.py +0 -0
  64. {patchman-4.0.19 → patchman-4.0.21}/errata/admin.py +0 -0
  65. {patchman-4.0.19 → patchman-4.0.21}/errata/apps.py +0 -0
  66. {patchman-4.0.19 → patchman-4.0.21}/errata/managers.py +0 -0
  67. {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0001_initial.py +0 -0
  68. {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0002_alter_erratumreference_unique_together.py +0 -0
  69. {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0003_delete_erratumreference_alter_erratum_references.py +0 -0
  70. {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0004_rename_packages_erratum_fixed_packages.py +0 -0
  71. {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0005_erratum_affected_packages_and_more.py +0 -0
  72. {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0006_alter_erratum_options.py +0 -0
  73. {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0007_alter_erratum_fixed_packages.py +0 -0
  74. {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0008_add_cached_count_fields.py +0 -0
  75. {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/0009_backfill_cached_counts.py +0 -0
  76. {patchman-4.0.19 → patchman-4.0.21}/errata/migrations/__init__.py +0 -0
  77. {patchman-4.0.19 → patchman-4.0.21}/errata/serializers.py +0 -0
  78. {patchman-4.0.19 → patchman-4.0.21}/errata/signals.py +0 -0
  79. {patchman-4.0.19 → patchman-4.0.21}/errata/sources/__init__.py +0 -0
  80. {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/__init__.py +0 -0
  81. {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/alma.py +0 -0
  82. {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/arch.py +0 -0
  83. {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/centos.py +0 -0
  84. {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/debian.py +0 -0
  85. {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/rocky.py +0 -0
  86. {patchman-4.0.19 → patchman-4.0.21}/errata/sources/distros/ubuntu.py +0 -0
  87. {patchman-4.0.19 → patchman-4.0.21}/errata/sources/repos/__init__.py +0 -0
  88. {patchman-4.0.19 → patchman-4.0.21}/errata/sources/repos/yum.py +0 -0
  89. {patchman-4.0.19 → patchman-4.0.21}/errata/tables.py +0 -0
  90. {patchman-4.0.19 → patchman-4.0.21}/errata/tasks.py +0 -0
  91. {patchman-4.0.19 → patchman-4.0.21}/errata/templates/errata/erratum_detail.html +0 -0
  92. {patchman-4.0.19 → patchman-4.0.21}/errata/templates/errata/erratum_list.html +0 -0
  93. {patchman-4.0.19 → patchman-4.0.21}/errata/tests/__init__.py +0 -0
  94. {patchman-4.0.19 → patchman-4.0.21}/errata/tests/test_api.py +0 -0
  95. {patchman-4.0.19 → patchman-4.0.21}/errata/tests/test_integration.py +0 -0
  96. {patchman-4.0.19 → patchman-4.0.21}/errata/tests/test_models.py +0 -0
  97. {patchman-4.0.19 → patchman-4.0.21}/errata/urls.py +0 -0
  98. {patchman-4.0.19 → patchman-4.0.21}/errata/utils.py +0 -0
  99. {patchman-4.0.19 → patchman-4.0.21}/errata/views.py +0 -0
  100. {patchman-4.0.19 → patchman-4.0.21}/etc/patchman/apache.conf.example +0 -0
  101. {patchman-4.0.19 → patchman-4.0.21}/etc/patchman/celery.conf +0 -0
  102. {patchman-4.0.19 → patchman-4.0.21}/etc/patchman/local_settings.py +0 -0
  103. {patchman-4.0.19 → patchman-4.0.21}/etc/systemd/system/patchman-celery-beat.service +0 -0
  104. {patchman-4.0.19 → patchman-4.0.21}/etc/systemd/system/patchman-celery-worker@.service +0 -0
  105. {patchman-4.0.19 → patchman-4.0.21}/hosts/__init__.py +0 -0
  106. {patchman-4.0.19 → patchman-4.0.21}/hosts/admin.py +0 -0
  107. {patchman-4.0.19 → patchman-4.0.21}/hosts/apps.py +0 -0
  108. {patchman-4.0.19 → patchman-4.0.21}/hosts/forms.py +0 -0
  109. {patchman-4.0.19 → patchman-4.0.21}/hosts/managers.py +0 -0
  110. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0001_initial.py +0 -0
  111. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0002_initial.py +0 -0
  112. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0003_host_modules.py +0 -0
  113. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0004_remove_host_tags_host_tags.py +0 -0
  114. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0005_rename_os_host_osvariant.py +0 -0
  115. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0006_migrate_to_tz_aware.py +0 -0
  116. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0007_alter_host_tags.py +0 -0
  117. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0008_alter_host_options.py +0 -0
  118. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0009_host_errata.py +0 -0
  119. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0010_alter_hostrepo_options.py +0 -0
  120. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0011_host_bug_updates_count_host_errata_count_and_more.py +0 -0
  121. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/0012_backfill_cached_counts.py +0 -0
  122. {patchman-4.0.19 → patchman-4.0.21}/hosts/migrations/__init__.py +0 -0
  123. {patchman-4.0.19 → patchman-4.0.21}/hosts/serializers.py +0 -0
  124. {patchman-4.0.19 → patchman-4.0.21}/hosts/signals.py +0 -0
  125. {patchman-4.0.19 → patchman-4.0.21}/hosts/tables.py +0 -0
  126. {patchman-4.0.19 → patchman-4.0.21}/hosts/tasks.py +0 -0
  127. {patchman-4.0.19 → patchman-4.0.21}/hosts/templates/hosts/host_delete.html +0 -0
  128. {patchman-4.0.19 → patchman-4.0.21}/hosts/templates/hosts/host_detail.html +0 -0
  129. {patchman-4.0.19 → patchman-4.0.21}/hosts/templates/hosts/host_edit.html +0 -0
  130. {patchman-4.0.19 → patchman-4.0.21}/hosts/templates/hosts/host_list.html +0 -0
  131. {patchman-4.0.19 → patchman-4.0.21}/hosts/templatetags/__init__.py +0 -0
  132. {patchman-4.0.19 → patchman-4.0.21}/hosts/templatetags/report_alert.py +0 -0
  133. {patchman-4.0.19 → patchman-4.0.21}/hosts/tests/__init__.py +0 -0
  134. {patchman-4.0.19 → patchman-4.0.21}/hosts/tests/test_api.py +0 -0
  135. {patchman-4.0.19 → patchman-4.0.21}/hosts/tests/test_find_updates.py +0 -0
  136. {patchman-4.0.19 → patchman-4.0.21}/hosts/tests/test_managers.py +0 -0
  137. {patchman-4.0.19 → patchman-4.0.21}/hosts/tests/test_models.py +0 -0
  138. {patchman-4.0.19 → patchman-4.0.21}/hosts/urls.py +0 -0
  139. {patchman-4.0.19 → patchman-4.0.21}/hosts/utils.py +0 -0
  140. {patchman-4.0.19 → patchman-4.0.21}/hosts/views.py +0 -0
  141. {patchman-4.0.19 → patchman-4.0.21}/modules/__init__.py +0 -0
  142. {patchman-4.0.19 → patchman-4.0.21}/modules/admin.py +0 -0
  143. {patchman-4.0.19 → patchman-4.0.21}/modules/apps.py +0 -0
  144. {patchman-4.0.19 → patchman-4.0.21}/modules/managers.py +0 -0
  145. {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/0001_initial.py +0 -0
  146. {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/0002_auto_20240204_2214.py +0 -0
  147. {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/0003_alter_module_options.py +0 -0
  148. {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/0004_alter_module_options.py +0 -0
  149. {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/0005_alter_module_unique_together.py +0 -0
  150. {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/0006_alter_module_context_alter_module_name_and_more.py +0 -0
  151. {patchman-4.0.19 → patchman-4.0.21}/modules/migrations/__init__.py +0 -0
  152. {patchman-4.0.19 → patchman-4.0.21}/modules/serializers.py +0 -0
  153. {patchman-4.0.19 → patchman-4.0.21}/modules/tables.py +0 -0
  154. {patchman-4.0.19 → patchman-4.0.21}/modules/templates/modules/module_detail.html +0 -0
  155. {patchman-4.0.19 → patchman-4.0.21}/modules/templates/modules/module_list.html +0 -0
  156. {patchman-4.0.19 → patchman-4.0.21}/modules/urls.py +0 -0
  157. {patchman-4.0.19 → patchman-4.0.21}/modules/utils.py +0 -0
  158. {patchman-4.0.19 → patchman-4.0.21}/modules/views.py +0 -0
  159. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/__init__.py +0 -0
  160. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/admin.py +0 -0
  161. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/apps.py +0 -0
  162. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/fixtures/os.json +0 -0
  163. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/fixtures/osgroup.json +0 -0
  164. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/forms.py +0 -0
  165. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/managers.py +0 -0
  166. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0001_initial.py +0 -0
  167. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0002_initial.py +0 -0
  168. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0003_os_arch.py +0 -0
  169. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0003_osgroup_codename.py +0 -0
  170. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0004_alter_osgroup_unique_together.py +0 -0
  171. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0005_rename_osgroup_osrelease_rename_os_osvariant_and_more.py +0 -0
  172. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0006_osrelease_cpe_name_osvariant_codename.py +0 -0
  173. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0007_alter_osrelease_unique_together.py +0 -0
  174. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0008_alter_osrelease_options_alter_osvariant_options.py +0 -0
  175. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0009_osvariant_hosts_count.py +0 -0
  176. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0010_backfill_osvariant_counts.py +0 -0
  177. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/0011_alter_osrelease_codename_alter_osrelease_cpe_name_and_more.py +0 -0
  178. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/migrations/__init__.py +0 -0
  179. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/serializers.py +0 -0
  180. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/signals.py +0 -0
  181. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/tables.py +0 -0
  182. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/os_landing.html +0 -0
  183. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osrelease_delete.html +0 -0
  184. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osrelease_detail.html +0 -0
  185. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osrelease_list.html +0 -0
  186. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osvariant_delete.html +0 -0
  187. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osvariant_delete_multiple.html +0 -0
  188. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osvariant_detail.html +0 -0
  189. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/templates/operatingsystems/osvariant_list.html +0 -0
  190. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/tests/__init__.py +0 -0
  191. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/tests/test_api.py +0 -0
  192. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/tests/test_models.py +0 -0
  193. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/urls.py +0 -0
  194. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/utils.py +0 -0
  195. {patchman-4.0.19 → patchman-4.0.21}/operatingsystems/views.py +0 -0
  196. {patchman-4.0.19 → patchman-4.0.21}/packages/__init__.py +0 -0
  197. {patchman-4.0.19 → patchman-4.0.21}/packages/admin.py +0 -0
  198. {patchman-4.0.19 → patchman-4.0.21}/packages/apps.py +0 -0
  199. {patchman-4.0.19 → patchman-4.0.21}/packages/managers.py +0 -0
  200. {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0001_initial.py +0 -0
  201. {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0002_auto_20250207_1319.py +0 -0
  202. {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0002_delete_erratum_delete_erratumreference.py +0 -0
  203. {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0003_auto_20250207_1746.py +0 -0
  204. {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0004_alter_package_options_alter_packagecategory_options_and_more.py +0 -0
  205. {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0005_alter_package_packagetype.py +0 -0
  206. {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0006_alter_packageupdate_options.py +0 -0
  207. {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/0007_alter_package_epoch_alter_package_release_and_more.py +0 -0
  208. {patchman-4.0.19 → patchman-4.0.21}/packages/migrations/__init__.py +0 -0
  209. {patchman-4.0.19 → patchman-4.0.21}/packages/serializers.py +0 -0
  210. {patchman-4.0.19 → patchman-4.0.21}/packages/tables.py +0 -0
  211. {patchman-4.0.19 → patchman-4.0.21}/packages/templates/packages/package_detail.html +0 -0
  212. {patchman-4.0.19 → patchman-4.0.21}/packages/templates/packages/package_list.html +0 -0
  213. {patchman-4.0.19 → patchman-4.0.21}/packages/templates/packages/package_name_detail.html +0 -0
  214. {patchman-4.0.19 → patchman-4.0.21}/packages/templates/packages/package_name_list.html +0 -0
  215. {patchman-4.0.19 → patchman-4.0.21}/packages/templates/packages/package_update_list.html +0 -0
  216. {patchman-4.0.19 → patchman-4.0.21}/packages/tests/__init__.py +0 -0
  217. {patchman-4.0.19 → patchman-4.0.21}/packages/tests/test_api.py +0 -0
  218. {patchman-4.0.19 → patchman-4.0.21}/packages/tests/test_models.py +0 -0
  219. {patchman-4.0.19 → patchman-4.0.21}/packages/tests/test_version_compare.py +0 -0
  220. {patchman-4.0.19 → patchman-4.0.21}/packages/tests/test_views.py +0 -0
  221. {patchman-4.0.19 → patchman-4.0.21}/packages/urls.py +0 -0
  222. {patchman-4.0.19 → patchman-4.0.21}/packages/utils.py +0 -0
  223. {patchman-4.0.19 → patchman-4.0.21}/packages/views.py +0 -0
  224. {patchman-4.0.19 → patchman-4.0.21}/patchman/__init__.py +0 -0
  225. {patchman-4.0.19 → patchman-4.0.21}/patchman/celery.py +0 -0
  226. {patchman-4.0.19 → patchman-4.0.21}/patchman/receivers.py +0 -0
  227. {patchman-4.0.19 → patchman-4.0.21}/patchman/signals.py +0 -0
  228. {patchman-4.0.19 → patchman-4.0.21}/patchman/sqlite3/base.py +0 -0
  229. {patchman-4.0.19 → patchman-4.0.21}/patchman/static/css/base.css +0 -0
  230. {patchman-4.0.19 → patchman-4.0.21}/patchman/static/js/expandable-text.js +0 -0
  231. {patchman-4.0.19 → patchman-4.0.21}/patchman/static/js/sidebar.js +0 -0
  232. {patchman-4.0.19 → patchman-4.0.21}/patchman/wsgi.py +0 -0
  233. {patchman-4.0.19 → patchman-4.0.21}/patchman.egg-info/dependency_links.txt +0 -0
  234. {patchman-4.0.19 → patchman-4.0.21}/patchman.egg-info/top_level.txt +0 -0
  235. {patchman-4.0.19 → patchman-4.0.21}/reports/__init__.py +0 -0
  236. {patchman-4.0.19 → patchman-4.0.21}/reports/admin.py +0 -0
  237. {patchman-4.0.19 → patchman-4.0.21}/reports/apps.py +0 -0
  238. {patchman-4.0.19 → patchman-4.0.21}/reports/migrations/0001_initial.py +0 -0
  239. {patchman-4.0.19 → patchman-4.0.21}/reports/migrations/0002_report_modules.py +0 -0
  240. {patchman-4.0.19 → patchman-4.0.21}/reports/migrations/0003_remove_report_accessed.py +0 -0
  241. {patchman-4.0.19 → patchman-4.0.21}/reports/migrations/0004_migrate_to_tz_aware.py +0 -0
  242. {patchman-4.0.19 → patchman-4.0.21}/reports/migrations/0005_alter_report_options.py +0 -0
  243. {patchman-4.0.19 → patchman-4.0.21}/reports/migrations/__init__.py +0 -0
  244. {patchman-4.0.19 → patchman-4.0.21}/reports/models.py +0 -0
  245. {patchman-4.0.19 → patchman-4.0.21}/reports/serializers.py +0 -0
  246. {patchman-4.0.19 → patchman-4.0.21}/reports/tables.py +0 -0
  247. {patchman-4.0.19 → patchman-4.0.21}/reports/tasks.py +0 -0
  248. {patchman-4.0.19 → patchman-4.0.21}/reports/templates/reports/report.txt +0 -0
  249. {patchman-4.0.19 → patchman-4.0.21}/reports/templates/reports/report_delete.html +0 -0
  250. {patchman-4.0.19 → patchman-4.0.21}/reports/templates/reports/report_detail.html +0 -0
  251. {patchman-4.0.19 → patchman-4.0.21}/reports/templates/reports/report_list.html +0 -0
  252. {patchman-4.0.19 → patchman-4.0.21}/reports/tests/__init__.py +0 -0
  253. {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_api.py +0 -0
  254. {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_edge_cases.py +0 -0
  255. {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_integration.py +0 -0
  256. {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_models.py +0 -0
  257. {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_serializers.py +0 -0
  258. {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_tasks.py +0 -0
  259. {patchman-4.0.19 → patchman-4.0.21}/reports/tests/test_utils.py +0 -0
  260. {patchman-4.0.19 → patchman-4.0.21}/reports/urls.py +0 -0
  261. {patchman-4.0.19 → patchman-4.0.21}/repos/__init__.py +0 -0
  262. {patchman-4.0.19 → patchman-4.0.21}/repos/admin.py +0 -0
  263. {patchman-4.0.19 → patchman-4.0.21}/repos/apps.py +0 -0
  264. {patchman-4.0.19 → patchman-4.0.21}/repos/forms.py +0 -0
  265. {patchman-4.0.19 → patchman-4.0.21}/repos/managers.py +0 -0
  266. {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0001_initial.py +0 -0
  267. {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0002_alter_repository_repotype.py +0 -0
  268. {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0003_migrate_to_tz_aware.py +0 -0
  269. {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0004_rename_file_checksum_mirror_package_checksum.py +0 -0
  270. {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0005_rename_package_checksum_mirror_packages_checksum.py +0 -0
  271. {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0006_mirror_errata_checksum_mirror_modules_checksum.py +0 -0
  272. {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0007_alter_mirror_options_alter_mirrorpackage_options_and_more.py +0 -0
  273. {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0008_mirror_packages_count.py +0 -0
  274. {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/0009_backfill_mirror_counts.py +0 -0
  275. {patchman-4.0.19 → patchman-4.0.21}/repos/migrations/__init__.py +0 -0
  276. {patchman-4.0.19 → patchman-4.0.21}/repos/models.py +0 -0
  277. {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/__init__.py +0 -0
  278. {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/arch.py +0 -0
  279. {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/deb.py +0 -0
  280. {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/gentoo.py +0 -0
  281. {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/rpm.py +0 -0
  282. {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/yast.py +0 -0
  283. {patchman-4.0.19 → patchman-4.0.21}/repos/repo_types/yum.py +0 -0
  284. {patchman-4.0.19 → patchman-4.0.21}/repos/serializers.py +0 -0
  285. {patchman-4.0.19 → patchman-4.0.21}/repos/signals.py +0 -0
  286. {patchman-4.0.19 → patchman-4.0.21}/repos/tables.py +0 -0
  287. {patchman-4.0.19 → patchman-4.0.21}/repos/tasks.py +0 -0
  288. {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/mirror_delete.html +0 -0
  289. {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/mirror_detail.html +0 -0
  290. {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/mirror_edit.html +0 -0
  291. {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/mirror_list.html +0 -0
  292. {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/mirror_with_repo_list.html +0 -0
  293. {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/repo_delete.html +0 -0
  294. {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/repo_detail.html +0 -0
  295. {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/repo_edit.html +0 -0
  296. {patchman-4.0.19 → patchman-4.0.21}/repos/templates/repos/repo_list.html +0 -0
  297. {patchman-4.0.19 → patchman-4.0.21}/repos/templatetags/__init__.py +0 -0
  298. {patchman-4.0.19 → patchman-4.0.21}/repos/tests/__init__.py +0 -0
  299. {patchman-4.0.19 → patchman-4.0.21}/repos/tests/test_api.py +0 -0
  300. {patchman-4.0.19 → patchman-4.0.21}/repos/tests/test_managers.py +0 -0
  301. {patchman-4.0.19 → patchman-4.0.21}/repos/tests/test_mirror_sync.py +0 -0
  302. {patchman-4.0.19 → patchman-4.0.21}/repos/tests/test_models.py +0 -0
  303. {patchman-4.0.19 → patchman-4.0.21}/repos/tests/test_views.py +0 -0
  304. {patchman-4.0.19 → patchman-4.0.21}/repos/urls.py +0 -0
  305. {patchman-4.0.19 → patchman-4.0.21}/repos/views.py +0 -0
  306. {patchman-4.0.19 → patchman-4.0.21}/sbin/patchman +0 -0
  307. {patchman-4.0.19 → patchman-4.0.21}/sbin/patchman-manage +0 -0
  308. {patchman-4.0.19 → patchman-4.0.21}/sbin/patchman-set-secret-key +0 -0
  309. {patchman-4.0.19 → patchman-4.0.21}/scripts/clear-django-logs.py +0 -0
  310. {patchman-4.0.19 → patchman-4.0.21}/scripts/create_graph.sh +0 -0
  311. {patchman-4.0.19 → patchman-4.0.21}/scripts/rpm-post-install.sh +0 -0
  312. {patchman-4.0.19 → patchman-4.0.21}/security/__init__.py +0 -0
  313. {patchman-4.0.19 → patchman-4.0.21}/security/admin.py +0 -0
  314. {patchman-4.0.19 → patchman-4.0.21}/security/apps.py +0 -0
  315. {patchman-4.0.19 → patchman-4.0.21}/security/managers.py +0 -0
  316. {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0001_initial.py +0 -0
  317. {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0002_alter_cve_options.py +0 -0
  318. {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0003_alter_cve_description_alter_cwe_description.py +0 -0
  319. {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0004_alter_cve_options.py +0 -0
  320. {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0005_reference_cve_references.py +0 -0
  321. {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0006_alter_cve_options_alter_cvss_unique_together.py +0 -0
  322. {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0007_remove_cve_title.py +0 -0
  323. {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0008_alter_cwe_options_alter_reference_options.py +0 -0
  324. {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0009_alter_cvss_severity_alter_cvss_vector_string_and_more.py +0 -0
  325. {patchman-4.0.19 → patchman-4.0.21}/security/migrations/0010_fix_cvss_vector_string_length.py +0 -0
  326. {patchman-4.0.19 → patchman-4.0.21}/security/migrations/__init__.py +0 -0
  327. {patchman-4.0.19 → patchman-4.0.21}/security/serializers.py +0 -0
  328. {patchman-4.0.19 → patchman-4.0.21}/security/tables.py +0 -0
  329. {patchman-4.0.19 → patchman-4.0.21}/security/tasks.py +0 -0
  330. {patchman-4.0.19 → patchman-4.0.21}/security/templates/security/cve_detail.html +0 -0
  331. {patchman-4.0.19 → patchman-4.0.21}/security/templates/security/cve_list.html +0 -0
  332. {patchman-4.0.19 → patchman-4.0.21}/security/templates/security/cwe_detail.html +0 -0
  333. {patchman-4.0.19 → patchman-4.0.21}/security/templates/security/cwe_list.html +0 -0
  334. {patchman-4.0.19 → patchman-4.0.21}/security/templates/security/reference_list.html +0 -0
  335. {patchman-4.0.19 → patchman-4.0.21}/security/templates/security/security_landing.html +0 -0
  336. {patchman-4.0.19 → patchman-4.0.21}/security/tests/__init__.py +0 -0
  337. {patchman-4.0.19 → patchman-4.0.21}/security/tests/test_api.py +0 -0
  338. {patchman-4.0.19 → patchman-4.0.21}/security/urls.py +0 -0
  339. {patchman-4.0.19 → patchman-4.0.21}/security/utils.py +0 -0
  340. {patchman-4.0.19 → patchman-4.0.21}/security/views.py +0 -0
  341. {patchman-4.0.19 → patchman-4.0.21}/util/apps.py +0 -0
  342. {patchman-4.0.19 → patchman-4.0.21}/util/logging.py +0 -0
  343. {patchman-4.0.19 → patchman-4.0.21}/util/management/__init__.py +0 -0
  344. {patchman-4.0.19 → patchman-4.0.21}/util/management/commands/__init__.py +0 -0
  345. {patchman-4.0.19 → patchman-4.0.21}/util/management/commands/create_api_key.py +0 -0
  346. {patchman-4.0.19 → patchman-4.0.21}/util/management/commands/list_api_keys.py +0 -0
  347. {patchman-4.0.19 → patchman-4.0.21}/util/management/commands/revoke_api_key.py +0 -0
  348. {patchman-4.0.19 → patchman-4.0.21}/util/tables.py +0 -0
  349. {patchman-4.0.19 → patchman-4.0.21}/util/tasks.py +0 -0
  350. {patchman-4.0.19 → patchman-4.0.21}/util/templates/404.html +0 -0
  351. {patchman-4.0.19 → patchman-4.0.21}/util/templates/500.html +0 -0
  352. {patchman-4.0.19 → patchman-4.0.21}/util/templates/base.html +0 -0
  353. {patchman-4.0.19 → patchman-4.0.21}/util/templates/bulk_actions.html +0 -0
  354. {patchman-4.0.19 → patchman-4.0.21}/util/templates/dashboard.html +0 -0
  355. {patchman-4.0.19 → patchman-4.0.21}/util/templates/navbar.html +0 -0
  356. {patchman-4.0.19 → patchman-4.0.21}/util/templates/objectlist.html +0 -0
  357. {patchman-4.0.19 → patchman-4.0.21}/util/templates/registration/login.html +0 -0
  358. {patchman-4.0.19 → patchman-4.0.21}/util/templates/searchbar.html +0 -0
  359. {patchman-4.0.19 → patchman-4.0.21}/util/templates/table.html +0 -0
  360. {patchman-4.0.19 → patchman-4.0.21}/util/templatetags/__init__.py +0 -0
  361. {patchman-4.0.19 → patchman-4.0.21}/util/templatetags/common.py +0 -0
  362. {patchman-4.0.19 → patchman-4.0.21}/util/tests/__init__.py +0 -0
  363. {patchman-4.0.19 → patchman-4.0.21}/util/tests/test_commands.py +0 -0
  364. {patchman-4.0.19 → patchman-4.0.21}/util/tests/test_utils.py +0 -0
  365. {patchman-4.0.19 → patchman-4.0.21}/util/urls.py +0 -0
  366. {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-10)
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 10
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-2.gpg > /etc/pki/rpm-gpg/RPM-GPG-KEY-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/el10
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/redhat)
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.org -p 2
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 / Debian
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 / Alma / RHEL
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/redhat)
438
- systemctl restart redis/redis-server
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
- #### Memcacached
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/redhat)
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.org -p 2 -k abc123...
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.19
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: GPLv3
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.47
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.CharField(max_length=255)
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
- unique_together = ['host', 'repo']
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
- unique_together = ['name', 'stream', 'version', 'context', 'arch', 'repo']
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
- unique_together = ['name', 'codename', 'cpe_name']
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
- unique_together = ['name', 'epoch', 'version', 'release', 'arch', 'packagetype', 'category']
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
- unique_together = ['oldpackage', 'newpackage', 'security']
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):
@@ -65,9 +65,8 @@ TEMPLATES = [
65
65
 
66
66
  # Internationalization
67
67
  LANGUAGE_CODE = 'en-us'
68
- TIME_ZONE = 'America/NewYork'
68
+ TIME_ZONE = 'UTC'
69
69
  USE_I18N = True
70
- USE_L10N = True
71
70
  USE_TZ = True
72
71
 
73
72
  DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
@@ -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.19
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: GPLv3
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.47
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
@@ -13,7 +13,7 @@ django-filter==25.1
13
13
  humanize==4.12.1
14
14
  version-utils==0.3.2
15
15
  python-magic==0.4.27
16
- gitpython==3.1.47
16
+ gitpython==3.1.50
17
17
  tenacity==8.2.3
18
18
  celery==5.4.0
19
19
  redis==6.4.0
@@ -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
- _get_package_type, _get_repo_type, parse_packages, parse_repos,
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 _get_package_type() function."""
125
+ """Tests for get_package_type() function."""
126
126
 
127
- def test_get_package_type_deb(self):
127
+ def testget_package_type_deb(self):
128
128
  """Test DEB package type detection."""
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)
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 test_get_package_type_rpm(self):
133
+ def testget_package_type_rpm(self):
134
134
  """Test RPM package type detection."""
135
- self.assertEqual(_get_package_type('rpm'), Package.RPM)
136
- self.assertEqual(_get_package_type('RPM'), Package.RPM)
135
+ self.assertEqual(get_package_type('rpm'), Package.RPM)
136
+ self.assertEqual(get_package_type('RPM'), Package.RPM)
137
137
 
138
- def test_get_package_type_arch(self):
138
+ def testget_package_type_arch(self):
139
139
  """Test Arch package type detection."""
140
- self.assertEqual(_get_package_type('arch'), Package.ARCH)
140
+ self.assertEqual(get_package_type('arch'), Package.ARCH)
141
141
 
142
- def test_get_package_type_gentoo(self):
142
+ def testget_package_type_gentoo(self):
143
143
  """Test Gentoo package type detection."""
144
- self.assertEqual(_get_package_type('gentoo'), Package.GENTOO)
144
+ self.assertEqual(get_package_type('gentoo'), Package.GENTOO)
145
145
 
146
- def test_get_package_type_unknown(self):
146
+ def testget_package_type_unknown(self):
147
147
  """Test unknown package type returns UNKNOWN."""
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)
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 _get_repo_type() function."""
158
+ """Tests for get_repo_type() function."""
159
159
 
160
- def test_get_repo_type_deb(self):
160
+ def testget_repo_type_deb(self):
161
161
  """Test DEB repo type detection."""
162
- self.assertEqual(_get_repo_type('deb'), Repository.DEB)
163
- self.assertEqual(_get_repo_type('DEB'), Repository.DEB)
162
+ self.assertEqual(get_repo_type('deb'), Repository.DEB)
163
+ self.assertEqual(get_repo_type('DEB'), Repository.DEB)
164
164
 
165
- def test_get_repo_type_rpm(self):
165
+ def testget_repo_type_rpm(self):
166
166
  """Test RPM repo type detection."""
167
- self.assertEqual(_get_repo_type('rpm'), Repository.RPM)
168
- self.assertEqual(_get_repo_type('RPM'), Repository.RPM)
167
+ self.assertEqual(get_repo_type('rpm'), Repository.RPM)
168
+ self.assertEqual(get_repo_type('RPM'), Repository.RPM)
169
169
 
170
- def test_get_repo_type_arch(self):
170
+ def testget_repo_type_arch(self):
171
171
  """Test Arch repo type detection."""
172
- self.assertEqual(_get_repo_type('arch'), Repository.ARCH)
172
+ self.assertEqual(get_repo_type('arch'), Repository.ARCH)
173
173
 
174
- def test_get_repo_type_gentoo(self):
174
+ def testget_repo_type_gentoo(self):
175
175
  """Test Gentoo repo type detection."""
176
- self.assertEqual(_get_repo_type('gentoo'), Repository.GENTOO)
176
+ self.assertEqual(get_repo_type('gentoo'), Repository.GENTOO)
177
177
 
178
- def test_get_repo_type_unknown(self):
178
+ def testget_repo_type_unknown(self):
179
179
  """Test unknown repo type returns None."""
180
- self.assertIsNone(_get_repo_type(''))
181
- self.assertIsNone(_get_repo_type('invalid'))
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 debug_message, error_message, info_message
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 _get_repo_type(type_str):
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
- Mirror.objects.create(repo=repository, url=url.rstrip('/'))
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 _get_package_type(type_str):
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 = _get_package_type(pkg[5])
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 = _get_package_type(pkg.get('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 = _get_repo_type(repo.get('type', ''))
462
+ r_type = get_repo_type(repo.get('type', ''))
457
463
  if r_type is None:
458
464
  return None, 0
459
465