Skip to content

Commit

Permalink
#1198 added 'repository' event to GithubWebhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
amihaiemil committed Aug 10, 2021
1 parent ad07e3e commit 86a0f26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions self-api/src/main/java/com/selfxdsd/api/Collaborators.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
* @author Mihai Andronache (amihaiemil@gmail.com)
* @version $Id$
* @since 0.0.13
* @todo #1198:60min Elevate the PMs repo permissions when sending the
* invitation. At the moment the PM has Write permissions which seems to not be
* enough in order to add/remove Webhooks.
*/
public interface Collaborators extends Iterable<Collaborator> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
* @author Mihai Andronache (amihaiemil@gmail.com)
* @version $Id$
* @since 0.0.13
* @todo #1196:60min When registering the Project webhook, make sure to also add
* the Repo Rename event to it. After that we might have to do it for Gitlab
* as well.
*/
final class GithubWebhooks implements Webhooks {

Expand Down Expand Up @@ -105,6 +102,7 @@ public boolean add(final Project project) {
.add("issue_comment")
.add("pull_request")
.add("push")
.add("repository")
)
.add(
"config",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public void addsWebhookCreated() {
.add("issue_comment")
.add("pull_request")
.add("push")
.add("repository")
)
.add(
"config",
Expand Down Expand Up @@ -147,6 +148,7 @@ public void addsWebhookNotFound() {
.add("issue_comment")
.add("pull_request")
.add("push")
.add("repository")
)
.add(
"config",
Expand Down

2 comments on commit 86a0f26

@zoeself
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amihaiemil I've opened the Issues [#1207] for the newly added to-dos.

The to-dos may have been added in an earlier commit, but I've found them just now.

@zoeself
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amihaiemil I've closed the Issues [#1198] since their to-dos disappeared from the code.

The to-dos may have been removed in an earlier commit, but I've found it just now.

Please sign in to comment.