]>
git.ipfire.org Git - thirdparty/patchwork.git/log
Stephen Finucane [Tue, 16 Jan 2024 21:56:28 +0000 (21:56 +0000)]
ci: Add Python 3.12 support
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 16 Jan 2024 18:50:50 +0000 (18:50 +0000)]
requirements: Bump Django to 5.x.x, django-filter to 23.5.0
One issue to address, which is caused by changes in Django commit
500e01073ad [1].
We also drop support for Django 3.2, which goes EOL in April 2024, and
Django 4.1, which already went EOL in December 2023.
[1] https://github.com/django/django/commit/
500e01073ad
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 16 Jan 2024 15:57:39 +0000 (15:57 +0000)]
pre-commit: Add vacuum
Lint our OpenAPI specs.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 16 Jan 2024 16:04:21 +0000 (16:04 +0000)]
pre-commit: Bump versions
Signed-off-by: Stephen Finucane <stephen@that.guru>
Ross Burton [Tue, 17 Oct 2023 11:41:24 +0000 (12:41 +0100)]
templates/submission: add button to copy the message ID to clipboard
Add an icon alongside the message ID to copy the message ID to the
clipboard, to ease integration with eg b4.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Ross Burton [Wed, 3 Jan 2024 17:44:54 +0000 (17:44 +0000)]
templates/base: generalise clipbboardjs initialisation
Don't limit the clipboardjs hooking to button.btn-copy, as we may want
to use it on icons which are not buttons.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Ross Burton [Wed, 3 Jan 2024 17:47:47 +0000 (17:47 +0000)]
templates/submission: remove duplication when writing the Message ID
The output is identical, but this removes the duplication of the Message
ID itself in the source.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Ross Burton [Wed, 10 Jan 2024 17:23:54 +0000 (17:23 +0000)]
Upgrade to Bootstrap 3.4.1
Ross Burton [Wed, 10 Jan 2024 17:16:00 +0000 (17:16 +0000)]
Upgrade Bootstrap to 3.3.7
Miguel Saura [Thu, 4 Jan 2024 13:06:47 +0000 (14:06 +0100)]
Fix docker apt install requirements
Add pkg-config dependency install for docker images. this is required
later on for mysql inside the container.
Stephen Finucane [Wed, 4 Oct 2023 09:15:17 +0000 (10:15 +0100)]
docs: Replace hyperlink with doc role
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Wed, 4 Oct 2023 09:09:32 +0000 (10:09 +0100)]
readthedocs: Switch back to DirHTML builder
Looks like this got lost in the switch to the '.readthedocs.yaml'
configuration file.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Wed, 4 Oct 2023 08:54:12 +0000 (09:54 +0100)]
readthedocs: Fetch all branches
Third time lucky. As this is configured, we were only fetching the main
branch. Correct this.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Wed, 4 Oct 2023 08:42:10 +0000 (09:42 +0100)]
readthedocs: Also fetch all other branches
'stable/2.0' is a branch, not a tag.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Wed, 4 Oct 2023 08:39:01 +0000 (09:39 +0100)]
readthedocs: Also fetch tags
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 4 Sep 2023 12:25:31 +0000 (13:25 +0100)]
docs: Add note about 'series' querystring arg to api-ref
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 4 Sep 2023 12:15:18 +0000 (13:15 +0100)]
docs: Switch back to RTD theme
The furo theme needs more work than originally expected, and
sphinx-rtd-theme now supports Sphinx 7.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Thu, 24 Aug 2023 12:56:49 +0000 (13:56 +0100)]
tools: Add helper script to backup, restore DB
This is handier than doing it via Django and works for my simple,
local-only workflow.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Thu, 24 Aug 2023 11:17:59 +0000 (12:17 +0100)]
pre-commit: Updates
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Wed, 2 Aug 2023 11:35:01 +0000 (12:35 +0100)]
tests: Remove use of deprecated method
Resolve the following warning:
RemovedInDjango51Warning: BaseUserManager.make_random_password() is
deprecated.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Wed, 2 Aug 2023 11:23:45 +0000 (12:23 +0100)]
tests: Add coloured runner
This is nicer to work with than a wall of red text.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Wed, 2 Aug 2023 10:19:36 +0000 (11:19 +0100)]
Remove filter for openapi-core
Effectively revert commit
4ddcdea4 : the PR referenced merged a long time
ago.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 1 Aug 2023 17:49:16 +0000 (18:49 +0100)]
requirements: Bump openapi-core
Another slog. The joys of pre-v1.0.0 libraries!
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 1 Aug 2023 17:48:12 +0000 (18:48 +0100)]
requirements: Bump mysqlclient to 2.1.x
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 1 Aug 2023 17:47:45 +0000 (18:47 +0100)]
requirements: Unpin tblib
Shouldn't have merged the pyup bot proposed change.
Signed-off-by: Stephen Finucane <stephen@that.guru>
pyup-bot [Thu, 22 Jun 2023 08:55:25 +0000 (09:55 +0100)]
Pin tblib to latest version 2.0.0
Stephen Finucane [Tue, 1 Aug 2023 17:43:01 +0000 (18:43 +0100)]
requirements: Bump django-debug-toolbar to 4.1.x
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 1 Aug 2023 17:38:20 +0000 (18:38 +0100)]
pyup: Don't pin unpinned dependencies
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 1 Aug 2023 17:34:36 +0000 (18:34 +0100)]
Configure dependabot
Ali Alnubani [Tue, 1 Aug 2023 08:15:35 +0000 (11:15 +0300)]
lib: add missing permissions for patchwork_covercomment_id_seq
Grants UPDATE and SELECT privileges on patchwork_covercomment_id_seq table
for user 'nobody' to fix the following exception when cover comments
are being parsed:
django.db.utils.ProgrammingError: permission denied for sequence
patchwork_covercomment_id_seq
Signed-off-by: Ali Alnubani <alialnu@nvidia.com>
Ali Alnubani [Mon, 31 Jul 2023 10:54:21 +0000 (13:54 +0300)]
lib: add missing permissions for patchwork_cover_id_seq
Grants UPDATE and SELECT privileges on patchwork_cover_id_seq table
for user 'nobody' to fix the following exception when cover letters
are being parsed:
django.db.utils.ProgrammingError: permission denied for sequence
patchwork_cover_id_seq
Signed-off-by: Ali Alnubani <alialnu@nvidia.com>
Stephen Finucane [Tue, 1 Aug 2023 17:05:03 +0000 (18:05 +0100)]
urls: Also decode slashes in message IDs
In commit
2653fdbb2 , we started encoding slashes in message IDs
presented to users. This allowed us to support message IDs containing
slashes, which are allowed per the RFC and have been seen in the wild.
However, we continue to store the original unencoded message IDs in the
database and unfortunately we neglected to reverse the decoding in the
functions for downloading patch diffs and mboxes. Address this now.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 2653fdbb2 ("urls: Encode slashes in message IDs")
Closes: #518
Cc: Siddhesh Poyarekar <siddhesh@gotplt.org>
Cc: DJ Delorie <dj@delorie.com>
Stephen Finucane [Tue, 1 Aug 2023 16:44:40 +0000 (17:44 +0100)]
Drop Python 3.7 support
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 1 Aug 2023 16:33:39 +0000 (17:33 +0100)]
tox: Remove redundant environments
These were not being used.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 1 Aug 2023 16:35:35 +0000 (17:35 +0100)]
tox: Use pre-commit for pep8 environment
Avoid duplication.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 1 Aug 2023 16:34:16 +0000 (17:34 +0100)]
pre-commit: Reorder
Place faster checks first.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 1 Aug 2023 16:32:02 +0000 (17:32 +0100)]
pre-commit: Add bashate
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 1 Aug 2023 16:32:27 +0000 (17:32 +0100)]
Rewrap some bash
Keep bashate happy.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 1 Aug 2023 16:27:25 +0000 (17:27 +0100)]
Bump pre-commit versions
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 1 Aug 2023 16:26:17 +0000 (17:26 +0100)]
tests: Address flake8 issue
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Wed, 28 Jun 2023 09:22:27 +0000 (10:22 +0100)]
docs: Switch to furo theme
The sphinx-rtd-theme theme is not compatible with Sphinx 7.x yet.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 27 Jun 2023 18:13:13 +0000 (19:13 +0100)]
readthedocs: Specify requirements
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 27 Jun 2023 18:00:52 +0000 (19:00 +0100)]
readthedocs: Specify OS, tools
This is required. The error message is misleading [1].
[1] https://github.com/readthedocs/readthedocs.org/issues/8912
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 27 Jun 2023 17:50:16 +0000 (18:50 +0100)]
Add readthedocs config file
We need this to maintain our docs build, which won't work with shallow
clones.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Ali Alnubani [Tue, 20 Jun 2023 11:06:07 +0000 (14:06 +0300)]
lib: add missing permissions for patchwork_comment_id_seq
Grants UPDATE and SELECT privileges on patchwork_comment_id_seq table
for web and mail users to fix the following exception when comments
are parsed:
django.db.utils.ProgrammingError: permission denied for sequence
patchwork_comment_id_seq
Fixes: 5b53f46def5f ("lib: fix table names")
Signed-off-by: Ali Alnubani <alialnu@nvidia.com>
Stephen Finucane [Mon, 15 May 2023 12:00:27 +0000 (13:00 +0100)]
tests: Always enable REST API
This means django-rest-framework is now a hard requirement for unit
tests. That seems reasonable.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 15 May 2023 11:51:40 +0000 (12:51 +0100)]
tests: Always enable XML-RPC API
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 15 May 2023 10:54:56 +0000 (11:54 +0100)]
templates: Use REST API backend for pwclientrc
If the REST API is enabled, we should generate a pwclientrc file that
uses it by default.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 15 May 2023 11:30:55 +0000 (12:30 +0100)]
trivial: Move test file
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 8 May 2023 11:40:48 +0000 (12:40 +0100)]
requirements: Bump django-debug-toolbar to 4.0.x
Signed-off-by: Stephen Finucane <stephen@that.guru>
Nisha Poyarekar [Wed, 26 Apr 2023 18:23:24 +0000 (14:23 -0400)]
Validate email address in from_header
Resolves #512
Signed-off-by: Nisha Poyarekar <nisha.s.menon@gmail.com>
Stephen Finucane [Mon, 8 May 2023 10:58:06 +0000 (11:58 +0100)]
requirements: Bump Django to 4.2.x, django-filter to 23.2.0
There are no apparent issues to be addressed this go round. Hurrah!
We also formally drop support for Django 4.0. This doesn't really mean
anything since we still support 3.2, but it means we can keep our test
matrix as small as possible.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Thu, 27 Apr 2023 09:43:41 +0000 (10:43 +0100)]
CI: Remove codecov package
This is no longer supported [1].
[1] https://about.codecov.io/blog/message-regarding-the-pypi-package/
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Thu, 27 Apr 2023 09:38:30 +0000 (10:38 +0100)]
xmlrpc: Doc improvement
Signed-off-by: Stephen Finucane <stephen@that.guru>
You-Sheng Yang (vicamo) [Mon, 16 Jan 2023 07:26:18 +0000 (15:26 +0800)]
ci: add Python 3.11 support
Signed-off-by: You-Sheng Yang (vicamo) <vicamo@gmail.com>
You-Sheng Yang [Thu, 6 Apr 2023 16:10:41 +0000 (00:10 +0800)]
black: address check failures against 23.1.0
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Stephen Finucane [Wed, 25 Jan 2023 19:56:16 +0000 (19:56 +0000)]
Remove tox-pyenv
This doesn't appear to be maintained and isn't necessary once we add a
missing 'pyenv init'.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Wed, 25 Jan 2023 18:14:28 +0000 (18:14 +0000)]
docs: Correct location of release note
Another one that ended up in the wrong place.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 2653fdbb ("urls: Encode slashes in message IDs")
Stephen Finucane [Tue, 24 Jan 2023 23:31:22 +0000 (23:31 +0000)]
Correctly append tags on patches without commit details
Only a commit summary (a.k.a. patch subject) is necessary in Git: we
don't need details. The regex we were using to search for postscripts
however assumed that there would be _something_ before the postscript,
resulting in a newline. This wasn't the case. Correct this assumption by
instead using 're.MULTILINE' and matching on '^' and '$' for newlines
instead of '\n'.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes: #516
Cc: siddhesh@gotplt.org
Stephen Finucane [Tue, 24 Jan 2023 23:06:17 +0000 (23:06 +0000)]
requirements: Bump django-debug-toolbar to 3.8.x
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 24 Jan 2023 22:39:45 +0000 (22:39 +0000)]
Uncap openapi-core
These issues have been fixed now.
Signed-off-by: Stephen Finucane <stephen@that.guru>
You-Sheng Yang (vicamo) [Tue, 1 Nov 2022 14:38:53 +0000 (22:38 +0800)]
version: format version following PEP-440
PEP-440 regulates public and local version schemes. Git version string
will use local version scheme and alpha/stable releases will follow the
public one.
Signed-off-by: You-Sheng Yang (vicamo) <vicamo@gmail.com>
Stephen Finucane [Tue, 24 Jan 2023 22:22:53 +0000 (22:22 +0000)]
requirements: Use sphinxcontrib-openapi 0.8.1
This contains an important fix for arrays of types.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 13 Jan 2023 14:55:57 +0000 (14:55 +0000)]
Simplify nullable field
openapi-validator requires we specify 'type' twice when using 'oneOf'.
Do this, removing some 'oneOf' declarations in the process.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 13 Jan 2023 13:37:03 +0000 (13:37 +0000)]
requirements: Use sphinxcontrib-openapi 0.8.0
Turns out I could release after all.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 13 Jan 2023 12:42:25 +0000 (12:42 +0000)]
Install sphinxcontrib-openapi from source
I'm hoping to get permission to publish new releases to this [1]. Until
that happens, we must install from source.
[1] https://github.com/pypi/support/issues/2463
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 13 Jan 2023 12:33:29 +0000 (12:33 +0000)]
Add temporary cap to openapi-core
This has broken us again :(
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 13 Jan 2023 12:20:01 +0000 (12:20 +0000)]
Additional updates for compatibility with tox 4
'[tox] skipsdist' behaves differently in tox 4 [1]. In addition, setting
'[testenv] basepython' with '[tox] ignore_basepython_conflict' has been
the cause of a few tox 4 bugs (most since fixed, thankfully) and might
be deprecated [2]. Remove it since we don't need it in any of our
environments.
[1] https://github.com/tox-dev/tox/issues/2730
[2] https://github.com/tox-dev/tox/issues/2846
Signed-off-by: Stephen Finucane <stephen@that.guru>
You-Sheng Yang (vicamo) [Fri, 13 Jan 2023 02:53:58 +0000 (10:53 +0800)]
tox: fix failure due to whitespaces in passenv
When installed tox >= 4, space-separated variables specified for passenv
are no longer allowed.
Signed-off-by: You-Sheng Yang (vicamo) <vicamo@gmail.com>
Stephen Finucane [Tue, 11 Oct 2022 10:10:16 +0000 (11:10 +0100)]
requirements: Bump openapi-core
openapi-core 0.16.2 includes support for null values [1]. We need this
to fix our CI.
[1] https://github.com/p1c2u/openapi-core/pull/432
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 10 Oct 2022 17:18:41 +0000 (18:18 +0100)]
Convert to OpenAPI 3.1
OpenAPI 3.0 has some unspecified behavior regarding the combination of
reference objects with 'nullable' [1]. Despite what random StackOverflow
answers [2] suggest, combining nullable with '$ref' still doesn't work.
Do what's suggested in the issue reporting this behavior [3] and upgrade
to OpenAPI 3.1, allowing us to work around this.
[1] https://github.com/OAI/OpenAPI-Specification/issues/1368
[2] https://stackoverflow.com/a/
48114924 /613428
[3] https://github.com/OAI/OpenAPI-Specification/issues/1368#issuecomment-
930112844
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 10 Oct 2022 18:18:23 +0000 (19:18 +0100)]
Add support for openapi-core 0.16.x
Take two! This time with the necessary fixes to make things actually
work.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 10 Oct 2022 18:17:40 +0000 (19:17 +0100)]
Revert "requirements: Bump openapi-core"
This reverts commit
ff990da728a6b4b172981d19953dfc1ece6954d9 . It seems
this was premature. I didn't rebuild my tox virtualenv before pushing :(
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 10 Oct 2022 15:16:48 +0000 (16:16 +0100)]
requirements: Bump djangorestframework version
This should have been done when we added support in commit
84ec76dd .
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 10 Oct 2022 15:15:02 +0000 (16:15 +0100)]
requirements: Bump Django version
This should have been done when we added support in commit
84ec76dd .
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 10 Oct 2022 15:00:55 +0000 (16:00 +0100)]
requirements: Bump openapi-core
This supports OpenAPI 3.1 finally [1] 🎉. We can uncap jsonschema in the
process.
[1] https://github.com/p1c2u/openapi-core/pull/419
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 10 Oct 2022 14:38:04 +0000 (15:38 +0100)]
docs: Update docs to point to v3.1.0 release
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 19 Jul 2022 14:06:36 +0000 (15:06 +0100)]
views: Redirect to login on password reset
There's no need for a separate reset confirmation page.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 19 Jul 2022 15:05:32 +0000 (16:05 +0100)]
forms: Trivial cleanup
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 19 Jul 2022 15:07:38 +0000 (16:07 +0100)]
trivial: Remove unnecessary whitespace
This was added when we ran black over the codebase.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Wed, 11 May 2022 13:52:36 +0000 (14:52 +0100)]
urls: Encode slashes in message IDs
We were attempting to work around the fact that message IDs could
contain slashes which in some cases broke our ability to generate
meaningful URLs. Rather than doing this, insist that users encode these
slashes so that we can distinguish between semantically meaningful
slashes and those that form the URL. This is a slightly breaking change,
but the current behavior is already broken (see the linked bug) so this
seems reasonable.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes: #433
Cc: dja@axtens.net
Cc: siddhesh@gotplt.org
Stephen Finucane [Fri, 30 Sep 2022 14:01:14 +0000 (15:01 +0100)]
REST: Add missing 'url' parameter for comments
This should be present on all resources.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 88f56051 ("api: add comments detail endpoint")
Stephen Finucane [Fri, 30 Sep 2022 15:10:27 +0000 (16:10 +0100)]
models: Cache 'list_archive_url' property
We really need to get rid of this from the embedded view. It's way too
slow. For now, we just cache it and leave a note for future us.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 30 Sep 2022 13:57:25 +0000 (14:57 +0100)]
REST: De-duplicate handling of nested resource URLs
These were all doing the same thing. Make things more generic.
We also speed up test (inadvertently) by using the 'patch_id' attribute
of the 'Check' model rather than 'patch.id', thus avoiding the JOIN.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 30 Sep 2022 13:21:09 +0000 (14:21 +0100)]
REST: Fix issues with comment-related events
When we introduced this functionality, we missed the fact that these
resources use nested-style URLs that need to be specially handled. Fix
this now.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: e3d8f7548 ("REST: Add 'patch-comment-created', 'cover-comment-created' events")
Cc: Siddhesh Poyarekar <sipoyare@redhat.com>
Cc: DJ Delorie <dj@redhat.com>
Cc: Carlos O'Donell <carlos@redhat.com>
Stephen Finucane [Fri, 30 Sep 2022 13:04:19 +0000 (14:04 +0100)]
manage: Check Django version on startup
This was recently reported as an issue. Add a simple check to ensure
people update their dependencies as expected.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Cc: Siddhesh Poyarekar <sipoyare@redhat.com>
Cc: DJ Delorie <dj@redhat.com>
Cc: Carlos O'Donell <carlos@redhat.com>
Stephen Finucane [Fri, 30 Sep 2022 12:17:46 +0000 (13:17 +0100)]
requirements: Bump Django to 3.2.x, djangorestframework to 4.16.0
There are two issues to be addressed:
RemovedInDjango50Warning: Passing response to assertFormError() is
deprecated. Use the form object directly:
RemovedInDjango50Warning: The "default.html" templates for forms and
formsets will be removed. These were proxies to the equivalent
"table.html" templates, but the new "div.html" templates will be the
default from Django 5.0. Transitional renderers are provided to allow
you to opt-in to the new output style now. See
https://docs.djangoproject.com/en/4.1/releases/4.1/ for more details
Nothing complicated in fixing either of these. For the former, we must
do as we're told and use the form object directly. For the latter, we
need to configure our own form renderer so we can continue using the
table form renderer for now.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 30 Sep 2022 16:07:48 +0000 (17:07 +0100)]
tox: Output test times, more verbose output
Just a bit more useful for CI logs
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 30 Sep 2022 12:50:40 +0000 (13:50 +0100)]
trivial: Remove unnecessary unicode prefixes
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 30 Sep 2022 15:42:52 +0000 (16:42 +0100)]
tests: Change from expectedFailure to skip
Python 3.10 recognises unexpected passes as failures now.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 30 Sep 2022 12:14:04 +0000 (13:14 +0100)]
requirements: Bump django-debug-toolbar to 3.7.x
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 9 Sep 2022 14:28:45 +0000 (15:28 +0100)]
docs: Add info on contributing docs
Noticed while whipping up a patch to document the new VSCode extension.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 9 Sep 2022 14:17:34 +0000 (15:17 +0100)]
docs: Add references to VSCode Patchwork plugin
Signed-off-by: Stephen Finucane <stephen@that.guru>
Cc: Florent Revest <revest@chromium.org>
Stephen Finucane [Thu, 8 Sep 2022 20:43:59 +0000 (21:43 +0100)]
trivial: Fix style issues
New flake8, same issues.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Tue, 19 Jul 2022 15:30:02 +0000 (16:30 +0100)]
docs: Update sample tox environment
There's no py27-django18 environment anymore.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Wed, 5 Jun 2019 22:33:05 +0000 (23:33 +0100)]
Use a static file for versioning
This means you don't have to install all dependencies simply to read the
version.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 18 Jul 2022 11:28:24 +0000 (12:28 +0100)]
docs: Actually configure reno to use the main branch
I used the wrong setting [1]
[1] https://docs.openstack.org/reno/latest/user/usage.html#configuring-reno
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Mon, 18 Jul 2022 09:34:59 +0000 (10:34 +0100)]
Replace references to master with main
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 15 Jul 2022 16:19:33 +0000 (17:19 +0100)]
docs: Update reno for stable/3.1
Signed-off-by: Stephen Finucane <stephen@that.guru>
Stephen Finucane [Fri, 15 Jul 2022 16:20:08 +0000 (17:20 +0100)]
Post-release version bump
Signed-off-by: Stephen Finucane <stephen@that.guru>