RFR: 1452: Can never notify on first commit [v3]
Zhao Song
zsong at openjdk.org
Wed Oct 5 18:02:05 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:
set a threshold to determine whether should notify on first commit
-------------
Changes:
- all: https://git.openjdk.org/skara/pull/1385/files
- new: https://git.openjdk.org/skara/pull/1385/files/f5397b99..dd9c63e6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=skara&pr=1385&range=02
- incr: https://webrevs.openjdk.org/?repo=skara&pr=1385&range=01-02
Stats: 116 lines in 5 files changed: 111 ins; 0 del; 5 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