Tags: google/copybara
Tags
Allow QuiltTransformation to run on existing patches folders The QuiltTransformation now warns instead of failing if a 'patches' directory already exists in the destination. It will overwrite the 'series' file and any patch files being imported, while preserving other files in the 'patches' directory. This allows for re-running the transformation without manual cleanup. It also allows it to run in-place for after-move transforms. BUG=481299219 GWSQ_IGNORES: no-reply@google.com PiperOrigin-RevId: 906331061 Change-Id: I8885f5aef3c192f5ae096b4cca538740d03bfedd
Add retry logic to Gerrit change lookup before submitting. When submitting a Gerrit change, Copybara will now retry querying Gerrit for the change ID up to 3 times with exponential backoff (1s, 2s) if the change is not found immediately. This addresses issues where Gerrit might not immediately return the change after it has been pushed. BUG=472404588 GWSQ_IGNORES: no-reply@google.com PiperOrigin-RevId: 904563462 Change-Id: I06235cb8030d6d2c30cb387eee6751f136958ea7
Fix NullPointerException when no file name is given This change ensures that Copybara handles cases where the configuration path provided on the command line does not have a filename (e.g., the root directory '/'), preventing a `java.lang.NullPointerException` from `Path.getFileName().toString()`. BUG=485259576 GWSQ_IGNORE: chriscampos@google.com PiperOrigin-RevId: 883360034 Change-Id: I5c413e51943b572029aef9b72d4679400a8a9dfe
Add support for filtering Gerrit changes by status. This allows users to specify `STATUS` in the `events` field of the `git.gerrit_trigger`. The desired statuses (e.g., "PENDING", "ABANDONED", "MERGED", "CLOSED", "REVIEWED", "OPEN") can be provided in the `SUBTYPES_STATUS` list. This enables workflows to react to changes in Gerrit status, such as triggering garbage collection on abandoned changes. BUG=491868096 GWSQ_IGNORE: joshgoldman@google.com PiperOrigin-RevId: 885767818 Change-Id: I82538311797ae8c2896edf34c705c8f7b8760a6b
PreviousNext