-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* enhance: getting visbility to match on vela and SCM * fix: modifying test cases to consider new visibility changes * adding my incomplete changes to recognizing a delete branch event in Vela * enhance: recognizing delete event * making things normal * fix: starting stuff * fix: main changes to processDeleteEvent() to get things working * fix: adding tests * fixing linter errors and go mod tidy * fix: deleting vscode things * fix: fixing tests * fix: moving around some code to clean up and bring in new types commit * fix: removing unused code * fix: go mod tidy * fix: removing unused test files * fix: adding more tests for delete event * fix: testing things --------- Co-authored-by: Claire.Nicholas <[email protected]> Co-authored-by: Claire.Nicholas <[email protected]>
- Loading branch information
1 parent
dbe8bce
commit 136cd54
Showing
12 changed files
with
484 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
{ | ||
"ref": "refs/heads/main", | ||
"before": "d3d9188fc87a6977343e922c128f162a86018d76", | ||
"after": "0000000000000000000000000000000000000000", | ||
"created": false, | ||
"deleted": true, | ||
"forced": false, | ||
"base_ref": null, | ||
"compare": "https://github.com/Codertocat/Hello-World/compare/d3d9188fc87a...9c93babf5891", | ||
"commits": [ | ||
|
||
], | ||
"head_commit": null, | ||
"repository": { | ||
"id": 135493233, | ||
"node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", | ||
"name": "Hello-World", | ||
"full_name": "Codertocat/Hello-World", | ||
"owner": { | ||
"name": "Codertocat", | ||
"email": "[email protected]", | ||
"login": "Codertocat", | ||
"id": 21031067, | ||
"node_id": "MDQ6VXNlcjIxMDMxMDY3", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/Codertocat", | ||
"html_url": "https://github.com/Codertocat", | ||
"followers_url": "https://api.github.com/users/Codertocat/followers", | ||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", | ||
"organizations_url": "https://api.github.com/users/Codertocat/orgs", | ||
"repos_url": "https://api.github.com/users/Codertocat/repos", | ||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/Codertocat/received_events", | ||
"type": "User", | ||
"site_admin": false | ||
}, | ||
"private": false, | ||
"html_url": "https://github.com/Codertocat/Hello-World", | ||
"description": null, | ||
"fork": false, | ||
"url": "https://github.com/Codertocat/Hello-World", | ||
"forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", | ||
"keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", | ||
"collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", | ||
"teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", | ||
"hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", | ||
"issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", | ||
"events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", | ||
"assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", | ||
"branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", | ||
"tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", | ||
"blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", | ||
"git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", | ||
"git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", | ||
"trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", | ||
"statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", | ||
"languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", | ||
"stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", | ||
"contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", | ||
"subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", | ||
"subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", | ||
"commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", | ||
"git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", | ||
"comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", | ||
"issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", | ||
"contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", | ||
"compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", | ||
"merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", | ||
"archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", | ||
"downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", | ||
"issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", | ||
"pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", | ||
"milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", | ||
"notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", | ||
"labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", | ||
"releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", | ||
"deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", | ||
"created_at": 1527711484, | ||
"updated_at": "2018-05-30T20:18:35Z", | ||
"pushed_at": 1527711528, | ||
"git_url": "git://github.com/Codertocat/Hello-World.git", | ||
"ssh_url": "[email protected]:Codertocat/Hello-World.git", | ||
"clone_url": "https://github.com/Codertocat/Hello-World.git", | ||
"svn_url": "https://github.com/Codertocat/Hello-World", | ||
"homepage": null, | ||
"size": 0, | ||
"stargazers_count": 0, | ||
"watchers_count": 0, | ||
"language": null, | ||
"has_issues": true, | ||
"has_projects": true, | ||
"has_downloads": true, | ||
"has_wiki": true, | ||
"has_pages": true, | ||
"forks_count": 0, | ||
"mirror_url": null, | ||
"archived": false, | ||
"open_issues_count": 2, | ||
"license": null, | ||
"forks": 0, | ||
"open_issues": 2, | ||
"watchers": 0, | ||
"default_branch": "main", | ||
"stargazers": 0, | ||
"master_branch": "main", | ||
"topics": [ | ||
"go", | ||
"vela" | ||
] | ||
}, | ||
"pusher": { | ||
"name": "Codertocat", | ||
"email": "[email protected]" | ||
}, | ||
"sender": { | ||
"login": "Codertocat", | ||
"id": 21031067, | ||
"node_id": "MDQ6VXNlcjIxMDMxMDY3", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/Codertocat", | ||
"html_url": "https://github.com/Codertocat", | ||
"followers_url": "https://api.github.com/users/Codertocat/followers", | ||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", | ||
"organizations_url": "https://api.github.com/users/Codertocat/orgs", | ||
"repos_url": "https://api.github.com/users/Codertocat/repos", | ||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/Codertocat/received_events", | ||
"type": "User", | ||
"site_admin": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
{ | ||
"ref": "refs/tags/v0.1", | ||
"before": "d3d9188fc87a6977343e922c128f162a86018d76", | ||
"after": "0000000000000000000000000000000000000000", | ||
"created": false, | ||
"deleted": true, | ||
"forced": false, | ||
"base_ref": null, | ||
"compare": "https://github.com/Codertocat/Hello-World/compare/d3d9188fc87a...9c93babf5891", | ||
"commits": [ | ||
|
||
], | ||
"head_commit": null, | ||
"repository": { | ||
"id": 135493233, | ||
"node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", | ||
"name": "Hello-World", | ||
"full_name": "Codertocat/Hello-World", | ||
"owner": { | ||
"name": "Codertocat", | ||
"email": "[email protected]", | ||
"login": "Codertocat", | ||
"id": 21031067, | ||
"node_id": "MDQ6VXNlcjIxMDMxMDY3", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/Codertocat", | ||
"html_url": "https://github.com/Codertocat", | ||
"followers_url": "https://api.github.com/users/Codertocat/followers", | ||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", | ||
"organizations_url": "https://api.github.com/users/Codertocat/orgs", | ||
"repos_url": "https://api.github.com/users/Codertocat/repos", | ||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/Codertocat/received_events", | ||
"type": "User", | ||
"site_admin": false | ||
}, | ||
"private": false, | ||
"html_url": "https://github.com/Codertocat/Hello-World", | ||
"description": null, | ||
"fork": false, | ||
"url": "https://github.com/Codertocat/Hello-World", | ||
"forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", | ||
"keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", | ||
"collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", | ||
"teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", | ||
"hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", | ||
"issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", | ||
"events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", | ||
"assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", | ||
"branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", | ||
"tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", | ||
"blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", | ||
"git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", | ||
"git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", | ||
"trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", | ||
"statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", | ||
"languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", | ||
"stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", | ||
"contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", | ||
"subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", | ||
"subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", | ||
"commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", | ||
"git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", | ||
"comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", | ||
"issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", | ||
"contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", | ||
"compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", | ||
"merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", | ||
"archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", | ||
"downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", | ||
"issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", | ||
"pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", | ||
"milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", | ||
"notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", | ||
"labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", | ||
"releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", | ||
"deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", | ||
"created_at": 1527711484, | ||
"updated_at": "2018-05-30T20:18:35Z", | ||
"pushed_at": 1527711528, | ||
"git_url": "git://github.com/Codertocat/Hello-World.git", | ||
"ssh_url": "[email protected]:Codertocat/Hello-World.git", | ||
"clone_url": "https://github.com/Codertocat/Hello-World.git", | ||
"svn_url": "https://github.com/Codertocat/Hello-World", | ||
"homepage": null, | ||
"size": 0, | ||
"stargazers_count": 0, | ||
"watchers_count": 0, | ||
"language": null, | ||
"has_issues": true, | ||
"has_projects": true, | ||
"has_downloads": true, | ||
"has_wiki": true, | ||
"has_pages": true, | ||
"forks_count": 0, | ||
"mirror_url": null, | ||
"archived": false, | ||
"open_issues_count": 2, | ||
"license": null, | ||
"forks": 0, | ||
"open_issues": 2, | ||
"watchers": 0, | ||
"default_branch": "main", | ||
"stargazers": 0, | ||
"master_branch": "main", | ||
"topics": [ | ||
"go", | ||
"vela" | ||
] | ||
}, | ||
"pusher": { | ||
"name": "Codertocat", | ||
"email": "[email protected]" | ||
}, | ||
"sender": { | ||
"login": "Codertocat", | ||
"id": 21031067, | ||
"node_id": "MDQ6VXNlcjIxMDMxMDY3", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/Codertocat", | ||
"html_url": "https://github.com/Codertocat", | ||
"followers_url": "https://api.github.com/users/Codertocat/followers", | ||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", | ||
"organizations_url": "https://api.github.com/users/Codertocat/orgs", | ||
"repos_url": "https://api.github.com/users/Codertocat/repos", | ||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/Codertocat/received_events", | ||
"type": "User", | ||
"site_admin": false | ||
} | ||
} | ||
|
Oops, something went wrong.