Announcement: Patchew server is online now
Hello, everyone
I'm glad to announce the fresh Patchew server deployment:
The mission of this project is to help identify obvious defects (coding style, compiling, etc.) of posted patches.
Follow the green "passed" or red "failed" button in the page and you'll see the testing log. You can also see which series have got reviews or comments.
Q: How will this impact patch submission and merging process?
Nothing is affected (at least for now), use this as an auxiliary.
Q: What exactly are tested for each patch?
* scripts/checkpatch.pl
* git am (on top of qemu.git)
* ./configure --target-list=x86_64-softmmu
* make
* make check
Q: No different architectures, compilers or targets?
Not yet. A simple script does the test in a docker instance. A bigger coverage is possible though, by adding steps to the script:
[1]: https://github.com/famz/patchew/blob/master/tests/qemu-devel.sh
Q: Where is the said email notification?
The email notification feature is ready. In a few days I will enable automatic replying to the list, once the web interface and testing are both running smoothly and up to speed. Currently the only recipient is Fam :)
Q: Where is the source code?
https://github.com/famz/patchew
(Pull requests very welcome!)
Enjoy, and feel free to make comments!
Thank you!
---
Fam Zheng
Am 28.02.2015 um 07:47 schrieb Fam Zheng:
Quoted 44 lines
Hello, everyone
I'm glad to announce the fresh Patchew server deployment:
The mission of this project is to help identify obvious defects (coding style, compiling, etc.) of posted patches.
Follow the green "passed" or red "failed" button in the page and you'll see the testing log. You can also see which series have got reviews or comments.
Q: How will this impact patch submission and merging process?
Nothing is affected (at least for now), use this as an auxiliary.
Q: What exactly are tested for each patch?
*
scripts/checkpatch.pl
* git am (on top of qemu.git)
* ./configure --target-list=x86_64-softmmu
* make
* make checkQ: No different architectures, compilers or targets?
Not yet. A simple script does the test in a docker instance. A bigger coverage is possible though, by adding steps to the script:
[1]: https://github.com/famz/patchew/blob/master/tests/qemu-devel.sh
Q: Where is the said email notification?
The email notification feature is ready. In a few days I will enable automatic replying to the list, once the web interface and testing are both running smoothly and up to speed. Currently the only recipient is Fam :)
Q: Where is the source code?
https://github.com/famz/patchew
(Pull requests very welcome!)
Quoted 8 lines
Enjoy, and feel free to make comments!
Thank you!
---
Fam Zheng
That's really great!
Maybe in a next step, the code coverage could be improved by installing more optional software packages on your host. Currently the output of configure contains many lines with "no" (GTK support is missing, for example). For an Ubuntu 32 bit host, I just installed all software packages which improve code coverage during the build, see my documentation on http://wiki.qemu.org/Hosts/Linux. I promptly got a build error because some parts of QEMU (migration/rdma.c) only support 64 bit builds...
So for the future, both 32 and 64 bit builds would be useful. Then of course also cross builds for Windows would be nice. :-) If you run many builds, you can save memory and time by using --enable-debug for most of them.
Thanks
Stefan
Quoted 5 lines · Fam Zheng
Hello, everyone
I'm glad to announce the fresh Patchew server deployment:
Looks slick!
Could the authors be made links, so I could click on myself and see all my submissions?
Quoted 4 lines · Markus Armbruster
Quoted 2 lines · Fam Zheng
Hello, everyone
Quoted 9 lines
Quoted 3 lines
I'm glad to announce the fresh Patchew server deployment:
Looks slick!
Could the authors be made links, so I could click on myself and see all my submissions?
Sure, I'm adding to the wishlist, but FWIW you can bookmark a "from:[email protected]" search result page:
http://patchew.org/?search=from%3Aarmbru%40redhat.com
Fam
Quoted 3 lines · Fam Zheng
I'm glad to announce the fresh Patchew server deployment:
Looks nice! Looking forward to email notifications.
Stefan
Am 28.02.2015 um 07:47 schrieb Fam Zheng:
Quoted 12 lines
Hello, everyone
I'm glad to announce the fresh Patchew server deployment:
The mission of this project is to help identify obvious defects (coding style, compiling, etc.) of posted patches.
Follow the green "passed" or red "failed" button in the page and you'll see the testing log. You can also see which series have got reviews or comments.
Quoted 8 lines
Q: How will this impact patch submission and merging process?
Nothing is affected (at least for now), use this as an auxiliary.
Q: What exactly are tested for each patch?
*
scripts/checkpatch.pl
* git am (on top of qemu.git)
Obviously checkpatch.pl reports false positives because it tries to analyze quoted-printable UTF-8 e-mails. Here an example:
http://qemu.patchew.org/testing/log/%[email protected]%3E
Here is the message from Patchew:
<<< WARNING >>>ERROR: spaces required around that '=' (ctx:WxV) <<< WARNING >>>#96: FILE: util/oslib-posix.c:404:
<<< WARNING >>>+ for (i =3D 0; i < numpages; i++) {
<<< WARNING >>> ^
It's wrong because "=3D" is simply a quoted "=", and it is surrounded by spaces here.
Regards
Stefan
Quoted 19 lines · Stefan Weil
Am 28.02.2015 um 07:47 schrieb Fam Zheng:
Quoted 18 lines
Hello, everyone
I'm glad to announce the fresh Patchew server deployment:
The mission of this project is to help identify obvious defects (coding style, compiling, etc.) of posted patches.
Follow the green "passed" or red "failed" button in the page and you'll see the testing log. You can also see which series have got reviews or comments.
Q: How will this impact patch submission and merging process?
Nothing is affected (at least for now), use this as an auxiliary.
Q: What exactly are tested for each patch?
Quoted 7 lines
Quoted 2 lines
*
scripts/checkpatch.pl
* git am (on top of qemu.git)Obviously checkpatch.pl reports false positives because it tries to analyze quoted-printable UTF-8 e-mails. Here an example:
Right.
The result was produced before I fixed the bug. I reran the test and now it's passed.
Fam
Quoted 1 line · Fam Zheng
Enjoy, and feel free to make comments!
Very nice.
Search by path (files touched by patch) would be nice, i.e. something like "path:ui/vnc*" to see all patches touching vnc code.
Also recognizing more tags (such as tested-by, see here for an example):
http://qemu.patchew.org/series/%
[email protected]%3E
would be useful.
cheers,
Gerd
Quoted 7 lines · Gerd Hoffmann
Quoted 1 line · Fam Zheng
Enjoy, and feel free to make comments!
Very nice.
Search by path (files touched by patch) would be nice, i.e. something like "path:ui/vnc*" to see all patches touching vnc code.
Interesting. Any good python library or existing implementations in your mind? Otherwise I have to write a simple patch mail parsing library to achieve that.
Quoted 4 lines
Also recognizing more tags (such as tested-by, see here for an example):
http://qemu.patchew.org/series/%
[email protected]%3E
Sure, this is a good catch!
Fam
Hi,
Quoted 4 lines
Quoted 2 lines
Search by path (files touched by patch) would be nice, i.e. something like "path:ui/vnc*" to see all patches touching vnc code.
Interesting. Any good python library or existing implementations in your mind?
Sorry, no.
I code next to nothing in python though, so that doesn't imply such a library doesn't exist ;)
cheers,
Gerd