| // Copyright 2020 The Pigweed Authors |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| // use this file except in compliance with the License. You may obtain a copy of |
| // the License at |
| // |
| // https://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| // License for the specific language governing permissions and limitations under |
| // the License. |
| |
| syntax = "proto3"; |
| |
| package recipes.pigweed.bazel_roller; |
| |
| import "recipe_modules/fuchsia/auto_roller/options.proto"; |
| import "recipe_modules/pigweed/bazel_roll/git_repository.proto"; |
| import "recipe_modules/pigweed/checkout/options.proto"; |
| |
| message InputProperties { |
| // Checkout module options. |
| recipe_modules.pigweed.checkout.Options checkout_options = 1; |
| |
| // Git repositories to update. |
| repeated recipe_modules.pigweed.bazel_roll.GitRepository git_repositories = 2; |
| |
| // Auto roller module options. |
| recipe_modules.fuchsia.auto_roller.Options auto_roller_options = 3; |
| |
| // The path of the WORKSPACE file to update. If not provided the recipe will |
| // look for a top-level WORKSPACE or MODULE.bazel file. If provided and is a |
| // directory, looks for those files in that directory. |
| // DEPRECATED. |
| string workspace_path = 4; |
| |
| // Name for project to be rolled. By default will extract from WORKSPACE. |
| string project_name = 5; |
| // DEPRECATED. |
| |
| // Repository referred to by the WORKSPACE file. |
| // DEPRECATED. |
| string project_remote = 6; |
| |
| // Branch to get latest from when new_revision is None and no buildbucket |
| // trigger. Default: "main". |
| // DEPRECATED. |
| string project_branch = 7; |
| |
| // Forge the author so rolls of single commits are attributed to the original |
| // commit author. |
| bool forge_author = 8; |
| } |