-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
feat(bot): auto update links of moved files #31091
Conversation
Can this be part of the Yari CLI instead? It is my opinion that things that can be fixed locally should be fixed locally, instead of waiting for another cleanup PR. Again, PRs and commits are not zero-cost. We have formatting/linting daily fixes, because not everyone authors content locally, but everyone is and should be using the |
|
Ugh, I keep forgetting how painful it is to get things merged in Yari. I feel you. No objection from me, then. |
da29871
to
053a598
Compare
@teoli2003 ping |
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.
One nit.
I think we should then try this, keeping in mind that once Yari's PR will be merged we will undo this. (But this is an annoying problem, so worth solving it in the meantime)
Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>
a2225d7
to
e7f947e
Compare
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.
We should go ahead with this:
- this can't break mdn/content (and the Firefox release date was yesterday, so it can't be a problem there)
- it is easy to revert in case of problem (the modified files aren't modified every day)
- it is a band-aid
Let's merge this.
* feat(bot): auto update links of moved files * Update scripts/update-moved-file-links.js Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com> --------- Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>
* feat(bot): auto update links of moved files * Update scripts/update-moved-file-links.js Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com> --------- Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>
Every night the bot will create a PR to update all the links of moved files.