Re: [Ksummit-discuss] [MAINTAINERS SUMMIT] Patch version changes in commit logs?

2019-08-07 Thread Andrew Donnellan
On 1/7/19 11:35 am, Andrew Donnellan wrote: On 1/7/19 2:01 am, Mauro Carvalho Chehab wrote: Em Sat, 29 Jun 2019 12:20:55 +0100 Mark Brown escreveu: On Sat, Jun 29, 2019 at 09:18:28AM +0200, Takashi Iwai wrote: BTW, can the URL be reached from patchwork?  That'd be really handy. Even

[PATCH 5/6] docs: Add API v1.2

2019-08-07 Thread Andrew Donnellan
Add API v1.2, including the new fields for list archive URLs. Signed-off-by: Andrew Donnellan --- docs/api/rest/index.rst| 11 +- docs/api/rest/schemas/v1.1.rst |4 +- docs/api/rest/schemas/v1.2.rst |5 + docs/api/schemas/generate_schema.py|4 +-

Re: [Ksummit-discuss] [MAINTAINERS SUMMIT] Patch version changes in commit logs?

2019-08-07 Thread Andrew Donnellan
On 1/7/19 2:01 am, Mauro Carvalho Chehab wrote: Em Sat, 29 Jun 2019 12:20:55 +0100 Mark Brown escreveu: On Sat, Jun 29, 2019 at 09:18:28AM +0200, Takashi Iwai wrote: BTW, can the URL be reached from patchwork? That'd be really handy. Even better, could patchwork add it to the mboxes you

Re: [Ksummit-discuss] [MAINTAINERS SUMMIT] Patch version changes in commit logs?

2019-08-07 Thread Mark Brown
On Mon, Jul 01, 2019 at 11:35:48AM +1000, Andrew Donnellan wrote: > Regarding adding it to downloaded mboxes, if we do that I'd like it to be a > separate option. A single patch can also land in patchwork multiple times > via various lists, so the URL will depend on which project you're looking >

Add an script to generate patchwork stats

2019-08-07 Thread Mauro Carvalho Chehab
It could be useful to be able to see how many patches a patchwork instance has. This small script does that. We're using it to maintain a page with includes the generated stats at: https://linuxtv.org/patchwork_stats.php It requires pandas and matplotlib to work. It assumes a database

[PATCH v2 4/5] Update api documentation for v1.2

2019-08-07 Thread Mete Polat
Signed-off-by: Mete Polat --- In the index.rst (section 'supported versions') we have to specify since which patchwork version an api version is available. If this patch will be integrated in a patchwork version other than 2.2, the version number has to be updated here. docs/api/rest/index.rst

[PATCH 4/5] Update api documentation for v1.2

2019-08-07 Thread Mete Polat
Signed-off-by: Mete Polat --- In the index.rst (section 'supported versions') we have to specify since which patchwork version an api version is available. If this patch will be integrated in a patchwork version other than 2.2, the version number has to be updated here. docs/api/rest/index.rst

Re: Patchwork Registration

2019-08-07 Thread Andrew Donnellan
Hi Stuart! On 5/6/19 9:47 pm, Stuart Foster wrote: Hi, I have have attempted to register with Patchwork but I have not received a confirmation e-mail. The login page recognises my user name and e-mail but blocks my access. How can this be rectified ? Which Patchwork instance is this?

[PATCH v2] filters: re-add the possibility of filtering undelegated patches

2019-08-07 Thread Mauro Carvalho Chehab
The filters.py redesign that happened for patchwork 1.1 removed a functionality that we use a lot: to filter patches that weren't delegated to anyone. Also, it is a way harder to find someone to delegate with a free text input. Use, instead a combo-box just like before. Signed-off-by: Mauro

Patchwork v2.1.3 Available

2019-08-07 Thread Stephen Finucane
We're pleased to announce the release of Patchwork v2.1.3. This release is part of the "Eolienne" release series: https://github.com/getpatchwork/patchwork/releases/tag/v2.1.3 This release is a PATCH release that focuses on bugfixes. For more details, please see below. Happy patchworking!

Re: Patch stack analysis

2019-08-07 Thread Lukas.Bulwahn
Hi Daniel, > > > we (Ralf Ramsauer, Lukas Bulwahn and me) are currently working on > > extending the capabilities of Patchwork by combining it with a tool > > called PaStA [1] (Patch Stack Analysis). PaStA is the outcome of a > > research project [2] by the Technical University of Applied

Re: [RFC PATCH] docker: Add support for using eatmydata in the database

2019-08-07 Thread Andrew Donnellan
On 3/5/19 5:33 pm, Russell Currey wrote: When running tox on a VM with presumably pretty busy spinning disks, using eatmydata with the database took running one configuration's test suite from (no exaggeration) 20 minutes down to 60 seconds. It makes a huge difference to test speed, so we

Re: sort order lost when updating patches

2019-08-07 Thread Rafael J. Wysocki
On Sat, May 14, 2016 at 2:21 PM, Len Brown wrote: > On Wed, May 11, 2016 at 2:36 PM, Bjorn Helgaas wrote: >> On Tue, Apr 5, 2016 at 11:27 AM, Bjorn Helgaas wrote: >>> This is on https://patchwork.ozlabs.org/project/linux-pci/list/. I >>> don't see the Patchwork version anywhere, but it's the

[PATCH 3/6] templates: Add mailing list archive link to patch detail page

2019-08-07 Thread Andrew Donnellan
Add a link to the mailing list archive link to the patch detail page. Suggested-by: Takashi Iwai Signed-off-by: Andrew Donnellan --- patchwork/templates/patchwork/submission.html | 4 1 file changed, 4 insertions(+) diff --git a/patchwork/templates/patchwork/submission.html

[PATCH 2/6] models: Add list archive lookup

2019-08-07 Thread Andrew Donnellan
Add a list_archive_lookup_prefix field to Project, which will contain the address of a Message-ID redirector, e.g. "https://lore.kernel.org/r/;. Add a list_archive_url property to Submission and Comment, to generate an archive lookup URL based on the Message-ID. We will use this to display links

[PATCH 6/6] releasenotes: Add release note for new list archive fields

2019-08-07 Thread Andrew Donnellan
Signed-off-by: Andrew Donnellan --- .../list-archive-urls-604e69cd92c6b943.yaml| 18 ++ 1 file changed, 18 insertions(+) create mode 100644 releasenotes/notes/list-archive-urls-604e69cd92c6b943.yaml diff --git a/releasenotes/notes/list-archive-urls-604e69cd92c6b943.yaml

[PATCH 4/6] api: Add list archive fields

2019-08-07 Thread Andrew Donnellan
Add the new list archive fields to the API. As this is a backwards-compatible change, this requires only a minor version increment to v1.2. Signed-off-by: Andrew Donnellan --- patchwork/api/comment.py | 5 +++-- patchwork/api/cover.py| 6 -- patchwork/api/embedded.py | 14

[PATCH 1/6] models, templates: Add project list archive URL field

2019-08-07 Thread Andrew Donnellan
Add a field to link to a project's mailing list archive, and display it on the project info page. Signed-off-by: Andrew Donnellan --- .../0034_project_list_archive_url.py | 20 +++ patchwork/models.py | 1 +

Re: OpenAPI schema

2019-08-07 Thread Andrew Donnellan
On 7/8/19 7:41 pm, Stephen Finucane wrote: On Wed, 2019-08-07 at 17:10 +1000, Andrew Donnellan wrote: Currently working on some patches that add some extra fields to the API. Updating the OpenAPI schema, especially with the jinja2 templating that we use for versioning, is difficult, especially

Re: [PATCH] models: Add commit_url_format to Project

2019-08-07 Thread Michael Ellerman
Andrew Donnellan writes: > On 7/8/19 9:22 am, Andrew Donnellan wrote: >> On 6/8/19 10:20 pm, Michael Ellerman wrote: >>> Add a new field to Project, commit_url_format, which specifies a >>> format string that can be used to generate a link to a particular >>> commit for a project. >>> >>> This is

Re: OpenAPI schema

2019-08-07 Thread Stephen Finucane
On Wed, 2019-08-07 at 17:10 +1000, Andrew Donnellan wrote: > Currently working on some patches that add some extra fields to the API. > > Updating the OpenAPI schema, especially with the jinja2 templating that > we use for versioning, is difficult, especially for those of us with no >

OpenAPI schema

2019-08-07 Thread Andrew Donnellan
Currently working on some patches that add some extra fields to the API. Updating the OpenAPI schema, especially with the jinja2 templating that we use for versioning, is difficult, especially for those of us with no background in the OpenAPI format. patchwork.j2 is >2300 lines long, which is