| // Copyright 2020 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| syntax = "proto3"; |
| |
| package recipes.fuchsia.release.cherry_pick; |
| |
| message InputProperties { |
| message ChangeInfo { |
| // Revision to cherry-pick. |
| string revision = 1; |
| |
| // Change-Id to cherry-pick. |
| // The corresponding change's latest patchset must match `revision`. |
| string change_id = 2; |
| |
| // Change URL. |
| string change_url = 3; |
| } |
| |
| // One or more changes to cherry-pick. |
| repeated ChangeInfo changes = 1; |
| |
| // Target project to apply cherry-pick(s). |
| string target_project = 2; |
| |
| // Target project's remote. |
| // Used to disambiguate projects with the same name. |
| string target_remote = 3; |
| |
| // Name of branch to cherry-pick to. Must start with "releases/". |
| string target_branch = 4; |
| |
| // Whether to apply revert(s) instead of cherry-pick(s). |
| bool revert_mode = 5; |
| |
| reserved 6; |
| |
| // Branch preparation mode: whether to short-circuit after ensuring |
| // `target_project` branch exists. |
| bool prepare_branch = 7; |
| |
| // Enable dryrun mode: do not modify anything remotely. |
| bool dryrun = 8; |
| |
| // Integration project name. |
| string project = 9; |
| |
| // Remote integration manifest name. |
| string manifest = 10; |
| |
| // Remote integration manifest repository. |
| string remote = 11; |
| |
| // Bug to reference in commit message. |
| string bug = 12; |
| |
| // Downstream builders to display links to. |
| repeated string downstream_builders = 13; |
| } |