-
Notifications
You must be signed in to change notification settings - Fork 21
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
Change all links of "Archived UserVoice comments" in migrated issues to point to the commit before archive deletion instead #735
Comments
Thanks for pointing me to this. Perhaps instead of changing everything, maybe we can just undelete them? Why were they deleted in the first place? The comment suggests it's only to get them out of searches, but isn't that a pro? I mean, I'd love to find earlier discussions and decisions. @dsyme, should we reconsider this? |
cc @cartermp, @KevinRansom, this pops up from time to time, the quick fix is to just put the archive back to where it was. Would such a PR be accepted? We ask people that do language suggestions to do research into old suggestions. That's currently not possible, or at least quite hard, which may lead to people asking for the same thing again and again. If we fix and/or redirect as @Happypig375 suggests in this issue people can at least find the "why was this rejected" reasons back. If we can't put them back, we should probably fix the links in each issue, but that's way more work. |
@baronfel could the tool you used to initially create these issues be used to update the links to just point to the files in this tree? https://github.com/fsharp/fslang-suggestions/tree/d48c35ce216e2bff148937ec028ad61e5c273fdf Separately there's no real value in linking to "the comments" since they're already a part of the file that contains the suggestion |
For reference, the tool is over at https://github.com/dsyme/fsharp-lang-suggestions-scripts. It's just using the github API to create new issues. What we could do with another script/tool is to scrape all issues in this repo, find the Archive links in the issue submission, and rewrite them from master to d48c35c as suggested. |
I wouldn't mind putting in the work and learn a bit about the github api in the process, but I (obviously) don't have that kind of access level to other people's posts. |
I you want to work on a tool I'd gladly help test/run it. I've got editing rights to the issues on this repo, so as long as your tool is able to accept a user-supplied github API token it would be easy to replicate. |
Since I've yet to make it anyway, I can bake that in :). I might not get around to it right away, playing with another F# issue on performance right now, but I'll put it on my TODO list. |
#920 is another case for this:
|
Closing this old discussion - by all means go ahead and make the changes |
@dsyme What's the reasoning for deleting the archive anyways? |
TBH I can't recall - I guess it was to prevent confusion in search. |
I propose we change the links of "Archived UserVoice Comments" to point to the file in the commit d48c35c instead of
master
because those files are deleted in da13a85.The existing way of approaching this problem in fslang-suggestions is to change the
master
in links to point to d48c35c manually.e.g. Click "Archived UserVoice Comments" in #18. It brings up the 404 Not Found page.
This is because that link points to master where the archive is gone. If we change
master
to d48c35c, we can read the comments successfully.Pros and Cons
The advantages of making this adjustment to fslang-suggestions are
The disadvantage of making this adjustment to fslang-suggestions is the work needed to update links.
Extra information
Estimated cost (XS, S, M, L, XL, XXL): S
Related suggestions: Nope
Affidavit (please submit!)
Please tick this by placing a cross in the box:
Please tick all that apply:
The text was updated successfully, but these errors were encountered: