[PATCH] Python 3.6 invalid escape sequence deprecation fixes

2017-10-23 Thread Ville Skyttä
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior --- distro_tracker/core/utils/email_messages.py | 2 +- distro_tracker/mail/control/commands/keywords.py | 4 ++-- distro_tracker/project/urls.py | 2 +- setup.py

[PATCH] Use type="search" for search input fields

2017-10-23 Thread Ville Skyttä
--- distro_tracker/accounts/templates/accounts/subscriptions.html | 2 +- distro_tracker/core/static/css/style.css | 2 +- distro_tracker/core/templates/core/package-search-form.html | 2 +- distro_tracker/core/templates/core/team.html | 2 +-

[PATCH] Spelling fixes

2017-10-23 Thread Ville Skyttä
--- distro_tracker/auto_news/tests.py | 2 +- distro_tracker/core/tests/tests_models.py | 2 +- distro_tracker/core/tests/tests_tasks.py| 2 +- distro_tracker/core/utils/email_messages.py | 2 +- distro_tracker/core/utils/linkify.py| 2 +-

[PATCH] Fix functional_tests.tests unittest.mock import

2017-12-16 Thread Ville Skyttä
--- functional_tests/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functional_tests/tests.py b/functional_tests/tests.py index 2914ee4..08b6bcf 100644 --- a/functional_tests/tests.py +++ b/functional_tests/tests.py @@ -33,7 +33,7 @@ from selenium import webdriver

[PATCH] Exclude .tox, distro_tracker/vendor, and docs/conf.py from flake8

2017-12-18 Thread Ville Skyttä
--- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b8da0bd..04e5e39 100644 --- a/tox.ini +++ b/tox.ini @@ -57,7 +57,7 @@ deps = [flake8] max-complexity = 12 max-line-length = 80 -exclude =

Re: [PATCH] Exclude .tox, distro_tracker/vendor, and docs/conf.py from flake8

2017-12-19 Thread Ville Skyttä
On Tue, Dec 19, 2017 at 11:13 AM, Raphael Hertzog <hert...@debian.org> wrote: > On Mon, 18 Dec 2017, Ville Skyttä wrote: >> -exclude = >> .git,.ropeproject,__pycache__,distro_tracker/project/settings/local.py,*/migrations/*.py >> +exclude = >> .git,.ropeprojec

[PATCH] Fix Standards-Version links

2017-11-01 Thread Ville Skyttä
--- .../templates/stdver_warnings/standards-version-action-item.html| 6 ++ distro_tracker/stdver_warnings/tracker_tasks.py | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] Use debianbts instead of SOAPpy

2017-11-01 Thread Ville Skyttä
On Wed, Nov 1, 2017 at 12:52 PM, Raphael Hertzog <hert...@debian.org> wrote: > On Tue, 31 Oct 2017, Ville Skyttä wrote: >> This switches to using debianbts instead of SOAPpy. To be applied over >> the LDAP->nm.d.o REST patch in https://bugs.debian.org/797223#10 > &

[PATCH] Support chromedriver installed in /usr/lib/chromium-browser

2017-11-01 Thread Ville Skyttä
Ubuntu ships it there. --- functional_tests/tests.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/functional_tests/tests.py b/functional_tests/tests.py index b165c93..1600f39 100644 --- a/functional_tests/tests.py +++ b/functional_tests/tests.py @@ -47,7 +47,10 @@ class

[PATCH] Let logging format messages on demand

2017-11-01 Thread Ville Skyttä
--- distro_tracker/core/tasks.py | 7 +++ distro_tracker/vendor/debian/tracker_tasks.py | 15 +++ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/distro_tracker/core/tasks.py b/distro_tracker/core/tasks.py index f8f283c..3995c80 100644 ---

Re: [PATCH] Use debianbts instead of SOAPpy

2017-11-07 Thread Ville Skyttä
On Wed, Nov 1, 2017 at 10:51 PM, Ville Skyttä <ville.sky...@iki.fi> wrote: > On Wed, Nov 1, 2017 at 12:52 PM, Raphael Hertzog <hert...@debian.org> wrote: >> On Tue, 31 Oct 2017, Ville Skyttä wrote: >>> This switches to using debianbts instead of SOAPpy. To be applied

Re: [PATCH] Fix Standards-Version links

2017-11-02 Thread Ville Skyttä
On Thu, Nov 2, 2017 at 12:15 PM, Raphael Hertzog <hert...@debian.org> wrote: > > On Wed, 01 Nov 2017, Ville Skyttä wrote: > > --- > > a/distro_tracker/stdver_warnings/templates/stdver_warnings/standards-version-action-item.html > > +++ > > b/dist

Re: [PATCH] Spelling fixes

2017-10-25 Thread Ville Skyttä
On Tue, Oct 24, 2017 at 6:14 PM, Raphael Hertzog wrote: > Hello Ville, > > thanks for your 3 patches. I applied them all. Are you interested > in contributing more? > > I desperately need help as there are many things to work on. Sure, I think I can lend a hand every now and

Bug#851296:

2017-10-30 Thread Ville Skyttä
Hm, not a good idea to use git send-email to send to the BTS it seems. Here are the same patches as attachments. From 0c43317f342e2aa43207605f17e583da866e7b24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 30 Oct 2017 21:43:27 +0200 Subject: [PATCH

Bug#851296: [PATCH 1/3] Use urlquote_plus instead of urlquote for query string data

2017-10-30 Thread Ville Skyttä
--- distro_tracker/vendor/debian/rules.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/distro_tracker/vendor/debian/rules.py b/distro_tracker/vendor/debian/rules.py index 9a6ed00..16672b3 100644 --- a/distro_tracker/vendor/debian/rules.py +++

Bug#797223:

2017-10-30 Thread Ville Skyttä
Implementation attached, tox tested only. From d107eb7d1985b01dcf415ae9eb391dccc4d511c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 30 Oct 2017 23:01:30 +0200 Subject: [PATCH] Use nm.d.o REST API instead of LDAP --- TODO

[PATCH] Use debianbts instead of SOAPpy

2017-10-31 Thread Ville Skyttä
This switches to using debianbts instead of SOAPpy. To be applied over the LDAP->nm.d.o REST patch in https://bugs.debian.org/797223#10

[PATCH] Use debianbts instead of SOAPpy

2017-10-31 Thread Ville Skyttä
--- TODO | 3 --- debian/control| 4 ++-- distro_tracker/vendor/debian/tracker_tasks.py | 30 ++- docs/setup/setup.rst | 4 ++-- 4 files changed, 15 insertions(+), 26

Bug#851296:

2017-10-30 Thread Ville Skyttä
Tags: patch This set of patches should fix the mentioned issues and more of the kind I could find with some grepping.

Bug#851296: [PATCH 3/3] TransitionsPanel: URL quote in template, not variables

2017-10-30 Thread Ville Skyttä
--- distro_tracker/vendor/debian/templates/debian/transitions-panel.html | 2 +- distro_tracker/vendor/debian/tracker_panels.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/distro_tracker/vendor/debian/templates/debian/transitions-panel.html

Bug#851296: [PATCH 2/3] Missing URL encoding fixes

2017-10-30 Thread Ville Skyttä
--- .../accounts/templates/accounts/subscriptions.html | 6 +++--- .../accounts/templates/accounts/user-widget.html | 2 +- .../core/templates/core/edit-team-membership.html| 6 +++--- distro_tracker/core/templates/core/news_list.html| 2 +-

[PATCH] Python 3.6 invalid escape sequence deprecation fix

2018-01-25 Thread Ville Skyttä
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior --- distro_tracker/vendor/kali/rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distro_tracker/vendor/kali/rules.py b/distro_tracker/vendor/kali/rules.py index 2486569..55d3a81 100644 ---

[PATCH] Extract branch info from Vcs-Git, ignore for now

2018-01-16 Thread Ville Skyttä
Closes: #886372 --- distro_tracker/core/tests/tests_utils.py | 13 + distro_tracker/core/utils/packages.py| 8 +++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/distro_tracker/core/tests/tests_utils.py b/distro_tracker/core/tests/tests_utils.py index