- 10 May, 2018 5 commits
-
-
Raphaël Hertzog authored
Modify the vendor hook accordingly.
-
Raphaël Hertzog authored
-
Raphaël Hertzog authored
The process discards all mails which can be associated to a package as those are automatic emails that we already receive through dispatch@. The remaining mails are forwarded to team members with the "contact" keyword. The headers X-Distro-Tracker-Team and X-Distro-Tracker-Keyword are set appropriately. Closes: #891504
-
Raphaël Hertzog authored
Fix excuses behaviour See merge request qa/distro-tracker!29
-
Pierre-Elliott Bécue authored
A package may pass the policy even though it's blocked by a dependency, in such a case, excuses should state it instead of saying nothing.
-
- 01 May, 2018 1 commit
-
-
Raphaël Hertzog authored
Implement get_resource_content(..., force_update=True). This will request to make new HTTP request without any If-Modified-Since or If-None-Matches so that we always new fresh data in all cases. It will also ignore the existence of non-expired data in the cache.
-
- 24 Apr, 2018 2 commits
-
-
Raphaël Hertzog authored
Current versions need more configuration to work out of the box and it has been a while that it was no longer working due to those missing bits.
-
Raphaël Hertzog authored
Use this sample configuration to generate the sample database. And add a quick-setup.sh script that puts this configuration in place and that downloads the ready-to-use sample database.
-
- 23 Apr, 2018 3 commits
-
-
Raphaël Hertzog authored
Gitlab CI job for creating a sample distro-tracker database Closes #13 See merge request qa/distro-tracker!27
-
Chirath R authored
-
Chirath R authored
Fixes: #13
-
- 14 Apr, 2018 7 commits
-
-
Raphaël Hertzog authored
-
Raphaël Hertzog authored
The code tries to parse the localpart as "team+foo" when the email is hosted in the domain dedicated to distro-tracker. But it failed badly when the maintainer email did not contain any plus sign. This commit fixes the following exception: Traceback (most recent call last): File "/home/rhertzog/deb/core/distro-tracker/distro_tracker/core/tests/tests_retrieve_data.py", line 1185, in test_with_unqualified_team_email self.run_task() File "/home/rhertzog/deb/core/distro-tracker/distro_tracker/core/tests/tests_retrieve_data.py", line 1109, in run_task self.task.execute() File "/home/rhertzog/deb/core/distro-tracker/distro_tracker/core/retrieve_data.py", line 1094, in execute self.add_package_to_maintainer_teams(package, maintainer) File "/home/rhertzog/deb/core/distro-tracker/distro_tracker/core/retrieve_data.py", line 1060, in add_package_to_maintainer_teams service, slug = localpart.split('+', 1) ValueError: not enough values to unpack (expected 2, got 1) -
Raphaël Hertzog authored
The preferred workflow has largely changed with the switch to salsa.debian.org. Also document new expectations concerning git commit notices and sorting of import statements.
-
Raphaël Hertzog authored
We're now (also) using the bug tracker on salsa and the documentation is now officially hosted on https://qa.pages.debian.net/distro-tracker/
-
Raphaël Hertzog authored
It's not clear how this happened but it did happen once at least: File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/tasks.py" in run 517. task.execute() File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/tasks.py" in wrapper 544. func(self) File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/retrieve_data.py" in execute 942. versions.value = self._extract_versions_for_package(package) File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/retrieve_data.py" in _extract_versions_for_package 919. 'default_pool_url': package_name.main_entry.directory_url, Exception Type: AttributeError Exception Value: 'NoneType' object has no attribute 'directory_url' File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/tasks.py" in run 517. task.execute() File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/tasks.py" in wrapper 544. func(self) File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/retrieve_data.py" in execute 999. binaries.value = self._get_all_binaries(package) File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/retrieve_data.py" in _get_all_binaries 969. repository = package.main_entry.repository Exception Type: AttributeError Exception Value: 'NoneType' object has no attribute 'repository'
-
Raphaël Hertzog authored
Without this fix we would get the following exception: Traceback (most recent call last): File "/home/rhertzog/deb/core/distro-tracker/distro_tracker/mail/dispatch.py", line 412, in handle_bounces bounce_email, user_email = verp.decode(sent_to_address) File "/home/rhertzog/deb/core/distro-tracker/distro_tracker/core/utils/verp.py", line 108, in decode left_part, encodedrdomain = left_part.rsplit('=', 1) ValueError: not enough values to unpack (expected 2, got 1) -
Raphaël Hertzog authored
Without this fix, it would trigger this exception: Traceback (most recent call last): File "/home/rhertzog/deb/core/distro-tracker/distro_tracker/mail/tests/tests_control.py", line 570, in test_ensure_no_failure_with_utf8_message_id self.control_process() File "/home/rhertzog/deb/core/distro-tracker/distro_tracker/mail/tests/tests_control.py", line 62, in control_process control.process(self.message) File "/home/rhertzog/deb/core/distro-tracker/distro_tracker/mail/control/__init__.py", line 187, in process send_plain_text_warning(msg, logdata) File "/home/rhertzog/deb/core/distro-tracker/distro_tracker/mail/control/__init__.py", line 91, in send_plain_text_warning recipient_email=logdata['from']) File "/home/rhertzog/deb/core/distro-tracker/distro_tracker/mail/control/__init__.py", line 54, in send_response message_id = unfold_header(original_message.get('Message-ID', '')) File "/home/rhertzog/deb/core/distro-tracker/distro_tracker/core/utils/email_messages.py", line 253, in unfold_header return re.sub(r'\r?\n(\s)', r'\1', header, 0, re.MULTILINE) File "/usr/lib/python3.5/re.py", line 182, in sub return _compile(pattern, flags).sub(repl, string, count) TypeError: expected string or bytes-like object
-
- 13 Apr, 2018 3 commits
-
-
Raphaël Hertzog authored
Add title tag description on some graphics mouseover See merge request qa/distro-tracker!25
-
Raphaël Hertzog authored
BugsPanel: show bug statistics even when the bug count is zero See merge request qa/distro-tracker!23
-
Ana Paula authored
Closes: #758768
-
- 12 Apr, 2018 2 commits
-
-
Ana Paula authored
Closes: #814491
-
Arthur Del Esposte authored
Closes: #787662
-
- 05 Apr, 2018 1 commit
-
-
Raphaël Hertzog authored
All the modified settings default to lists in the current version of Django. Special care must be taken to ensure that we duplicate the list objects in the various namespaces otherwise we get a nice mess with a single shared configuration combining all the operations of all the settings that are loaded but not necessarily imported in the main settings namespace. We add __all__ attributes to some of the core modules to better control what settings are actually exported. This also fixes the regression introduced in dac264a2 where the debug_toolbar application suddenly started to be required for tests too.
-
- 04 Apr, 2018 2 commits
-
-
Raphaël Hertzog authored
That way we don't trigger any RuntimeWarning due to the lack of the timezone data when we store the result in a DateTimeField.
-
Raphaël Hertzog authored
-
- 27 Mar, 2018 4 commits
-
-
Raphaël Hertzog authored
UpdateAutoRemovalsStatsTask: import source package version in the ActionItem See merge request qa/distro-tracker!22
-
Pierre-Elliott Bécue authored
Closes: #893670
-
Raphaël Hertzog authored
UpdateExcusesTask: ignores all packages with a "/" in their name Closes #9 See merge request qa/distro-tracker!21
-
Pierre-Elliott Bécue authored
It was done in the html parsing task, but got forgotten in the refactoring
-
- 23 Mar, 2018 10 commits
-
-
Pierre-Elliott Bécue authored
-
Raphaël Hertzog authored
Rename PackageExtractedInfo to PackageData Closes #7 See merge request qa/distro-tracker!20
-
Pierre-Elliott Bécue authored
This makes the code far more readable and lighter. In general, the django-canonical name is too heavy and not relevant enough to be kept
-
Pierre-Elliott Bécue authored
PackageExtractedInfo is awfully long and doesn't reflect properly what it is, as some info are not extracted at all from the package. Also, PackageData is shorter while being more accurate. This will lighten a little the code.
-
Pierre-Elliott Bécue authored
-
Pierre-Elliott Bécue authored
-
Pierre-Elliott Bécue authored
-
Pierre-Elliott Bécue authored
-
Pierre-Elliott Bécue authored
-
Pierre-Elliott Bécue authored
-