-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Remove the code that calls the origin migrator #11631
Conversation
This will have done its job now, everyone's had long enough to install a newer version of Riot and migrate to the new origin. Laves the code on the backend that handles it for the time being, as per comment.
electron_app/src/electron-main.js
Outdated
// NB. The code to call this has now been removed so this | ||
// should never be called. This code itself has been removed | ||
// with the migration to the riot-desktop repo, with the | ||
// expectation that this will become the new home for this code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, even after reading this comment, I am still puzzled as to why we're leaving this origin_migrate
message handler in place now that nothing calls it... Will we remove it at some future time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, have tried to explain better! We could also just remove the code in both places, it's not actually very invasive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I guess it just feels strange to remove it half-way like this... What if we end up abandoning the separate repo experiment for some reason? Then we'll be left with this half-way removed thing that we're likely to forget about.
I'd suggest removing the message handler and the module over here as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough - removed here too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks for the extra clean up; it's easier to follow this way. 😁
This will have done its job now, everyone's had long enough to
install a newer version of Riot and migrate to the new origin.
Laves the code on the backend that handles it for the time being,
as per comment.