Hi, Stephen
I think you missed this patch. But I saw you have already merged
it, maybe it can give you some reference:)
2016-09-05 22:31 GMT+08:00 Pingbo Wen :
> From: WEN Pingbo
>
> If the subject of a submission is prefixed by 'Re:', then it can't be a
> patch or c
Signed-off-by: WEN Pingbo
---
patchwork/templates/patchwork/bundles.html | 46 ++
patchwork/views/bundle.py | 32 -
2 files changed, 65 insertions(+), 13 deletions(-)
diff --git a/patchwork/templates/patchwork/bundles.html
b
Becase the orig searchfilter only search the name field.
Signed-off-by: WEN Pingbo
---
patchwork/filters.py | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/patchwork/filters.py b/patchwork/filters.py
index 5650014..1995572 100644
--- a/patchwork/filters.py
+++ b
Filtering patch with related file path is good for us to monitor all
patch of a single directory or file.
Signed-off-by: WEN Pingbo
---
patchwork/filters.py | 43 +++
1 file changed, 43 insertions(+)
diff --git a/patchwork/filters.py b/patchwork
After we added patch series and patch version, we can't filter patch in
this way.
Signed-off-by: WEN Pingbo
---
patchwork/views/project.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/patchwork/views/project.py b/patchwork/views/project.py
index ea876b3..fd
If the subject of a submission is prefixed by 'Re:', then it can't be a
patch or cover letter.
Signed-off-by: WEN Pingbo
---
patchwork/bin/parsemail.py | 31 +++
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/patchwork/bin/parsemail
Added a OneToOneField in submission to create a single list of patch
version. And if two patches have the same raw subject(without prefixes),
we treat it as the same patch with different version.
Signed-off-by: WEN Pingbo
---
patchwork/bin/parsemail.py| 25
Added a ForeignKey in submission, and linked releated patches by
'In-Reply-To' or the first 'References'.
Child emails must fill 'In-Reply-To' or 'References' with correct msg-id,
or the parent field will keep empty.
Signed-off-b
Sometimes, we need to pass parameters to python parsing script
Signed-off-by: WEN Pingbo
---
patchwork/bin/parsearchive.sh | 2 +-
patchwork/bin/parsemail.sh| 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/patchwork/bin/parsearchive.sh b/patchwork/bin/parsearchive.sh
Avoiding below error:
django.db.utils.ProgrammingError: relation "patchwork_state" does not exist
LINE 1: ...dering", "patchwork_state"."action_required" FROM "patchwork...
Signed-off-by: WEN Pingbo
---
requirements-dev.txt | 2 +-
requirements-prod.t
Signed-off-by: WEN Pingbo
---
patchwork/bin/parsearchive.sh | 29 +
1 file changed, 29 insertions(+)
create mode 100755 patchwork/bin/parsearchive.sh
diff --git a/patchwork/bin/parsearchive.sh b/patchwork/bin/parsearchive.sh
new file mode 100755
index 000
of
this patch, and patch path filter, which can filter patch with
related file path.
Those patches have been tested by 37000 lkml patches.
WEN Pingbo (10):
stick django version to 1.8
bin: add parsearchive wrapper
bin/parse: append parameters to parse script
bin/parsemail: fix wrong
Thanks, Finucane
The Django 1.8.13 works, previous version I used is Django 1.9.7.
Pingbo
2016-06-27 21:24 GMT+08:00 Finucane, Stephen :
> On 27 Jun 21:21, WEN Pingbo wrote:
>> Hi,
>>
>> I got an error when importing some email to patchwork.
>>
>> Co
Hi,
I got an error when importing some email to patchwork.
Command: cat ~/mail/mail.0P8xgrB1UW | ./patchwork/bin/parsemail.sh
Output:
File "/opt/patchwork/patchwork/bin/parsemail.py", line 39, in
from django.contrib.auth.models import User
File "/usr/local/lib/python2.7/dist-packages/dj
Hi, Stephen
2016-05-20 17:07 GMT+08:00 Finucane, Stephen :
> On 20 May 16:44, WEN Pingbo wrote:
>> I want to install patchwork in my local environment, by following
>> development guide doc. But when I run './manage.py migrate' command,
>> the script complains t
Hello, folks
I want to install patchwork in my local environment, by following
development guide doc. But when I run './manage.py migrate' command,
the script complains that the 'patchwork_state' table not found. And I
can not find the table definition.
Did I miss something?
Here are the outputs
16 matches
Mail list logo