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

yarn content move fails because of missing /mdn/community/contributing file #118

Closed
rebloor opened this issue Feb 4, 2025 · 2 comments
Closed
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@rebloor
Copy link

rebloor commented Feb 4, 2025

What information was incorrect, unhelpful, or incomplete?

yarn content move says it fails because of missing /mdn/community/contributing file. However, it does move the files and update /files/en-us/_wikihistory.json.

What did you expect to see?

yarn content move complete without an error.

Do you have any supporting links, references, or citations?

yarn content move Mozilla/Add-ons/WebExtensions/API/userScripts/Working_with_userScripts Mozilla/Add-ons/WebExtensions/API/userScripts_legacy/Working_with_userScripts
yarn run v1.22.22
$ yarn -s info:rari && env-cmd --silent cross-env CONTENT_ROOT=files rari-tool move Mozilla/Add-ons/WebExtensions/API/userScripts/Working_with_userScripts Mozilla/Add-ons/WebExtensions/API/userScripts_legacy/Working_with_userScripts

🐥 This command is now using rari: https://github.com/mdn/rari
🐞 Please report any issues here:  https://github.com/mdn/rari/issues/new?template=bug.yml

This will move 1 documents from Mozilla/Add-ons/WebExtensions/API/userScripts/Working_with_userScripts to Mozilla/Add-ons/WebExtensions/API/userScripts_legacy/Working_with_userScripts
Mozilla/Add-ons/WebExtensions/API/userScripts/Working_with_userScripts -> Mozilla/Add-ons/WebExtensions/API/userScripts_legacy/Working_with_userScripts
✔ Proceed? · yes
Error: Invalid 'to' URL for redirect: To-URL '/en-US/docs/MDN/Community/Contributing' resolves to a non-existing file/folder at '/Users/sherpa/Documents/repositories/rebloor/content/files/en-us/mdn/community/contributing' for locale 'en-US'.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Do you have anything more you want to share?

content/files/en-us/mdn/community/contributing appears not to exist in the repo.

@rebloor rebloor added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 4, 2025
@fiji-flo
Copy link
Contributor

fiji-flo commented Feb 4, 2025

Thanks, that's should be fixed via mdn/content#37955

And #117 will prevent this in the future once it's out.

@rebloor
Copy link
Author

rebloor commented Feb 6, 2025

The reference to PR has been merged and I'm not seeing an issue anymore

@rebloor rebloor closed this as completed Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

2 participants