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

Prevent duplicates in github issue stats #347

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

maxandersen
Copy link
Contributor

Fixes #346 by adding equals method to Issue class that uses org/repo/id as key

@psss psss added this to the 0.22 milestone Jan 2, 2024
@psss psss self-assigned this Jan 2, 2024
Copy link
Owner

@psss psss left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! Looks good. I'm only thinking: Shouldn't project id and issues id be sufficient to get a unique value? The owner should not affect anything. Proposing to simplify the comparison in 7a6fc8c. @maxandersen, could you please have a look if it's ok?

@psss psss changed the title have github issues de-duplicated Prevent duplicates in github issue stats Jan 2, 2024
@maxandersen
Copy link
Contributor Author

Project is not unique on GitHub. Need Owner to be part of name.

@psss
Copy link
Owner

psss commented Jan 3, 2024

Ah, I see, I thought it's the issue owner not the project owner. Now it makes sense. Sorry for the noise.

@psss psss merged commit a8ba4e6 into psss:main Jan 3, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge is not working for github
2 participants