Integrated: 1434: Testissue#addLink doesn't generate the right relationship for the reversed link

Guoxiong Li gli at openjdk.java.net
Wed Jun 1 08:21:31 UTC 2022


On Sat, 28 May 2022 08:33:36 GMT, Guoxiong Li <gli at openjdk.org> wrote:

> Hi all,
> 
> This patch fixes the reversed link type. For example, when adding a `csr for` link at `ISSUE-1` which links to `ISSUE-2`, the `ISSUE-2` should have a reversed link `csr of` instead of the same link type `csr for`.
> 
> The reversed relations are shown below:
> - `backported by` and `backport of`
> - `csr for` and `csr of`
> - `blocks` and `is blocked by`
> - `clones` and `is cloned by`
> 
> And the `duplicates` link type doesn't have the reversed linke type like `duplicated by` now. So we should use the link type `duplicates` instead of `duplicated by` in the test cases so that the tests can be closer to the actual situation.
> 
> Thanks for taking the time to review.
> 
> Best Regards,
> -- Guoxiong

This pull request has now been integrated.

Changeset: 925bd2b8
Author:    Guoxiong Li <gli at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/925bd2b8de1ea4a86d6b1e1815f7fd194ee13624
Stats:     13 lines in 3 files changed: 5 ins; 0 del; 8 mod

1434: Testissue#addLink doesn't generate the right relationship for the reversed link

Reviewed-by: erikj

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

PR: https://git.openjdk.java.net/skara/pull/1325


More information about the skara-dev mailing list