)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"43102a14b09e75877cc72808acbb5872fd390c80","unresolved":false,"context_lines":[{"line_number":22,"context_line":"to disable for testing \u0027suppress_deprecation_warnings\u0027."},{"line_number":23,"context_line":"- https://review.opendev.org/#/c/717802/"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"This commit adds a new flag to control the wanring for policies changing"},{"line_number":26,"context_line":"their defaults check_str only. There is no change for Policy changing their"},{"line_number":27,"context_line":"name or marked for removal."},{"line_number":28,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"df33271e_6a5bb453","line":25,"range":{"start_line":25,"start_character":43,"end_line":25,"end_character":50},"updated":"2020-04-07 00:25:40.000000000","message":"nit: warning","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"b5d03c29d26c465144ea34c470e64f276da12929","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Allow disabling the default check_str change warnings"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When policy change their default check_str and not override by"},{"line_number":10,"context_line":"operator then warnings are being logged which is ok when few"},{"line_number":11,"context_line":"policy are changing their defaults but in case of adopting the"},{"line_number":12,"context_line":"new defaults provided by keystone, all policies has to change"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"df33271e_af3be1ce","line":9,"updated":"2020-04-08 08:49:45.000000000","message":"OK, I totally miss-understood the intent here.\n\nWhen you have no policy overrides, but the check_str has changed via the deprecation system, a log messiage is ommitted. This allows projects to stop that happening.\n\nClearly, this is particulary useful for projects, like nova, that have just changed every check_str in the project!\n\nGot it now.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"}],"oslo_policy/policy.py":[{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"43102a14b09e75877cc72808acbb5872fd390c80","unresolved":false,"context_lines":[{"line_number":507,"context_line":"        # policies changing their default check_str and not"},{"line_number":508,"context_line":"        # override by operators. This does not control the"},{"line_number":509,"context_line":"        # warning for policy changed their name or deprecated"},{"line_number":510,"context_line":"        # for removal."},{"line_number":511,"context_line":"        self.suppress_default_change_warnings \u003d False"},{"line_number":512,"context_line":"        # FOR TESTING ONLY"},{"line_number":513,"context_line":"        self.suppress_deprecation_warnings \u003d False"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_8a5ef842","line":510,"updated":"2020-04-07 00:25:40.000000000","message":"This suppresses the warnings, but what about the logical OR?\n\nDo we want to offer a way for operators to opt into the new defaults and new concept of system scope without having to override all their policies with the new defaults?","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"13bffda1acbd41c6357b574f51533245869e9be6","unresolved":false,"context_lines":[{"line_number":507,"context_line":"        # policies changing their default check_str and not"},{"line_number":508,"context_line":"        # override by operators. This does not control the"},{"line_number":509,"context_line":"        # warning for policy changed their name or deprecated"},{"line_number":510,"context_line":"        # for removal."},{"line_number":511,"context_line":"        self.suppress_default_change_warnings \u003d False"},{"line_number":512,"context_line":"        # FOR TESTING ONLY"},{"line_number":513,"context_line":"        self.suppress_deprecation_warnings \u003d False"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_ed2b5e7f","line":510,"in_reply_to":"df33271e_8a5ef842","updated":"2020-04-07 00:32:51.000000000","message":"yeah, i was thinking to add separate flag for that but I think we can control with this flag itsef (after renaming). \n\nshould I switch enforce_scope to True also with new fag or keep both flag separate ? I prefer the former as both scope and new defaults enabled at same time make sense (I think that is what we discussed in IRC chat also).","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_6d90ee4f","line":677,"updated":"2020-04-07 01:11:54.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_cd9dba67","line":677,"updated":"2020-04-07 01:11:54.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_2daf0695","line":677,"updated":"2020-04-07 01:11:54.000000000","message":"lower-constraints:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_8d7c5221","line":677,"updated":"2020-04-07 01:11:54.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_cd765a3f","line":677,"updated":"2020-04-07 01:11:54.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_0d8e8226","line":677,"updated":"2020-04-07 01:11:54.000000000","message":"py36:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_cdabfa72","line":677,"updated":"2020-04-07 01:11:54.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_ed923e4b","line":677,"updated":"2020-04-07 01:11:54.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_4d988a69","line":677,"updated":"2020-04-07 01:11:54.000000000","message":"py37:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_0db7a2da","line":677,"updated":"2020-04-07 01:11:54.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_6dc74e47","line":677,"updated":"2020-04-07 01:11:54.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_2db6e6da","line":677,"updated":"2020-04-07 01:11:54.000000000","message":"py38:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"e107fd66e42ada84ed4142b50732fa9100e90c1e","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_43a4db08","line":677,"in_reply_to":"df33271e_ed923e4b","updated":"2020-04-07 02:56:15.000000000","message":"this is not fun which are from tests cases :)","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_ad9af66a","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_ed8d1e32","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_8d93b25c","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_0d896225","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_6d790e2e","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_ad73164d","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_4d836a05","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_2d88a61d","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_ada83677","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_6d9e2e55","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_2d9d4659","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_8da1f298","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_cdc49a43","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_edbb5ec1","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_4db1aae1","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"61b29bd85483b14f8148f73316d6758b7e4ca6d4","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_8dca924c","line":714,"updated":"2020-04-07 01:11:54.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"ce10f82aaf13cc0a851d8aa0205608493cd0362c"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"60368a749a99ad8411a474f231a348b888607d3b","unresolved":false,"context_lines":[{"line_number":503,"context_line":"        self._policy_dir_mtimes \u003d {}"},{"line_number":504,"context_line":"        self._file_cache \u003d {}"},{"line_number":505,"context_line":"        self._informed_no_policy_file \u003d False"},{"line_number":506,"context_line":"        # NOTE(gmann): This flag will supress the warning for"},{"line_number":507,"context_line":"        # policies changing their default check_str and not"},{"line_number":508,"context_line":"        # override by operators. This does not control the"},{"line_number":509,"context_line":"        # warning for policy changed their name or deprecated"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_c307191c","line":506,"range":{"start_line":506,"start_character":38,"end_line":506,"end_character":45},"updated":"2020-04-08 14:42:30.000000000","message":"suppress","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"60368a749a99ad8411a474f231a348b888607d3b","unresolved":false,"context_lines":[{"line_number":505,"context_line":"        self._informed_no_policy_file \u003d False"},{"line_number":506,"context_line":"        # NOTE(gmann): This flag will supress the warning for"},{"line_number":507,"context_line":"        # policies changing their default check_str and not"},{"line_number":508,"context_line":"        # override by operators. This does not control the"},{"line_number":509,"context_line":"        # warning for policy changed their name or deprecated"},{"line_number":510,"context_line":"        # for removal."},{"line_number":511,"context_line":"        self.suppress_default_change_warnings \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_2309a42b","line":508,"range":{"start_line":508,"start_character":47,"end_line":508,"end_character":54},"updated":"2020-04-08 14:42:30.000000000","message":"affect","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"60368a749a99ad8411a474f231a348b888607d3b","unresolved":false,"context_lines":[{"line_number":504,"context_line":"        self._file_cache \u003d {}"},{"line_number":505,"context_line":"        self._informed_no_policy_file \u003d False"},{"line_number":506,"context_line":"        # NOTE(gmann): This flag will supress the warning for"},{"line_number":507,"context_line":"        # policies changing their default check_str and not"},{"line_number":508,"context_line":"        # override by operators. This does not control the"},{"line_number":509,"context_line":"        # warning for policy changed their name or deprecated"},{"line_number":510,"context_line":"        # for removal."},{"line_number":511,"context_line":"        self.suppress_default_change_warnings \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_c301d806","line":508,"range":{"start_line":507,"start_character":52,"end_line":508,"end_character":18},"updated":"2020-04-08 14:42:30.000000000","message":"that have not been overridden","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_1e5b4a2e","line":677,"updated":"2020-04-07 04:28:09.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_fe74a69e","line":677,"updated":"2020-04-07 04:28:09.000000000","message":"lower-constraints:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_5e65d2e0","line":677,"updated":"2020-04-07 04:28:09.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_de79e293","line":677,"updated":"2020-04-07 04:28:09.000000000","message":"py36:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_3ea44e08","line":677,"updated":"2020-04-07 04:28:09.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_5eaaf2d1","line":677,"updated":"2020-04-07 04:28:09.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_9e5f5a0d","line":677,"updated":"2020-04-07 04:28:09.000000000","message":"py37:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_7e96d696","line":677,"updated":"2020-04-07 04:28:09.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_fe82e651","line":677,"updated":"2020-04-07 04:28:09.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_beb7be3a","line":677,"updated":"2020-04-07 04:28:09.000000000","message":"py38:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"60368a749a99ad8411a474f231a348b888607d3b","unresolved":false,"context_lines":[{"line_number":710,"context_line":"                                     [default.check_str,"},{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_032580ab","line":713,"updated":"2020-04-08 14:42:30.000000000","message":"I have the below warnings resolved with https://review.opendev.org/718138","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_7e3ff6b4","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_be497e61","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_9e463a4f","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_5e3cb2be","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_be621ed7","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_7e6896b9","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_3e6f2ec6","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_1e74ea98","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_1ea98ade","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_7ead36e9","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_de9e02b7","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_fe9946d0","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_de872261","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_1e822a50","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_3e7d6e6e","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6dfe1a155bab6d073d1bd00f7a7eb41336aa5a04","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_9eb47a37","line":714,"updated":"2020-04-07 04:28:09.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"da6397abe00ba52db25760e122113e6590f92afa"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"8a292fead8873d75dbbadb2bb1e39875b25ca861","unresolved":false,"context_lines":[{"line_number":509,"context_line":"        # warning for policy changed their name or deprecated"},{"line_number":510,"context_line":"        # for removal."},{"line_number":511,"context_line":"        self.suppress_default_change_warnings \u003d False"},{"line_number":512,"context_line":"        # FOR TESTING ONLY"},{"line_number":513,"context_line":"        self.suppress_deprecation_warnings \u003d False"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"    def set_rules(self, rules, overwrite\u003dTrue, use_conf\u003dFalse):"},{"line_number":516,"context_line":"        \"\"\"Create a new :class:`Rules` based on the provided dict of rules."}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_e5e200d5","line":513,"range":{"start_line":512,"start_character":8,"end_line":513,"end_character":50},"updated":"2020-04-09 13:42:07.000000000","message":"Do we document the difference between this option and the next option anywhere outside of code comments?","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"c79937f4b3d63427503299988e2a33ec55df92d4","unresolved":false,"context_lines":[{"line_number":509,"context_line":"        # warning for policy changed their name or deprecated"},{"line_number":510,"context_line":"        # for removal."},{"line_number":511,"context_line":"        self.suppress_default_change_warnings \u003d False"},{"line_number":512,"context_line":"        # FOR TESTING ONLY"},{"line_number":513,"context_line":"        self.suppress_deprecation_warnings \u003d False"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"    def set_rules(self, rules, overwrite\u003dTrue, use_conf\u003dFalse):"},{"line_number":516,"context_line":"        \"\"\"Create a new :class:`Rules` based on the provided dict of rules."}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_73951a40","line":513,"range":{"start_line":512,"start_character":8,"end_line":513,"end_character":50},"in_reply_to":"df33271e_08ea990d","updated":"2020-04-09 14:43:22.000000000","message":"Yeah - I think adding it somewhere is a good idea, but we can do that in a follow up.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"d3531f10e375af7fcc9128acbb53f322e752a832","unresolved":false,"context_lines":[{"line_number":509,"context_line":"        # warning for policy changed their name or deprecated"},{"line_number":510,"context_line":"        # for removal."},{"line_number":511,"context_line":"        self.suppress_default_change_warnings \u003d False"},{"line_number":512,"context_line":"        # FOR TESTING ONLY"},{"line_number":513,"context_line":"        self.suppress_deprecation_warnings \u003d False"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"    def set_rules(self, rules, overwrite\u003dTrue, use_conf\u003dFalse):"},{"line_number":516,"context_line":"        \"\"\"Create a new :class:`Rules` based on the provided dict of rules."}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_08ea990d","line":513,"range":{"start_line":512,"start_character":8,"end_line":513,"end_character":50},"in_reply_to":"df33271e_e5e200d5","updated":"2020-04-09 14:05:20.000000000","message":"I think no. Existing option is supposed to be used by tests only so i did not find the doc for that.\n\nShould we add that somewhere ?","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_7872334b","line":677,"updated":"2020-04-08 16:34:03.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_9877373b","line":677,"updated":"2020-04-08 16:34:03.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_f89be362","line":677,"updated":"2020-04-08 16:34:03.000000000","message":"lower-constraints:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_389d4b57","line":677,"updated":"2020-04-08 16:34:03.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_98ac578d","line":677,"updated":"2020-04-08 16:34:03.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_b8bafbbc","line":677,"updated":"2020-04-08 16:34:03.000000000","message":"py36:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_d8dc1f1a","line":677,"updated":"2020-04-08 16:34:03.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_f8b483d3","line":677,"updated":"2020-04-08 16:34:03.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_38c6eb4a","line":677,"updated":"2020-04-08 16:34:03.000000000","message":"py37:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_38cb8b4a","line":677,"updated":"2020-04-08 16:34:03.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_58d00ff8","line":677,"updated":"2020-04-08 16:34:03.000000000","message":"py38:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_d88edf25","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_3878ab29","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_b8915b49","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_1899676d","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_78a7d3a8","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_58a2cf9b","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_d8b7ffd7","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_18b207e7","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_58cbef51","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_78c0732b","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_b8df9b0a","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_98c5773f","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_98da9714","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_f8e923b7","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_78d513e5","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"cffd07ac1e9e91b053b1b4703d57dfcf664e9e47","unresolved":false,"context_lines":[{"line_number":711,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":712,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":713,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":714,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":715,"context_line":""},{"line_number":716,"context_line":"    def _undefined_check(self, check):"},{"line_number":717,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_18e7a7e6","line":714,"updated":"2020-04-08 16:34:03.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"51088be5ea843e8b69a6670ea94aaaee91a3f88c"}]}
