Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different repoIds of the same repository #278

Open
yankai-wang opened this issue Jul 21, 2022 · 0 comments
Open

Different repoIds of the same repository #278

yankai-wang opened this issue Jul 21, 2022 · 0 comments

Comments

@yankai-wang
Copy link

Some events with exactly the same repoName and repoUrls have multiple repoIds. I think there might be something wrong with the Push event and the Create event (though the same issue also happens on other event types)? I didn't find any documentation about this. Anyone has some ideas? Thanks!
@igrigorik

For example (urls in the payload are also not working):

uid rawPayload actorId actorLogin typeType public createDate orgId orgLogin repoId repoName repoUrl count_id
15023033069 {"push_id":6453516578,"size":1,"distinct_size":1,"ref":"refs/heads/main","head":"1e27d3b7bbc748c87c48bee95b73108f384b2c96","before":"b4ec31c0ebdd29d900e6a6187064156b055f00d3","commits":[{"sha":"1e27d3b7bbc748c87c48bee95b73108f384b2c96","author":{"name":"deleoneduardo","email":"1109c06845105ecf5fb685dcd6ea29c0e7806ad2@users.noreply.github.com"},"message":"Set theme jekyll-theme-midnight","distinct":true,"url":"https://api.github.com/repos/deleoneduardo/deleoneduardo.github.io/commits/1e27d3b7bbc748c87c48bee95b73108f384b2c96"}]} 56415025 deleoneduardo PushEvent true 2021-02-01 17:41:50+00:00 335032077 deleoneduardo/deleoneduardo.github.io https://api.github.com/repos/deleoneduardo/deleoneduardo.github.io 3
16238086623 {"push_id":7060071297,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"b4dcc3624250d594d4548ca71b8a3fcd129b4d96","before":"fab483e64e8433e5cf6e0982360bcd9a876a0b59","commits":[{"sha":"b4dcc3624250d594d4548ca71b8a3fcd129b4d96","author":{"name":"Eduardo De Leon","email":"[email protected]"},"message":"Update _config.yml","distinct":true,"url":"https://api.github.com/repos/deleoneduardo/deleoneduardo.github.io/commits/b4dcc3624250d594d4548ca71b8a3fcd129b4d96"}]} 56415025 deleoneduardo PushEvent true 2021-05-07 05:11:58+00:00 365115018 deleoneduardo/deleoneduardo.github.io https://api.github.com/repos/deleoneduardo/deleoneduardo.github.io 3
16338467202 {"push_id":7105338292,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"18f6e7bf5428a52f2f0d7469e5dd8ae8fe6304cf","before":"5cbc86d632da96f69043cfcb83b4b1ff14839e8a","commits":[{"sha":"18f6e7bf5428a52f2f0d7469e5dd8ae8fe6304cf","author":{"name":"Eduardo De Leon","email":"[email protected]"},"message":"Update _config.yml","distinct":true,"url":"https://api.github.com/repos/deleoneduardo/deleoneduardo.github.io/commits/18f6e7bf5428a52f2f0d7469e5dd8ae8fe6304cf"}]} 56415025 deleoneduardo PushEvent true 2021-05-12 17:45:41+00:00 365115018 deleoneduardo/deleoneduardo.github.io https://api.github.com/repos/deleoneduardo/deleoneduardo.github.io 3
16169451054 {"push_id":7026379710,"size":1,"distinct_size":1,"ref":"refs/heads/main","head":"c89a3293ca3dae4df53e0c6f9c9378a5a413787b","before":"8da2646c2f20abfedc986e2f6a6f8eb982de13b0","commits":[{"sha":"c89a3293ca3dae4df53e0c6f9c9378a5a413787b","author":{"name":"Eduardo De Leon","email":"[email protected]"},"message":"Update default.html","distinct":true,"url":"https://api.github.com/repos/deleoneduardo/deleoneduardo.github.io/commits/c89a3293ca3dae4df53e0c6f9c9378a5a413787b"}]} 56415025 deleoneduardo PushEvent true 2021-05-02 06:32:22+00:00 362997207 deleoneduardo/deleoneduardo.github.io https://api.github.com/repos/deleoneduardo/deleoneduardo.github.io 3
16167990483 {"push_id":7025457588,"size":1,"distinct_size":1,"ref":"refs/heads/main","head":"375eedde55d78c9c86b5334835dc0daf40a4acb3","before":"68de2e584909f99219b79786403564ee19c8ecf0","commits":[{"sha":"375eedde55d78c9c86b5334835dc0daf40a4acb3","author":{"name":"Eduardo De Leon","email":"[email protected]"},"message":"Update default.html","distinct":true,"url":"https://api.github.com/repos/deleoneduardo/deleoneduardo.github.io/commits/375eedde55d78c9c86b5334835dc0daf40a4acb3"}]} 56415025 deleoneduardo PushEvent true 2021-05-01 22:14:45+00:00 362997207 deleoneduardo/deleoneduardo.github.io https://api.github.com/repos/deleoneduardo/deleoneduardo.github.io 3

For another example:

uid rawPayload actorId actorLogin typeType public createDate orgId orgLogin repoId repoName repoUrl count_id
5875759318 {"ref":"3.0","ref_type":"tag","master_branch":"3.0","description":null,"pusher_type":"user"} 1730679 denis-yuen CreateEvent true 2017-05-15 19:10:07+00:00 26419297 dockstore-testing 91121421 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5944626926 {"ref":"3.0","ref_type":"tag","pusher_type":"user"} 27782619 travisgithuboicr DeleteEvent true 2017-05-25 20:35:21+00:00 26419297 dockstore-testing 92213370 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5943331420 {"ref":"3.0","ref_type":"tag","master_branch":"3.0","description":null,"pusher_type":"user"} 27782619 travisgithuboicr CreateEvent true 2017-05-25 17:19:38+00:00 26419297 dockstore-testing 92213370 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5733914164 {"ref":"3.0","ref_type":"tag","master_branch":"3.0","description":null,"pusher_type":"user"} 27782619 travisgithuboicr CreateEvent true 2017-04-21 18:32:45+00:00 26419297 dockstore-testing 88895292 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5812716702 {"ref":"3.0","ref_type":"tag","master_branch":"3.0","description":null,"pusher_type":"user"} 27782619 travisgithuboicr CreateEvent true 2017-05-04 20:45:34+00:00 26419297 dockstore-testing 88895292 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5854649817 {"ref":"3.0","ref_type":"tag","master_branch":"3.0","description":null,"pusher_type":"user"} 27782619 travisgithuboicr CreateEvent true 2017-05-11 16:14:34+00:00 26419297 dockstore-testing 90984171 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5745640032 {"ref":"3.0","ref_type":"tag","master_branch":"3.0","description":null,"pusher_type":"user"} 27782619 travisgithuboicr CreateEvent true 2017-04-24 16:57:07+00:00 26419297 dockstore-testing 88895292 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5725315886 {"ref":"master","ref_type":"branch","master_branch":"master","description":null,"pusher_type":"user"} 27782619 travisgithuboicr CreateEvent true 2017-04-20 16:17:11+00:00 26419297 dockstore-testing 88886223 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5734632093 {"push_id":1694711764,"size":1,"distinct_size":1,"ref":"refs/heads/3.0","head":"5c7e83e75bcdc649598b74c9e309dbb89124e8ed","before":"4464dd1c7f0f5632b7a8a056a06c9f20fb30e061","commits":[{"sha":"5c7e83e75bcdc649598b74c9e309dbb89124e8ed","author":{"name":"travisgithuboicr","email":"[email protected]"},"message":"test","distinct":true,"url":"https://api.github.com/repos/dockstore-testing/travis-test/commits/5c7e83e75bcdc649598b74c9e309dbb89124e8ed"}]} 27782619 travisgithuboicr PushEvent true 2017-04-21 20:34:59+00:00 26419297 dockstore-testing 88895292 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5863492473 {"push_id":1736526530,"size":1,"distinct_size":1,"ref":"refs/heads/3.0","head":"b08f28c3d68dd740fa48b738cb7700fbc79b228b","before":"6596e82885ea9eff1cda8bcbe6f31731c9f629ae","commits":[{"sha":"b08f28c3d68dd740fa48b738cb7700fbc79b228b","author":{"name":"travisgithuboicr","email":"[email protected]"},"message":"test","distinct":true,"url":"https://api.github.com/repos/dockstore-testing/travis-test/commits/b08f28c3d68dd740fa48b738cb7700fbc79b228b"}]} 27782619 travisgithuboicr PushEvent true 2017-05-12 19:01:02+00:00 26419297 dockstore-testing 91121421 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5942207843 {"push_id":1761484564,"size":1,"distinct_size":1,"ref":"refs/heads/3.0","head":"c9a6fdfd1e3aba138c1830083fd43ac6891b764f","before":"9373e815deff0bc9daffd46c911bd69ebfa27aa9","commits":[{"sha":"c9a6fdfd1e3aba138c1830083fd43ac6891b764f","author":{"name":"travisgithuboicr","email":"[email protected]"},"message":"test","distinct":true,"url":"https://api.github.com/repos/dockstore-testing/travis-test/commits/c9a6fdfd1e3aba138c1830083fd43ac6891b764f"}]} 27782619 travisgithuboicr PushEvent true 2017-05-25 14:38:18+00:00 26419297 dockstore-testing 92213370 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5734974567 {"action":"published","release":{"url":"https://api.github.com/repos/dockstore-testing/travis-test/releases/6154194","assets_url":"https://api.github.com/repos/dockstore-testing/travis-test/releases/6154194/assets","upload_url":"https://uploads.github.com/repos/dockstore-testing/travis-test/releases/6154194/assets{?name,label}","html_url":"https://github.com/dockstore-testing/travis-test/releases/tag/3.0","id":6154194,"tag_name":"3.0","target_commitish":"3.0","name":"3.0","draft":false,"author":{"login":"travisgithuboicr","id":27782619,"avatar_url":"https://avatars1.githubusercontent.com/u/27782619?v=3","gravatar_id":"","url":"https://api.github.com/users/travisgithuboicr","html_url":"https://github.com/travisgithuboicr","followers_url":"https://api.github.com/users/travisgithuboicr/followers","following_url":"https://api.github.com/users/travisgithuboicr/following{/other_user}","gists_url":"https://api.github.com/users/travisgithuboicr/gists{/gist_id}","starred_url":"https://api.github.com/users/travisgithuboicr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travisgithuboicr/subscriptions","organizations_url":"https://api.github.com/users/travisgithuboicr/orgs","repos_url":"https://api.github.com/users/travisgithuboicr/repos","events_url":"https://api.github.com/users/travisgithuboicr/events{/privacy}","received_events_url":"https://api.github.com/users/travisgithuboicr/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2017-04-21T21:28:43Z","published_at":"2017-04-21T21:35:00Z","assets":[],"tarball_url":"https://api.github.com/repos/dockstore-testing/travis-test/tarball/3.0","zipball_url":"https://api.github.com/repos/dockstore-testing/travis-test/zipball/3.0","body":null}} 27782619 travisgithuboicr ReleaseEvent true 2017-04-21 21:35:00+00:00 26419297 dockstore-testing 88895292 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5794520493 {"action":"published","release":{"url":"https://api.github.com/repos/dockstore-testing/travis-test/releases/6253152","assets_url":"https://api.github.com/repos/dockstore-testing/travis-test/releases/6253152/assets","upload_url":"https://uploads.github.com/repos/dockstore-testing/travis-test/releases/6253152/assets{?name,label}","html_url":"https://github.com/dockstore-testing/travis-test/releases/tag/3.0","id":6253152,"tag_name":"3.0","target_commitish":"3.0","name":"3.0","draft":false,"author":{"login":"travisgithuboicr","id":27782619,"avatar_url":"https://avatars1.githubusercontent.com/u/27782619?v=3","gravatar_id":"","url":"https://api.github.com/users/travisgithuboicr","html_url":"https://github.com/travisgithuboicr","followers_url":"https://api.github.com/users/travisgithuboicr/followers","following_url":"https://api.github.com/users/travisgithuboicr/following{/other_user}","gists_url":"https://api.github.com/users/travisgithuboicr/gists{/gist_id}","starred_url":"https://api.github.com/users/travisgithuboicr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travisgithuboicr/subscriptions","organizations_url":"https://api.github.com/users/travisgithuboicr/orgs","repos_url":"https://api.github.com/users/travisgithuboicr/repos","events_url":"https://api.github.com/users/travisgithuboicr/events{/privacy}","received_events_url":"https://api.github.com/users/travisgithuboicr/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2017-05-02T15:05:15Z","published_at":"2017-05-02T15:05:19Z","assets":[],"tarball_url":"https://api.github.com/repos/dockstore-testing/travis-test/tarball/3.0","zipball_url":"https://api.github.com/repos/dockstore-testing/travis-test/zipball/3.0","body":null}} 27782619 travisgithuboicr ReleaseEvent true 2017-05-02 15:05:19+00:00 26419297 dockstore-testing 88895292 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
5829918179 {"action":"published","release":{"url":"https://api.github.com/repos/dockstore-testing/travis-test/releases/6313215","assets_url":"https://api.github.com/repos/dockstore-testing/travis-test/releases/6313215/assets","upload_url":"https://uploads.github.com/repos/dockstore-testing/travis-test/releases/6313215/assets{?name,label}","html_url":"https://github.com/dockstore-testing/travis-test/releases/tag/1.0","id":6313215,"tag_name":"1.0","target_commitish":"1.0","name":"1.0","draft":false,"author":{"login":"travisgithuboicr","id":27782619,"avatar_url":"https://avatars1.githubusercontent.com/u/27782619?v=3","gravatar_id":"","url":"https://api.github.com/users/travisgithuboicr","html_url":"https://github.com/travisgithuboicr","followers_url":"https://api.github.com/users/travisgithuboicr/followers","following_url":"https://api.github.com/users/travisgithuboicr/following{/other_user}","gists_url":"https://api.github.com/users/travisgithuboicr/gists{/gist_id}","starred_url":"https://api.github.com/users/travisgithuboicr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travisgithuboicr/subscriptions","organizations_url":"https://api.github.com/users/travisgithuboicr/orgs","repos_url":"https://api.github.com/users/travisgithuboicr/repos","events_url":"https://api.github.com/users/travisgithuboicr/events{/privacy}","received_events_url":"https://api.github.com/users/travisgithuboicr/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2017-05-08T15:31:58Z","published_at":"2017-05-08T15:35:56Z","assets":[],"tarball_url":"https://api.github.com/repos/dockstore-testing/travis-test/tarball/1.0","zipball_url":"https://api.github.com/repos/dockstore-testing/travis-test/zipball/1.0","body":null}} 27782619 travisgithuboicr ReleaseEvent true 2017-05-08 15:35:56+00:00 26419297 dockstore-testing 88895292 dockstore-testing/travis-test https://api.github.com/repos/dockstore-testing/travis-test 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant