Syncing web platform tests (WPT)
./mach update-wpt --sync --patch --token-file token
Token is a file containing a personal access token for a github account that is an administrator in the w3c/web-platform-tests organization.
First try upstreaming all local patches. If there are any conflicts, make a note of the commit, then run ./mach update-wpt --abort
and restart the process, removing the conflicting commit.
If any conflicts occur while rebasing the patches, resolve the conflict in tests/wpt/sync
and continue the rebase. Run ./mach update-wpt --continue
once the rebase is successful.
Once update-wpt
completes, redo any commits that were removed from upstreaming, preserving the original author information and commit message. These new will need to be upstreamed as part of a separate update-wpt
operation.
Run ./mach update-manifest
, then git commit -a --amend -no-edit
to include all changes to the working directory that were left over as part of the syncing working. The branch is now ready to push!