blob: c1c2d87b538a151c5c6dd40eb639f226f4603db1 [file] [log] [blame]
google_issue_default {
host: "crbug.com"
}
warning {
name: "BUILDBUCKET_BUILDER_ID_DEPRECATED"
description: "api.buildbucket.builder_id is deprecated."
description: ""
description: "Use api.buildbucket.build.builder instead."
deadline: "2024-06-03"
google_issue { id: 332774996 }
}
warning {
name: "BUILDBUCKET_BUILD_ID_DEPRECATED"
description: "api.buildbucket.build_id is deprecated."
description: ""
description: "Use api.buildbucket.build.id instead."
deadline: "2024-06-03"
google_issue { id: 332774996 }
}
warning {
name: "BUILDBUCKET_BUILD_INPUT_DEPRECATED"
description: "api.buildbucket.build_input is deprecated."
description: ""
description: "Use api.buildbucket.build.input instead."
deadline: "2024-06-03"
google_issue { id: 332774996 }
}
warning {
name: "CHECKOUT_DIR_DEPRECATED"
description: "api.path.checkout_dir is deprecated."
description: ""
description: "This value acts like a global variable and leads to very"
description: "confusing code. Instead of this, prefer the following (in order"
description: "from most to least desirable):"
description: ""
description: "1) Modify functions which inspect api.path.checkout_dir to"
description: "instead directly take the directory to operate on."
description: ""
description: "2) Modify functions to use the recipe_engine/context module's"
description: "cwd value. This can still be confusing if abused, because it"
description: "changes the behavior of the function based on the context from"
description: "which it's called. However, for some 'leaf' functions which are"
description: "just directly invoking a tool in a directory, this can be"
description: "acceptable. Unlike the checkout_dir value in path, the context"
description: "module keeps per-thread state, which means that concurrent"
description: "futures in the recipe will each see their own value as"
description: "appropriate for their own call stack."
description: ""
description: "3) Introduce your own 'global' path to a module that you own,"
description: "and then use this. This doesn't solve the code clarity problem"
description: "directly, but can be a useful transition for code which heavily"
description: "relies on the existing checkout_dir within its own codebase."
description: "This will not solve the problem for common modules which use"
description: "the checkout_dir global variable without a way to explicitly"
description: "pass in a directory, however."
description: ""
description: "If you pick this third path, please consider making this global"
description: "only assignable once, and making it a hard error (e.g. raise"
description: "ValueError) if this is accessed prior to assignment."
deadline: "2024-06-24"
google_issue { id: 329113288 }
}
warning {
name: "CQ_MODULE_DEPRECATED"
description: "The cq module is deprecated."
description: ""
description: "Use the cv module instead."
deadline: "2024-07-01"
google_issue { id: 333811087 }
}
warning {
name: "JSON_READ_DEPRECATED"
description: "api.json.read() is deprecated."
description: ""
description: "Use api.file.read_json() instead."
deadline: "2024-06-06"
google_issue { id: 332774562 }
}
warning {
name: "LEGACY_PROPERTIES_DEPRECATED"
description: "api.properties.legacy() is deprecated."
description: ""
description: "Instead of passing all of the properties as a blob, please"
description: "consider passing specific arguments to scripts that need them."
description: "Doing this makes it much easier to debug and diagnose which"
description: "scripts use which properties."
deadline: "2024-06-07"
google_issue { id: 332776173 }
}
warning {
name: "PATH_EQ_DEPRECATED"
description: "api.path.eq() is deprecated."
description: ""
description: "Use the == operator instead."
deadline: "2024-07-01"
google_issue { id: 335898567 }
}
warning {
name: "PATH_IS_PARENT_OF_DEPRECATED"
description: "config_types.Path.is_parent_of() is deprecated."
description: ""
description: "Use 'x in path.parents' instead."
description: ""
description: "This is part of a larger effort to replace config_types.Path"
description: "with pathlib.Path. Since the interfaces of the two classes are"
description: "not identical, config_types.Path is being made to look more"
description: "like pathlib.Path."
deadline: "2024-06-10"
google_issue { id: 329113288 }
}
warning {
name: "PATH_JOIN_DEPRECATED"
description: "config_types.Path.join() is deprecated."
description: ""
description: "Use config_types.Path.joinpath() instead. Or, use"
description: "api.path.join(), or the / operator."
description: ""
description: "This is part of a larger effort to replace config_types.Path"
description: "with pathlib.Path. Since the interfaces of the two classes are"
description: "not identical, config_types.Path is being made to look more"
description: "like pathlib.Path."
deadline: "2024-06-10"
google_issue { id: 329113288 }
}
warning {
name: "PYTHON2_DEPRECATED"
description: "Python2 is deprecated."
description: ""
description: "The indicated step is invoking vpython or python2."
description: "Please switch this to `vpython3` or `python3`."
}
warning {
name: "SET_BUILDBUCKET_HOST_DEPRECATED"
description: "api.buildbucket.set_buildbucket_host() is deprecated."
description: ""
description: "Use api.buildbucket.host = '...' instead."
deadline: "2024-06-13"
google_issue { id: 332776145 }
}
warning {
name: "STEP_NEST_PRESENTATION_DEPRECATED"
description: ".presentation on value yielded by api.step.nest() is deprecated"
description: ""
description: "Specifically, this is deprecated:"
description: ""
description: " with api.step.nest('foo') as foo:"
description: " foo.presentation.step_summary_text = '...'"
description: ""
description: "Instead, try the following:"
description: ""
description: " with api.step.nest('foo') as pres:"
description: " pres.step_summary_text = '...'"
deadline: "2024-06-17"
google_issue { id: 332773904 }
}