angular-cn/dev-infra
Paul Gschwendtner cb2ab26296 feat(dev-infra): merge script should link to original commit when cherry-picking with API strategy (#37889)
The merge script uses `git cherry-pick` for both the API merge strategy
and the autosquash strategy. It uses cherry-pick to push commits to
different target branches (e.g. into the `10.0.x` branch).

Those commits never point to the commits that landed in the primary
Github branch though. For the autosquash strategy the pull request number
is always included, so there is a way to go back to the source. On the other
hand though, for commits cherry-picked in the API merge strategy, the
pull request number might not always be included (due to Github's
implementation of the rebase merge method).

e.g.
27f52711c0

For those cases we'd want to link the cherry-picked commits to the
original commits so that the corresponding PR is easier to track
down. This is not needed for the autosquash strategy (as outlined
before), but it would have been good for consistency. Unfortunately
though this would rather complicate the strategy as the autosquash
strategy cherry-picks directly from the PR head, so the SHAs that
are used in the primary branch are not known.

PR Close #37889
2020-07-07 12:16:21 -07:00
..
bazel refactor(dev-infra): ng_rollup_bundle rule should leverage `@bazel/rollup` (#37623) 2020-06-22 10:55:28 -07:00
benchmark feat(dev-infra): add a way to pass assets down to a benchmark application (#37695) 2020-06-25 11:51:51 -07:00
browsers build: update to latest stable Chromium 83.0.4103 in both rules_webtesting and puppeteer (#37427) 2020-06-08 09:16:40 -07:00
commit-message feat(dev-infra): add support for minBodyLengthTypeExcludes to commit-message validation (#37764) 2020-06-26 11:13:09 -07:00
format build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
pr feat(dev-infra): merge script should link to original commit when cherry-picking with API strategy (#37889) 2020-07-07 12:16:21 -07:00
pullapprove fix(dev-infra): allow for deep merging of pullapprove config aliases (#36915) 2020-06-15 14:29:32 -07:00
release refactor(dev-infra): use the `exec()` helper from `utils/shelljs` whenever possible (#37444) 2020-06-05 09:21:18 -07:00
ts-circular-dependencies style(dev-infra): correct tslint failures in dev-infra directory (#37233) 2020-06-04 12:44:46 -07:00
utils fix(dev-infra): merge script should not always require full repo permissions (#37718) 2020-06-26 09:52:33 -07:00
BUILD.bazel refactor(dev-infra): small changes and fixes (#36800) 2020-06-03 13:12:30 -07:00
cli.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
ng-dev build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tmpl-package.json refactor(dev-infra): migrate github api in GitClient to rely on GithubClient (#37593) 2020-06-22 10:54:43 -07:00