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

git bot closing unfixed issues? #2284

Closed
mitra42 opened this issue Mar 23, 2022 · 8 comments
Closed

git bot closing unfixed issues? #2284

mitra42 opened this issue Mar 23, 2022 · 8 comments

Comments

@mitra42
Copy link

mitra42 commented Mar 23, 2022

It looks like git-bot is closing issues that are unfixed, and they do not appear to be re-openable by mere mortals, but considered by it "Stale" this makes me concerned that there may be many more problems that are still extant, but not showing up because the team working on this seems to be small, and the lack of documentation in the code makes it hard for causual bug finders to dip in and fix one problem without causing others ?

(The specific issue is #2222 , and I'm not suggesting its a high priority issue, but I bet it bites someone else trying to build something that uses webtorrent, also of relevance is #2279 by @Bruce-Hopkins about the lack of commenting).

@DiegoRBaquero
Copy link
Member

#2222 is not an actual bug imho, if you are using an external id, as soon as infohash is obtained, that should be used to get it. Feature request to get it on par is something I'm open to reviewing if anyone is willing to work on it.

Bugs/security issues should never be stale and closed, we have certain rules to prevent that.

Happy to hear your thoughts

@mitra42
Copy link
Author

mitra42 commented Mar 25, 2022

That's the point - you can't get the infohash from the id without doing an "add", which is a: expensive and unnecessary if its previously been added, and b: I believe will fail if its previously been added. The only workaround I could find was to keep a separate structure in the caller that maps external id to infohash.

The usecase that failed was going to a second webpage that had the same video on it.

I'd have worked on it, but the code is pretty obscure without the comments (as discussed by Bruce in #2279) so its really hard to figure out how to fix something like this - that requires extra data structure in the library - without breaking something else that is making different assumptions.

@DiegoRBaquero
Copy link
Member

One could re-implement the full parsing (remote or not) as the add to the get. If someone is willing to PR, I'll review it. But I don't think maintainers will.

@mitra42
Copy link
Author

mitra42 commented Mar 27, 2022

Yes - probably, except with poorly documented code its easier to build a workaround than to fix the bug :-( which is what I did a long time ago.

@Saghen
Copy link

Saghen commented Mar 29, 2022

A simple rule that might alleviate the issue is only marking stale and closing issues that have a maintainer's comment as the most recent. Here's another example of an issue that never got a resolution #2245

@Banou26
Copy link
Contributor

Banou26 commented Mar 29, 2022

If this package is not actively developed anymore you should mention it on the README, as per https://gist.github.com/cheerfulstoic/d107229326a01ff0f333a1d3476e068d
It gives the users transparency on the state of the project and doesn't make people waste their time on reporting issues that will just get closed by default.

@DiegoRBaquero
Copy link
Member

DiegoRBaquero commented Mar 29, 2022 via email

@DiegoRBaquero
Copy link
Member

Gonna close this and try my best to have eyes on everything :)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants