[wpt-sync] Sync PR 33936 - Fix all .gitignore related WPTLint errors
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox102 fixed)
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33936 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33936
Details from upstream follow.
Bruce Dawson <brucedawson@chromium.org> wrote:
Fix all .gitignore related WPTLint errors
After rolling WPTLint with this fix:
https://github.com/web-platform-tests/wpt/pull/33697
the WPTLint checks started reporting on long-standing .gitignore issues.
These were:.gitignore found outside the root (GITIGNORE)
cors/resources/.gitignore
css/.gitignore
css/css-writing-modes/tools/generators/.gitignore
resources/.gitignore
webaudio/.gitignorematches an ignore filter in .gitignore (IGNORED PATH)
content-security-policy/support/manifest.json
payment-handler/manifest.json
resource-timing/resources/manifest.json
testharness_runner.htmlThe .gitignore files in child directories were handled with entries in
lint.ignore. The manifest.json IGNORED_PATH errors were because of a
MANIFEST.json entry in the root-level .gitignore file - on Windows that
also matches manifest.json. Adding a leading slash fixed that.Finally, testharness_runner.html has been checked in since at least 2016
but has a .gitignore entry specifically for it. I am assuming that the
.gitignore entry is in error so I deleted it. That .gitignore entry was
last modified in 2019 (crrev.com/c/1527876) which presumably only
happened because the .gitignore linting was broken at that time.With this change the following command now runs clean:
git cl presubmit --files=third_party/blink/web_tests/external/wpt/*
Bug: 1318089
Change-Id: Idf8b45b92b27513a668d1a672ca72600d53b5b74
Reviewed-on: https://chromium-review.googlesource.com/3625631
WPT-Export-Revision: ad63a8bcaf7fa098a29b0d0f2a171f9c83bec6d2
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=37eae164b7309e3849f2fb76dd7a2c76c913488a
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d26da73825c3 [wpt PR 33936] - Fix all .gitignore related WPTLint errors, a=testonly
Description
•