lp:patchwork

Created by Jeremy Kerr on 2015-11-06 and last modified on 2021-02-24
Get this branch:
bzr branch lp:patchwork

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Patchwork Devs
Project:
Patchwork
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at https://github.com/getpatchwork/patchwork.git.

The next import is scheduled to run in 2 hours.

Last successful import was 3 hours ago.

Import started 3 hours ago on alnitak and finished 3 hours ago taking 10 seconds — see the log
Import started 9 hours ago on izar and finished 9 hours ago taking 10 seconds — see the log
Import started 15 hours ago on alnitak and finished 15 hours ago taking 10 seconds — see the log
Import started 21 hours ago on izar and finished 21 hours ago taking 10 seconds — see the log
Import started on 2021-03-04 on alnitak and finished on 2021-03-04 taking 10 seconds — see the log
Import started on 2021-03-04 on alnitak and finished on 2021-03-04 taking 10 seconds — see the log
Import started on 2021-03-04 on izar and finished on 2021-03-04 taking 10 seconds — see the log
Import started on 2021-03-03 on izar and finished on 2021-03-03 taking 10 seconds — see the log
Import started on 2021-03-03 on izar and finished on 2021-03-03 taking 10 seconds — see the log
Import started on 2021-03-03 on alnitak and finished on 2021-03-03 taking 10 seconds — see the log

Recent revisions

1791. By Stephen Finucane <email address hidden> on 2021-02-24

lib: Correct PatchComment table

The table is 'patchwork_comment', not 'patchwork_patchcomment'. Correct
this.

Signed-off-by: Stephen Finucane <email address hidden>
Closes: #396
Fixes: 7b967db4 ("lib: Update DB permissions to reflect model changes")

1790. By Stephen Finucane <email address hidden> on 2021-02-24

api: do not fetch every patch in a patch detail view 404 (v2)

Commit 08c5856 fixed an issue whereby a 404 on the aforementioned URL
could result in a large DB query due to DRF attempting to populate the
'related' list box with all patches on the instance. That was
accidentally reverted in commit fe07f30. "Unrevert" this change.

Signed-off-by: Stephen Finucane <email address hidden>
Fixes: fe07f30 ("Remove 'PatchRelationSerializer'")
Closes: #397

1789. By Stephen Finucane <email address hidden> on 2021-02-20

docs: Refresh the guide for Ubuntu 20.04

Nothing changes wrt package names, which is nice. We take the
opportunity to clarify some wording, however.

Signed-off-by: Stephen Finucane <email address hidden>

1788. By Stephen Finucane <email address hidden> on 2021-02-20

docs: Update docs to point to v3.0.0 release

Signed-off-by: Stephen Finucane <email address hidden>

1787. By Stephen Finucane <email address hidden> on 2021-02-20

docs: Random Python 3 updates

Correct some documentation examples and other things to reflect the new,
Python 3-only world.

Signed-off-by: Stephen Finucane <email address hidden>

1786. By Stephen Finucane <email address hidden> on 2021-02-20

docs: Note UTF-8 requirements for databases

MySQL 5.3 defaulted to 'latin1' encoding, meaning users would need to
explicitly configure their databases to use 'utf8'. Call this out.

Signed-off-by: Stephen Finucane <email address hidden>
Closes: #393

1785. By Stephen Finucane <email address hidden> on 2021-02-20

Add release note for #391

Forgot to include this.

Signed-off-by: Stephen Finucane <email address hidden>

1784. By Stephen Finucane <email address hidden> on 2021-02-20

models: Use parent model to get comment's 'list_archive_url'

We were attempting to retrieve the 'list_archive_url' attribute from the
'PatchComment' or 'CoverComment' instances, rather than the parent
'Patch' and 'Cover' object, respectively. Correct this and add plenty of
tests to prevent this regressing.

Signed-off-by: Stephen Finucane <email address hidden>
Fixes: 02ffb1315 ("models: Add list archive lookup")
Closes: #391

1783. By Stephen Finucane <email address hidden> on 2021-02-20

urls: Convert to flask-style URL patterns

These are easier to grok that the old regex based paths, though three
of these are retained as an alternative to creating custom path
converters [1].

[1] https://docs.djangoproject.com/en/3.0/topics/http/urls/#registering-custom-path-converters

Signed-off-by: Stephen Finucane <email address hidden>

1782. By Stephen Finucane <email address hidden> on 2021-02-20

tests: Trivial formatting fixes

Signed-off-by: Stephen Finucane <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers