RFR: 1452: Can never notify on first commit [v2]

Zhao Song duke at openjdk.org
Thu Sep 29 22:02:22 UTC 2022


> I changed the logic when there is no notify history.
> 
> Originally, on the first commit of a new repo, the bot would find no notify history, so it will make the first commit as an initial state and it will not make any notification.
> 
> Now, on the first commit of a new repo, the bot would find no notify history too, but it will make the initial git hash as the initial state of the repo, so it will treat the first commit as an 'update' operation and will make notifications.

Zhao Song has updated the pull request incrementally with one additional commit since the last revision:

  fix some bugs in MailingListNotifierTests

-------------

Changes:
  - all: https://git.openjdk.org/skara/pull/1385/files
  - new: https://git.openjdk.org/skara/pull/1385/files/9c637fc3..f5397b99

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=skara&pr=1385&range=01
 - incr: https://webrevs.openjdk.org/?repo=skara&pr=1385&range=00-01

  Stats: 127 lines in 1 file changed: 9 ins; 93 del; 25 mod
  Patch: https://git.openjdk.org/skara/pull/1385.diff
  Fetch: git fetch https://git.openjdk.org/skara pull/1385/head:pull/1385

PR: https://git.openjdk.org/skara/pull/1385


More information about the skara-dev mailing list