-
-
RBTools is being maintained, but it's been undergoing a significant rewrite. There will be a 0.5 release out soon that drastically changes the codebase. One of the main things is that communication code is now common and not isolated to postreview.py (though postreview.py is staying around mostly as-is for backwards-compatibility reasons for another release or two). RBTools has historically been less actively developed than Review Board (it's primarily been 2 people total for the majority of all our development), but we have a dedicated maintainer now for RBTools.
-
> There will be a 0.5 release out soon that drastically changes the codebase. Neat, glad to hear it! Any guess roughly when it'll be released? Re-applying our patch set to 0.4 has been slowly crawling up my todo list but if 0.5 is just around the corner then I might as well wait for that (and update these code reviews with the rebased versions).
-
We're working to get the documentation in shape now, and fix any bugs that crop up, so it's pretty close.
-
-
Retrying when we encounter a connection reset
Review Request #3563 — Created Nov. 26, 2012 and discarded
Our users have occasionally encountered connection resets when running postreview.py from remote locations with poor connectivity. These errors are transient, so adding retries when postreview encounters a timeout. This is available in my timeout_retries branch... https://github.com/atagar/rbtools/commit/08c288484576503768c29e87c9b6cb08529fec90 https://github.com/atagar/rbtools/tree/timeout_retries
This exact change is untested, but we've been running an identical change with RBTools 0.3 for three months now without any issues.
Description | From | Last Updated |
---|---|---|
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (108 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (95 > 79 characters) |
reviewbot | |
Col: 16 E111 indentation is not a multiple of four |
reviewbot | |
Col: 16 E113 unexpected indentation |
reviewbot | |
Col: 18 E111 indentation is not a multiple of four |
reviewbot | |
Col: 18 E113 unexpected indentation |
reviewbot | |
Col: 17 E901 IndentationError |
reviewbot | |
Col: 17 E113 unexpected indentation |
reviewbot | |
Col: 17 E112 expected an indented block |
reviewbot | |
Please add a docstring for this method. |
david | |
Instead of using the continuation character \, please wrap the condition in parentheses. |
david | |
Why the sleep? This should also probably have a handler for the case where tries == 0, and show an … |
david |
AT
- Change Summary:
-
Bump? Re-applied against the release-0.5 tag and did a simple sanity test that posting a git backed code review worked... https://github.com/atagar/rbtools/tree/timeout_retries https://github.com/atagar/rbtools/commit/db13e513137957ccc75a00e7b39e4591cad0b4ce
- Diff:
-
Revision 2 (+22 -15)
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: rbtools/postreview.py Ignored Files:
-
-
-
-
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: rbtools/postreview.py Ignored Files:
AT
- Change Summary:
-
Oops, forgot a couple other fixes we've collected for this retry handling... * Not all URLError instances have a reason attribute. * Callers may legitamately want to receive HTTPError instances (this accidentally caught them since they're a URLError subclass). You could repro the issue caused by the later by doing... 1. 'postreview.py CLN' (this will complete successfully) 2. 'postreview.py CLN' again (this will fail with a 409 rather than update the prior one)
- Diff:
-
Revision 4 (+34 -15)
AT
- Change Summary:
-
Fine, fine, installed pep8 just to check this damn thing. It shows a few issues... moirai:~% pep8 postreview.py postreview.py:38:80: E501 line too long (82 characters) postreview.py:60:24: E261 at least two spaces before inline comment postreview.py:153:20: E221 multiple spaces before operator postreview.py:970:5: E303 too many blank lines (2) postreview.py:1370:27: E201 whitespace after '(' But that could be accounted for via ignores or a version difference. This fixes what this instance is swawking about, anyway.
- Diff:
-
Revision 7 (+34 -15)
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: rbtools/postreview.py Ignored Files: