Marija Savtchouk
cee6a8fed1
Add an option to keep votes when moving the change to another branch.
...
The intention of this change is to support master -> main migration.
Today, only the veto votes that are blocking the change from submission
are moved to the destination branch. Adding an option allows admin to
decide what to do with the votes when moving open changes, using a
simple script.
Added 'keepAllVotes' option so it is possible to move all votes. The
option is only allowed to be used by admins at their own risk, because
it affects the submission behavior of the change depending on the label
access configuration and submission rules.
We could squash the user votes to the allowed permission range:
* In that case the original votes would be lost when moving back
to the original branch.
* It is expensive to call permission backend
* The votes are often granted in the context of a specific branch
Other options and considerations in the original discussion:
Iae0443b16151
Change-Id: Ia197a779f93e928604a0d0ea3360825dcfbeb6d9
2020-12-03 15:33:41 +00:00
..
2020-10-20 14:07:41 +03:00
2015-05-06 11:25:51 -07:00
2020-11-23 16:57:33 -05:00
2019-12-13 10:59:57 +00:00
2020-02-12 15:29:48 +00:00
2019-10-11 19:29:40 +02:00
2017-08-28 01:44:52 +02:00
2016-07-07 14:06:31 +02:00
2016-07-07 14:06:31 +02:00
2018-09-24 09:33:48 -07:00
2020-08-11 09:35:56 +00:00
2018-09-24 18:36:21 +00:00
2018-09-24 23:07:27 +00:00
2019-01-17 08:36:21 +00:00
2019-01-11 14:44:23 -08:00
2018-09-24 23:07:53 +00:00
2020-09-02 11:59:23 -07:00
2018-09-24 21:28:19 -07:00
2018-09-24 21:30:48 -07:00
2018-09-24 21:33:42 -07:00
2018-09-26 12:31:46 -07:00
2020-07-22 08:38:15 +02:00
2018-09-26 12:31:46 -07:00
2018-09-26 12:31:46 -07:00
2018-09-26 12:31:46 -07:00
2018-09-26 12:31:46 -07:00
2018-09-26 12:31:46 -07:00
2019-04-23 06:43:56 -07:00
2019-01-11 14:44:23 -08:00
2018-09-26 12:31:46 -07:00
2018-11-12 19:22:29 +00:00
2016-07-06 10:54:42 +02:00
2018-11-12 19:22:29 +00:00
2019-05-19 14:28:59 +00:00
2019-01-24 17:38:42 +00:00
2018-11-12 19:22:29 +00:00
2018-11-12 19:22:29 +00:00
2018-11-12 19:22:29 +00:00
2019-04-19 16:05:40 +09:00
2019-11-11 01:08:18 -08:00
2019-11-11 01:08:18 -08:00
2018-11-12 19:22:29 +00:00
2018-11-12 19:22:29 +00:00
2018-11-12 19:22:29 +00:00
2018-11-12 19:22:29 +00:00
2019-01-17 08:36:21 +00:00
2019-04-29 13:10:22 +00:00
2020-03-11 11:20:46 +09:00
2018-11-12 19:22:29 +00:00
2018-11-12 19:22:29 +00:00
2018-11-12 19:22:29 +00:00
2019-11-11 07:06:01 -08:00
2018-11-12 19:22:29 +00:00
2018-11-12 19:22:29 +00:00
2018-11-12 19:22:29 +00:00
2018-11-12 19:22:29 +00:00
2020-09-17 16:07:50 +02:00
2020-11-05 11:03:49 +01:00
2019-12-13 10:59:57 +00:00
2020-11-24 14:32:05 -08:00
2019-01-11 14:44:23 -08:00
2018-10-17 17:41:53 +00:00
2020-11-23 16:57:33 -05:00
2019-12-13 10:59:57 +00:00
2019-12-10 17:20:11 +01:00
2019-12-13 10:59:57 +00:00
2020-01-10 11:41:35 +01:00
2020-07-10 17:31:18 +03:00
2020-03-02 08:12:22 +09:00
2020-06-18 22:25:07 +09:00
2020-08-28 13:30:04 +02:00
2019-05-30 04:30:55 +00:00
2019-12-13 10:59:57 +00:00
2019-03-02 05:10:44 +00:00
2019-07-29 10:52:51 +02:00
2020-11-19 20:51:22 +00:00
2019-10-17 00:49:52 +09:00
2020-04-02 14:18:24 +00:00
2020-04-03 10:12:08 +09:00
2020-09-24 12:48:07 -04:00
2020-11-03 15:50:14 -05:00
2020-09-29 11:30:06 -04:00
2019-08-07 11:56:53 +02:00
2019-08-07 11:56:53 +02:00
2019-09-26 23:19:53 +02:00
2019-08-07 11:56:53 +02:00
2020-08-31 20:22:04 +01:00
2019-12-13 10:59:57 +00:00
2020-09-30 12:23:13 -04:00
2020-10-06 21:01:24 +00:00
2019-12-13 10:59:57 +00:00
2020-10-06 21:01:24 +00:00
2019-12-13 10:59:57 +00:00
2020-11-27 14:52:22 +01:00
2020-10-29 15:42:52 +00:00
2020-03-30 15:20:10 -04:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2020-10-29 11:43:27 -04:00
2017-02-28 09:09:33 +01:00
2020-06-22 12:31:26 +00:00
2017-10-01 12:38:18 +00:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2019-08-30 20:40:23 +09:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2020-06-05 11:11:00 -04:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2016-09-08 13:50:04 +09:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2017-08-31 12:19:58 -04:00
2019-12-13 10:59:57 +00:00
2020-09-03 18:02:14 -04:00
2019-12-13 10:59:57 +00:00
2020-01-10 14:20:23 +09:00
2019-12-13 10:59:57 +00:00
2020-05-06 14:10:33 +02:00
2018-09-18 11:12:35 -07:00
2020-02-22 20:14:51 -05:00
2019-12-13 10:59:57 +00:00
2019-12-13 10:59:57 +00:00
2020-07-14 14:11:09 -04:00
2020-11-12 22:29:03 +01:00
2019-12-05 11:13:43 +00:00
2018-07-17 07:08:16 +02:00
2020-11-12 22:29:03 +01:00
2020-02-13 10:25:58 +09:00
2020-09-16 17:37:33 +02:00
2020-11-20 15:08:55 -05:00
2020-07-01 13:32:25 -04:00
2019-10-22 16:58:05 +00:00
2018-04-06 15:24:56 -07:00
2020-09-18 10:17:38 +02:00
2020-04-24 19:44:51 +09:00
2020-09-18 10:17:38 +02:00
2017-12-27 21:40:31 +00:00
2019-10-25 08:31:53 +09:00
2018-01-04 15:59:48 -08:00
2019-08-22 15:53:32 +00:00
2019-08-22 15:53:32 +00:00
2019-12-13 10:59:57 +00:00
2020-08-06 09:49:57 +02:00
2018-12-10 10:42:14 -08:00
2019-01-11 14:44:23 -08:00
2019-01-11 14:44:23 -08:00
2019-12-13 10:59:57 +00:00
2017-01-12 00:25:25 +00:00
2019-04-02 10:14:30 -07:00
2020-02-26 14:57:08 +01:00
2019-01-11 14:44:23 -08:00
2016-07-08 13:47:29 +02:00
2019-07-16 14:25:48 +09:00
2020-08-06 23:10:23 +02:00
2020-11-09 10:31:59 +01:00
2019-12-13 10:59:57 +00:00
2020-02-26 16:31:07 -05:00
2020-08-11 09:35:56 +00:00
2020-10-29 21:38:36 +00:00
2020-12-03 15:33:41 +00:00
2020-10-22 11:13:07 +02:00
2017-01-23 12:44:58 +00:00
2020-08-11 09:35:56 +00:00
2020-07-11 10:14:16 +02:00
2020-11-24 19:13:55 +01:00
2019-12-13 10:59:57 +00:00
2020-11-04 15:47:16 +00:00
2015-06-25 07:26:25 +02:00
2017-09-30 15:47:14 +02:00
2015-04-30 14:37:09 +00:00
2020-04-04 10:09:39 -04:00
2020-11-04 18:51:08 +05:30
2020-11-05 04:37:46 +00:00
2020-07-27 18:21:32 +03:00
2019-12-18 08:41:21 +01:00
2019-12-13 10:59:57 +00:00
2018-03-25 13:55:14 +01:00
2017-09-13 14:57:46 +02:00
2019-02-02 22:54:33 +00:00
2020-11-05 04:37:46 +00:00
2019-12-13 10:59:57 +00:00
2018-04-19 09:30:07 +02:00
2020-11-18 11:59:40 -05:00