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

crawler may missing activities #37

Merged
merged 1 commit into from Sep 22, 2013
Merged

Conversation

n0rmrx
Copy link
Contributor

@n0rmrx n0rmrx commented Sep 22, 2013

No description provided.

@@ -23,6 +23,7 @@
}))

@latest = []
@latest_key = lambda { |e| "#{e['type']}:#{e['actor']}:#{e['url']}:#{e['created_at']}" }
Copy link
Owner

Choose a reason for hiding this comment

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

What are the cases where URL is not unique by itself?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

{
created_at: "2013-09-22T09:05:14-07:00",
payload: {
action: "started"
},
public: true,
type: "WatchEvent",
url: "https://github.com/lzyy/thing",
actor: "haolloyin",
...
}

@igrigorik
Copy link
Owner

Doh. Got it -- that would explain a few missing events. Thanks for tracking this down.

igrigorik added a commit that referenced this pull request Sep 22, 2013
crawler may missing activities
@igrigorik igrigorik merged commit 699828e into igrigorik:master Sep 22, 2013
@igrigorik igrigorik mentioned this pull request Sep 24, 2013
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

Successfully merging this pull request may close these issues.

None yet

2 participants