Hacker News new | ask | show | jobs
by Avi-D-coder 791 days ago
The obvious fix is to remove the repo information, but do you grandfather in old files by redirecting to the new URL?

I’d say no, which I guarantee will break some legitimate packages that depend on files uploaded in GitHub comments.

3 comments

> some legitimate packages that depend on files uploaded in GitHub comments

I love these one-sentence horror stories.

Depends might be a strong word but this would affect things like screenshots submitted in bug reports as well, which would be less than ideal at the very least.
They could probably even just parse all comments and rewrite them. Then remove the redirects. If this feature is being used as intended these files should all be just linked to from comments and they parse the markdown anyways.

While they are at it maybe they can expire some old files that aren't referenced...

One case I’ve seen often is the author of a repo making an issue with just some images in it, then using those image links in the README