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

Zhao Song zsong at openjdk.org
Fri Oct 7 17:51:49 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:

  Update vcs/src/main/java/org/openjdk/skara/vcs/ReadOnlyRepository.java
  
  Co-authored-by: Erik Joelsson <37597443+erikj79 at users.noreply.github.com>

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

Changes:
  - all: https://git.openjdk.org/skara/pull/1385/files
  - new: https://git.openjdk.org/skara/pull/1385/files/36aeedbc..3c6e4cfd

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

  Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 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