- Description:
-
~ Testing Done:
~ Serialize single rr in a .json file, and recreate rr from file.
- commend: ./reviewboard/manage.py test -- testing.extensions - - Reviewed at https://reviews.reviewboard.org/r/7915/
- - Merge branch 'master' of git://github.com/reviewboard/reviewboard
- - - - add export/import review requests tool
- Testing Done:
-
+ Manually see the results.
Export/import review requests tool
Review Request #7952 — Created Feb. 8, 2016 and discarded
Exported review requests are save into file in json format, and this file can be imported to recreate review requests. Objects to b serialized are put in topological order based on dependencies.
Manually export and import review requests with/without local site to see the results.
Export all non local site review requests to a file.
Export all local sites to a file.
Export a single local site to a file.
Import all local sites and recreate local sites from a file.
Import all local sites without local sites (merge into global) from a file.
Import all non local site review requests from a file and create a local site for them.One assumption is that no IntegrityError, ie no Users with same username, a file is not imported twice, etc.
Import is atomic transaction therefore IntegrityError leads to roll back.
init.py and json.py are from Django's built-in serializers.
Description | From | Last Updated |
---|---|---|
Hm... I suspect this diff shouldn't be in here... |
mike_conley | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 36 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 49 E225 missing whitespace around operator |
reviewbot | |
Col: 51 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 53 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 48 E225 missing whitespace around operator |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 80 E501 line too long (90 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
undefined name 'self' |
reviewbot | |
undefined name 'self' |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 5 E265 block comment should start with '# ' |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 46 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
'from reviewboard.reviews.models.review_request import *' used; unable to detect undefined names |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 18 E703 statement ends with a semicolon |
reviewbot | |
Col: 9 E265 block comment should start with '# ' |
reviewbot | |
Col: 80 E501 line too long (91 > 79 characters) |
reviewbot | |
Col: 9 E265 block comment should start with '# ' |
reviewbot | |
Col: 80 E501 line too long (93 > 79 characters) |
reviewbot | |
Col: 9 E265 block comment should start with '# ' |
reviewbot | |
Col: 9 E265 block comment should start with '# ' |
reviewbot | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 80 E501 line too long (86 > 79 characters) |
reviewbot | |
Col: 21 W291 trailing whitespace |
reviewbot | |
Col: 80 E501 line too long (88 > 79 characters) |
reviewbot | |
Col: 88 E703 statement ends with a semicolon |
reviewbot | |
Col: 9 E303 too many blank lines (2) |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
undefined name 'self' |
reviewbot | |
undefined name 'self' |
reviewbot | |
Col: 36 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 38 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 36 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 38 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 29 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 31 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 47 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 49 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 5 E265 block comment should start with '# ' |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 46 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 48 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 46 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
'from reviewboard.reviews.models.review_request import *' used; unable to detect undefined names |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 18 E703 statement ends with a semicolon |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 20 E127 continuation line over-indented for visual indent |
reviewbot | |
Col: 20 E127 continuation line over-indented for visual indent |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 36 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 38 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 36 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 38 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 29 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 31 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 47 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 49 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 5 E265 block comment should start with '# ' |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 46 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 48 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 46 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 18 E703 statement ends with a semicolon |
reviewbot | |
Col: 62 W291 trailing whitespace |
reviewbot | |
Col: 13 E113 unexpected indentation |
reviewbot | |
Col: 69 W291 trailing whitespace |
reviewbot | |
Col: 73 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 36 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 38 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 36 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 38 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 29 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 31 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 47 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 49 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 5 E265 block comment should start with '# ' |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 46 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 48 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 46 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 36 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 38 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 36 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 38 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 29 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 31 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 47 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 49 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 5 E265 block comment should start with '# ' |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 46 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 48 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 46 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (83 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (97 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (102 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (93 > 79 characters) |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (85 > 79 characters) |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (85 > 79 characters) |
reviewbot | |
undefined name 'getvalue' |
reviewbot | |
local variable 'db' is assigned to but never used |
reviewbot | |
'python' imported but unused |
reviewbot | |
'from reviewboard.reviews.models.review_request import *' used; unable to detect undefined names |
reviewbot | |
local variable 'string_data' is assigned to but never used |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 41 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 17 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 25 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 25 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 21 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 73 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 1 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 1 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 67 W291 trailing whitespace |
reviewbot | |
Col: 13 E265 block comment should start with '# ' |
reviewbot | |
Col: 68 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 13 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 1 W391 blank line at end of file |
reviewbot | |
Col: 80 E501 line too long (85 > 79 characters) |
reviewbot | |
Col: 13 E265 block comment should start with '# ' |
reviewbot | |
Col: 9 E265 block comment should start with '# ' |
reviewbot | |
Col: 13 E265 block comment should start with '# ' |
reviewbot | |
Col: 17 E116 unexpected indentation (comment) |
reviewbot | |
Col: 13 E265 block comment should start with '# ' |
reviewbot | |
Col: 17 E265 block comment should start with '# ' |
reviewbot | |
Col: 17 E731 do not assign a lambda expression, use a def |
reviewbot | |
local variable 'db' is assigned to but never used |
reviewbot | |
'from reviewboard.reviews.models.review_request import *' used; unable to detect undefined names |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 41 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 17 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 25 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 25 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 21 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 73 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 1 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 1 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 67 W291 trailing whitespace |
reviewbot | |
Col: 13 E265 block comment should start with '# ' |
reviewbot | |
Col: 68 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 13 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 1 W391 blank line at end of file |
reviewbot | |
Col: 80 E501 line too long (85 > 79 characters) |
reviewbot | |
Col: 13 E265 block comment should start with '# ' |
reviewbot | |
Col: 9 E265 block comment should start with '# ' |
reviewbot | |
Col: 13 E265 block comment should start with '# ' |
reviewbot | |
Col: 17 E116 unexpected indentation (comment) |
reviewbot | |
Col: 13 E265 block comment should start with '# ' |
reviewbot | |
Col: 17 E265 block comment should start with '# ' |
reviewbot | |
Col: 17 E731 do not assign a lambda expression, use a def |
reviewbot | |
local variable 'db' is assigned to but never used |
reviewbot | |
'base' imported but unused |
reviewbot | |
'from reviewboard.reviews.models.review_request import *' used; unable to detect undefined names |
reviewbot | |
'from reviewboard.site.models import *' used; unable to detect undefined names |
reviewbot | |
'six' imported but unused |
reviewbot | |
'transaction' imported but unused |
reviewbot | |
'connections' imported but unused |
reviewbot | |
'router' imported but unused |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E101 indentation contains mixed spaces and tabs |
reviewbot | |
Col: 1 E101 indentation contains mixed spaces and tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 80 E501 line too long (89 > 79 characters) |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
local variable 'db' is assigned to but never used |
reviewbot | |
'IntegrityError' imported but unused |
reviewbot | |
'from reviewboard.reviews.models.review_request import *' used; unable to detect undefined names |
reviewbot | |
'from reviewboard.site.models import *' used; unable to detect undefined names |
reviewbot | |
'six' imported but unused |
reviewbot | |
'transaction' imported but unused |
reviewbot | |
'connections' imported but unused |
reviewbot | |
'router' imported but unused |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E101 indentation contains mixed spaces and tabs |
reviewbot | |
Col: 1 E101 indentation contains mixed spaces and tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 80 E501 line too long (89 > 79 characters) |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
'DEFAULT_DB_ALIAS' imported but unused |
reviewbot | |
'IntegrityError' imported but unused |
reviewbot | |
'from reviewboard.reviews.models.review_request import *' used; unable to detect undefined names |
reviewbot | |
'from reviewboard.site.models import *' used; unable to detect undefined names |
reviewbot | |
'six' imported but unused |
reviewbot | |
'router' imported but unused |
reviewbot | |
'connections' imported but unused |
reviewbot | |
'transaction' imported but unused |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E101 indentation contains mixed spaces and tabs |
reviewbot | |
Col: 80 E501 line too long (89 > 79 characters) |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 E101 indentation contains mixed spaces and tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
Col: 1 W191 indentation contains tabs |
reviewbot | |
undefined name 'models' |
reviewbot | |
undefined name 'models' |
reviewbot | |
undefined name 'models' |
reviewbot | |
undefined name 'models' |
reviewbot | |
undefined name 'transaction' |
reviewbot | |
undefined name 'transaction' |
reviewbot | |
undefined name 'transaction' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 13 E203 whitespace before ':' |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 41 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 17 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 5 E303 too many blank lines (2) |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot | |
Col: 77 E226 missing whitespace around arithmetic operator |
reviewbot | |
Col: 29 W292 no newline at end of file |
reviewbot | |
Col: 1 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 1 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 13 E265 block comment should start with '# ' |
reviewbot | |
Col: 68 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 13 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 1 W391 blank line at end of file |
reviewbot | |
Col: 80 E501 line too long (85 > 79 characters) |
reviewbot | |
Col: 13 E265 block comment should start with '# ' |
reviewbot | |
Col: 9 E265 block comment should start with '# ' |
reviewbot | |
Col: 13 E265 block comment should start with '# ' |
reviewbot | |
Col: 17 E731 do not assign a lambda expression, use a def |
reviewbot | |
Col: 17 E731 do not assign a lambda expression, use a def |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot |
- Change Summary:
-
Add natural_key() to related classes, and get_by_natural_key() to related model managers
- Branch:
-
masterrelease-2.5.x
-
Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/models/group.py reviewboard/reviews/models/review_request.py reviewboard/site/models.py reviewboard/reviews/managers.py reviewboard/reviews/tools.py reviewboard/changedescs/models.py
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Change Summary:
-
Added natural keys to DiffSetHistory, Repository, and Tool
- Diff:
-
Revision 3 (+111 -7)
-
Tool: Pyflakes Processed Files: reviewboard/scmtools/managers.py reviewboard/scmtools/models.py reviewboard/diffviewer/models.py reviewboard/reviews/models/group.py reviewboard/reviews/models/review_request.py reviewboard/site/models.py reviewboard/reviews/managers.py reviewboard/reviews/tools.py reviewboard/changedescs/models.py Ignored Files: .reviewboardrc Tool: PEP8 Style Checker Processed Files: reviewboard/scmtools/managers.py reviewboard/scmtools/models.py reviewboard/diffviewer/models.py reviewboard/reviews/models/group.py reviewboard/reviews/models/review_request.py reviewboard/site/models.py reviewboard/reviews/managers.py reviewboard/reviews/tools.py reviewboard/changedescs/models.py Ignored Files: .reviewboardrc WARNING: Number of comments exceeded maximum, showing 30 of 33.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Change Summary:
-
Added diff (DiffSetHistory, DiffSet, FileDiff, RawFileDiffData, LegacyFileDiffData) and Group
- Diff:
-
Revision 4 (+200 -9)
-
Tool: Pyflakes Processed Files: reviewboard/scmtools/managers.py reviewboard/scmtools/models.py reviewboard/diffviewer/models.py reviewboard/reviews/models/group.py reviewboard/reviews/models/review_request.py reviewboard/site/models.py reviewboard/reviews/managers.py reviewboard/diffviewer/managers.py reviewboard/reviews/tools.py reviewboard/changedescs/models.py Tool: PEP8 Style Checker Processed Files: reviewboard/scmtools/managers.py reviewboard/scmtools/models.py reviewboard/diffviewer/models.py reviewboard/reviews/models/group.py reviewboard/reviews/models/review_request.py reviewboard/site/models.py reviewboard/reviews/managers.py reviewboard/diffviewer/managers.py reviewboard/reviews/tools.py reviewboard/changedescs/models.py WARNING: Number of comments exceeded maximum, showing 30 of 50.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Change Summary:
-
Fixed old objects being overridden problem. Tyring ways to make unique natural_key().
- Diff:
-
Revision 5 (+202 -9)
-
Tool: PEP8 Style Checker Processed Files: reviewboard/scmtools/managers.py reviewboard/scmtools/models.py reviewboard/diffviewer/models.py reviewboard/reviews/models/group.py reviewboard/reviews/models/review_request.py reviewboard/site/models.py reviewboard/reviews/managers.py reviewboard/diffviewer/managers.py reviewboard/reviews/tools.py reviewboard/changedescs/models.py WARNING: Number of comments exceeded maximum, showing 30 of 48.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Change Summary:
-
Modified Django's built-in Serializers code to use uuid
- Diff:
-
Revision 6 (+790 -9)
-
Tool: PEP8 Style Checker Processed Files: reviewboard/scmtools/managers.py reviewboard/reviews/serializers/json.py reviewboard/scmtools/models.py reviewboard/reviews/serializers/__init__.py reviewboard/diffviewer/models.py reviewboard/reviews/serializers/python.py reviewboard/reviews/models/group.py reviewboard/reviews/models/review_request.py reviewboard/reviews/serializers/base.py reviewboard/site/models.py reviewboard/reviews/managers.py reviewboard/diffviewer/managers.py reviewboard/reviews/tools.py reviewboard/changedescs/models.py WARNING: Number of comments exceeded maximum, showing 30 of 105.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Tool: PEP8 Style Checker Processed Files: reviewboard/scmtools/managers.py reviewboard/reviews/serializers/json.py reviewboard/scmtools/models.py reviewboard/reviews/serializers/__init__.py reviewboard/diffviewer/models.py reviewboard/reviews/serializers/python.py reviewboard/reviews/models/group.py reviewboard/reviews/models/review_request.py reviewboard/reviews/serializers/base.py reviewboard/site/models.py reviewboard/reviews/managers.py reviewboard/diffviewer/managers.py reviewboard/reviews/tools.py reviewboard/changedescs/models.py WARNING: Number of comments exceeded maximum, showing 30 of 109.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
There are a lot of old open issues on old reviews (mostly from Review Bot). Please mark these as "Fixed" so we have an accurate count of which things still have yet to be addressed.
-
Tool: Pyflakes Processed Files: reviewboard/reviews/serializers/base.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/json.py reviewboard/reviews/tools.py reviewboard/reviews/serializers/__init__.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/serializers/base.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/json.py reviewboard/reviews/tools.py reviewboard/reviews/serializers/__init__.py WARNING: Number of comments exceeded maximum, showing 30 of 73.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Tool: Pyflakes Processed Files: reviewboard/reviews/serializers/base.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/json.py reviewboard/reviews/tools.py reviewboard/reviews/serializers/__init__.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/serializers/base.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/json.py reviewboard/reviews/tools.py reviewboard/reviews/serializers/__init__.py WARNING: Number of comments exceeded maximum, showing 30 of 64.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Tool: Pyflakes Processed Files: reviewboard/reviews/serializers/base.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/json.py reviewboard/reviews/tools.py reviewboard/reviews/serializers/__init__.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/serializers/base.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/json.py reviewboard/reviews/tools.py reviewboard/reviews/serializers/__init__.py WARNING: Number of comments exceeded maximum, showing 30 of 73.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Tool: Pyflakes Processed Files: reviewboard/reviews/serializers/json.py reviewboard/reviews/serializers/__init__.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/RBBase.py reviewboard/reviews/serializers/base.py reviewboard/reviews/tools.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/serializers/json.py reviewboard/reviews/serializers/__init__.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/RBBase.py reviewboard/reviews/serializers/base.py reviewboard/reviews/tools.py WARNING: Number of comments exceeded maximum, showing 30 of 116.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Tool: Pyflakes Processed Files: reviewboard/reviews/serializers/json.py reviewboard/reviews/serializers/__init__.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/RBBase.py reviewboard/reviews/serializers/base.py reviewboard/reviews/tools.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/serializers/json.py reviewboard/reviews/serializers/__init__.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/RBBase.py reviewboard/reviews/serializers/base.py reviewboard/reviews/tools.py WARNING: Number of comments exceeded maximum, showing 30 of 115.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Tool: Pyflakes Processed Files: reviewboard/reviews/serializers/json.py reviewboard/reviews/serializers/__init__.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/RBBase.py reviewboard/reviews/serializers/base.py reviewboard/reviews/tools.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/serializers/json.py reviewboard/reviews/serializers/__init__.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/RBBase.py reviewboard/reviews/serializers/base.py reviewboard/reviews/tools.py WARNING: Number of comments exceeded maximum, showing 30 of 115.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Tool: Pyflakes Processed Files: reviewboard/reviews/serializers/base.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/json.py reviewboard/reviews/tools.py reviewboard/reviews/serializers/__init__.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/serializers/base.py reviewboard/reviews/serializers/python.py reviewboard/reviews/serializers/json.py reviewboard/reviews/tools.py reviewboard/reviews/serializers/__init__.py WARNING: Number of comments exceeded maximum, showing 30 of 76.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Change Summary:
-
Updated description and test messages
- Description:
-
~ Serialize single rr in a .json file, and recreate rr from file.
~ Exported review requests are save into file in json format, and this file can be imported to recreate review requests. Objects to b serialized are put in topological order based on dependencies.
- Testing Done:
-
~ Manually see the results.
~ Manually export and import review requests with/without local site to see the results.
+ + Export all non local site review requests to a file.
+ Export all local sites to a file. + Export a single local site to a file. + Import all local sites and recreate local sites from a file. + Import all local sites without local sites (merge into global) from a file. + Import all non local site review requests from a file and create a local site for them. + + One assumption is that no IntegrityError, ie no Users with same username, a file is not imported twice, etc.
+ Import is atomic transaction therefore IntegrityError leads to roll back. + init.py and json.py are from Django's built-in serializers.