Commit graph

  • 0e4c7d5c53 Deprecation of the project main Michal Konečný 2024-09-12 12:38:29 +00:00
  • c69cc689c1 Strip the bugzilla email in case it has trailing spaces staging production Pierre-Yves Chibon 2020-09-01 11:05:48 +02:00
  • 0083b8ee66 Update the versions available on bugzilla for the rpms and the containers Pierre-Yves Chibon 2020-08-20 12:57:43 +02:00
  • 74a550ecd3 Only report namespace mis-configuration once and not always Pierre-Yves Chibon 2020-08-20 12:54:51 +02:00
  • 809b88e328 Wait for 10 seconds instead of 20 when querying bugzilla failed Pierre-Yves Chibon 2020-08-20 12:54:18 +02:00
  • 6428a58b06 Drop the bz_product_name override Pierre-Yves Chibon 2020-08-20 12:48:14 +02:00
  • 438b5c806d Fix inverting the user cache Pierre-Yves Chibon 2020-08-18 10:23:30 +02:00
  • 5088abf327 Retrieve the email field rather than the bugzilla_email one Pierre-Yves Chibon 2020-08-06 10:32:30 +02:00
  • e9cc33ff09 Fix the branch_regex for Fedora EPEL so that it also matches on el6 Pierre-Yves Chibon 2020-07-09 21:44:53 +02:00
  • 3f1611f6c3 Add the possibility to ignore some users Pierre-Yves Chibon 2020-06-14 17:48:42 +02:00
  • 392627ecab Run black over the entire project Pierre-Yves Chibon 2020-04-29 11:40:42 +02:00
  • d37f60b474 Fix a couple of issues with the patch reading overrides from pagure_poc.json Pierre-Yves Chibon 2020-04-28 10:48:27 +02:00
  • 56c6472266 Read EPEL POC from pagure_poc.json instead of fedora-scm-requests Karsten Hopp 2019-12-16 16:39:10 +01:00
  • abf7b7f747 Disable in bugzilla components that are retired in Fedora Pierre-Yves Chibon 2020-04-22 14:26:19 +02:00
  • 3ed514eaa1 Store the email in lower case and do the comparison in lower case as well Pierre-Yves Chibon 2020-01-12 21:22:19 +01:00
  • 2e58bc1f96 Store the email in lower case and do the comparison in lower case as well Pierre-Yves Chibon 2020-01-12 21:22:19 +01:00
  • ef002f091e Fix sending the email in non-dry-run mode Pierre-Yves Chibon 2019-12-18 18:25:40 +01:00
  • fe47eba0a0 Ignore the xmlrpc error 1200 as well Pierre-Yves Chibon 2019-12-18 17:24:46 +01:00
  • 46ce635179 flake8: wrap overly long lines Nils Philippsen 2019-12-18 15:38:20 +01:00
  • fcbb4eea2c flake8: fix import order, xml is a system package Nils Philippsen 2019-12-18 15:34:46 +01:00
  • 87cbf38a29 Treat xmlrpc error 504 differently Pierre-Yves Chibon 2019-12-18 15:27:38 +01:00
  • ad98b9e294 Be more resilient to transient bugzilla error Pierre-Yves Chibon 2019-12-18 09:37:36 +01:00
  • 7b1f707efc Be more resilient when querying bugzilla for open bugs Pierre-Yves Chibon 2019-12-10 09:57:25 +01:00
  • f17f2ae9df Change the output in verbose mode Pierre-Yves Chibon 2019-12-10 09:45:05 +01:00
  • aa0e93f8f8 Specify that the HOME is /tmp in the container Pierre-Yves Chibon 2019-12-06 14:00:58 +01:00
  • b6124b370c Create the .cache folder for bugzilla to store its info Pierre-Yves Chibon 2019-12-06 12:42:55 +01:00
  • c2e99dbdfa Ship default configuration files Nils Philippsen 2019-12-06 16:31:25 +01:00
  • 7e5e5cf5aa Add a Dockerfile to the source so we can use s2i in openshift Pierre-Yves Chibon 2019-12-05 17:43:29 +01:00
  • 9c018ff12e use a more sensible prefix for system config files Nils Philippsen 2019-12-05 17:32:20 +01:00
  • 84d87ecb98 When updating bugs do not print email address if using --print-fas-names Pierre-Yves Chibon 2019-11-28 15:52:49 +01:00
  • 2fd1d0115d If we fail to call bugzilla, retry a few times before raising the exception Pierre-Yves Chibon 2019-11-28 12:10:32 +01:00
  • 3f985627a1 initialize self.errors in run() Nils Philippsen 2019-11-25 18:13:23 +01:00
  • 2da92f250a don't print EDITCOMP messages for every package Nils Philippsen 2019-11-25 18:11:30 +01:00
  • f01960d719 allow lazy expansion of log format strings Nils Philippsen 2019-11-25 17:57:17 +01:00
  • 6e574a5067 straighten out finding primary.xml file Nils Philippsen 2019-11-25 17:55:10 +01:00
  • 399bb28420 use list and set comprehensions where appropriate Nils Philippsen 2019-11-25 15:16:33 +01:00
  • 247ede734b consistently use dictionary literals Nils Philippsen 2019-11-25 13:58:02 +01:00
  • 743b3aaca3 fix accessing product info from configuration Nils Philippsen 2019-11-25 13:49:05 +01:00
  • 9283999992 Keep the errors as we are seeing them and print or send a report at the end Pierre-Yves Chibon 2019-11-25 13:00:48 +01:00
  • 9b3b02b4ac Drop giving the run time while it is running Pierre-Yves Chibon 2019-11-25 12:59:33 +01:00
  • b3f348c94e mention why a package isn't added to Bugzilla Nils Philippsen 2019-11-25 14:38:50 +01:00
  • 34c580db0d fix leaking product info when building cache Nils Philippsen 2019-11-25 13:18:42 +01:00
  • a287c60ce5 don't add retired components to Bugzilla Nils Philippsen 2019-11-25 14:31:50 +01:00
  • e7ddb4f8ac Support de-activating retired packages Pierre-Yves Chibon 2019-11-23 13:54:47 +01:00
  • f2bea59f37 allow configuring products for branches by regex Nils Philippsen 2019-11-22 18:44:28 +01:00
  • 12b90b22dd honor configuration when sending emails Nils Philippsen 2019-11-22 16:57:43 +01:00
  • 2b7712f826 make default QA contact email address configurable Nils Philippsen 2019-11-22 16:26:28 +01:00
  • 78434ffbfd use email namespace in configuration Nils Philippsen 2019-11-22 16:42:04 +01:00
  • 7821f08e2e fix unknown variable used Nils Philippsen 2019-11-22 19:01:15 +01:00
  • b1bb0c02a4 Update the open bugs when the corresponding package changes maintainer Pierre-Yves Chibon 2019-11-22 17:08:54 +01:00
  • 0e036348d0 Add the possibility to print when a package isn't going to be updated Pierre-Yves Chibon 2019-11-22 16:05:44 +01:00
  • 81256bdd8a fix extracting summaries from primary.xml Nils Philippsen 2019-11-22 15:00:27 +01:00
  • 5e4a0e45a3 don't redefine hash built-in Nils Philippsen 2019-11-22 14:59:22 +01:00
  • 4a590170b0 more typo, plural, wording fixes Nils Philippsen 2019-11-22 14:58:13 +01:00
  • 82374d6739 avoid precaching users if not worthwhile Nils Philippsen 2019-11-22 13:55:49 +01:00
  • 96eb19bcb7 always create inverted_user_cache Nils Philippsen 2019-11-22 13:13:41 +01:00
  • 6e479a6a05 apply email overrides map to BZ emails Nils Philippsen 2019-11-22 12:13:41 +01:00
  • 7f22f1d3c1 comment out exemplary email overrides entry Nils Philippsen 2019-11-22 11:30:23 +01:00
  • 8305e989c7 consistently normalize email addresses as keys Nils Philippsen 2019-11-22 12:54:14 +01:00
  • 5c4a6dc32a Set the qacontact info in one place to reduce code duplication Pierre-Yves Chibon 2019-11-22 10:18:38 +01:00
  • cd9696f0cb Convert bugzilla email back into username when possible Pierre-Yves Chibon 2019-11-22 10:14:56 +01:00
  • 0e74c819ef add option to print FAS names Nils Philippsen 2019-11-21 16:16:02 +01:00
  • 5211712f23 finish masking out email addresses Nils Philippsen 2019-11-21 18:14:14 +01:00
  • 78ac940933 use plural for certain variables and functions Nils Philippsen 2019-11-21 17:55:15 +01:00
  • be18b8f87a pep8: consistently use lower case variable names Nils Philippsen 2019-11-21 15:35:06 +01:00
  • 26c3288951 use more descriptive print_fas_names argument Nils Philippsen 2019-11-21 15:28:27 +01:00
  • 06b0f23201 use more descriptive variable names in add_edit_component() Nils Philippsen 2019-11-21 15:25:08 +01:00
  • fd66fa51c5 Start working on generating a public diff of the changes Pierre-Yves Chibon 2019-11-21 11:28:24 +01:00
  • 3c504653a7 Move retrieving the POC for each product to the data gathering part Pierre-Yves Chibon 2019-11-21 16:19:30 +01:00
  • 4a44a51ba5 Make the code style consistent in the get_cli_arguments method Pierre-Yves Chibon 2019-11-21 11:25:24 +01:00
  • 4833e4a566 Time the time it takes to build the bugzilla cache Pierre-Yves Chibon 2019-11-21 11:19:49 +01:00
  • 4c697a63ce Allow specifying which projects to update Pierre-Yves Chibon 2019-11-21 11:18:08 +01:00
  • d3b7be42b4 Fix how the CC list is being generated Pierre-Yves Chibon 2019-11-21 11:16:40 +01:00
  • 4ccfc9b5e6 expose additional configuration files to CLI Nils Philippsen 2019-11-20 17:36:17 +01:00
  • 8cfa616073 fix console script entry point Nils Philippsen 2019-11-21 10:55:28 +01:00
  • bce634b199 Bring back the possibility to override the default assignee Pierre-Yves Chibon 2019-11-21 09:57:16 +01:00
  • 69edb448be Drop the filtering out of modules Pierre-Yves Chibon 2019-11-20 17:16:17 +01:00
  • 94d17b2c05 Restructure the code Pierre-Yves Chibon 2019-11-20 17:15:36 +01:00
  • fd4c3b0714 require the correct python-bugzilla package Nils Philippsen 2019-11-20 16:07:58 +01:00
  • 006d18993b add rudimentary README Nils Philippsen 2019-11-20 13:47:40 +01:00
  • 011774ef46 When an invalid account is found, inform about the package concerned Pierre-Yves Chibon 2019-11-20 11:07:24 +01:00
  • d61e83a157 Deal with users or groups not having the expected email address Pierre-Yves Chibon 2019-11-20 10:52:20 +01:00
  • 1f75496059 Update the dry-run and verbose outputs Pierre-Yves Chibon 2019-11-20 09:47:14 +01:00
  • 76e74fb6a4 Simplify the logic used when updating the qacontact Pierre-Yves Chibon 2019-11-20 09:45:02 +01:00
  • b002898f2b Simplify how the initialCClist is being built Pierre-Yves Chibon 2019-11-20 09:43:48 +01:00
  • 59ded2d591 use str.format-style placeholder in mail template Nils Philippsen 2019-11-19 16:34:11 +01:00
  • cdb0b03ea4 use configuration from files Nils Philippsen 2019-11-19 16:33:37 +01:00
  • 344dc75864 remove unused configuration items Nils Philippsen 2019-11-19 16:29:34 +01:00
  • 5a80b16874 remove (duplicate) 'bugzilla' from 'override_repo' Nils Philippsen 2019-11-19 15:54:38 +01:00
  • 41ca605dde apply defaults to environments Nils Philippsen 2019-11-19 15:53:37 +01:00
  • c71b3cc0ad add configuration handling module Nils Philippsen 2019-11-19 14:15:00 +01:00
  • 3bde7e6e54 move configuration files into package Nils Philippsen 2019-11-18 16:16:06 +01:00
  • e59e1d510f move code to distgit_bugzilla_sync package Nils Philippsen 2019-11-18 16:10:33 +01:00
  • 47dd4e39c7 require defusedxml for package_summary Nils Philippsen 2019-11-19 17:11:16 +01:00
  • f925d6424e Print how long it took for the script to run in verbose mode Pierre-Yves Chibon 2019-11-19 14:17:27 +01:00
  • 71b7245439 Use yaml.safe_load() rather than the unsafe yaml.load() Pierre-Yves Chibon 2019-11-19 14:16:28 +01:00
  • 4a9d30a9dd Change the way we retrieve the package's summary Pierre-Yves Chibon 2019-11-19 14:14:08 +01:00
  • b8e37f62fc add setup.py and related files Nils Philippsen 2019-11-18 15:35:12 +01:00
  • 79e44b2953 wrap main code path in its own function Nils Philippsen 2019-11-18 14:58:21 +01:00
  • 1297522e6a appease flake8 Nils Philippsen 2019-11-18 14:38:48 +01:00