-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Revert "Remove duplicated fonts and put them under /fonts/ (#9718)" #9940
Conversation
…orm-tests#9718)" This reverts commit e45d0cf.
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.
I suggest those interested in maintaining the CSSWG test infrastructure fix that instead.
This is not OK. The CSSWG test infrastructure may be quirky / not to your taste, but it works, and we're sharing this repo. Breaking it and letting other people deal with the fallout is not OK. Reverting a single commit is much cheaper than requiring people to rewrite software that has worked for years. Maybe we should replace the CSSWG test infrastructure. Maybe we should modernize it. But we haven't done that yet, so for now, we need this commit reverted. |
At this point I've added an alias to serve the wpt fonts directory from the root of test.csswg.org (in the same manner as we serve /resources), so this revert isn't necessary to get the built test suites and test harness working again. This may be a reasonable long-term fix for this particular issue, but it needs some more consideration. We also need a better path forward for coordinating and testing these kinds of changes in the future. |
Ok, let's close this then. I'm sorry for breaking this, but I don't know what's the way to test it properly and know that you are not going to break anything. |
Reverting when things are broken by accident is pretty much the default, see these in the past 6 months:
I don't know exactly how the CSS build system is used, by given how fast @plinss noticed it sure seems like it's an important part of the workflow. Even though it touches lots of files, I believe this revert should have been done ASAP. It's already been imported into Blink with no trouble, but large changes tend to be more trouble, so spreading them out over time is no fun. @plinss, is this revert still required to get everything back into shape? I would like to merge the revert, and @jgraham said on IRC "I don't mind reverting this", so I think that's what we should do. |
We should revert this ASAP if still required to unblock the CSSWG, then work out how to reland.
Travis is failing, but there's no chance that Travis could pass, so we should ignore that too if we merge this. @plinss, will revert if I don't hear back before the end of day. |
@foolip check the last comment from @plinss
If I get it right this revert is no longer needed, so we can close this PR. Do you agree? BTW, I also said I didn't have problems with the revert and I'm sorry for creating all this mess. |
As far as I’m aware the current work-around is working, so no need to revert. |
@foolip, as far as I know the current fix is enough to get things working again. The "needs some more consideration" just means I need to think if this is the best way to keep things working long-term (and maybe we need a generic system for paths to common files so we don't have to add these kinds of aliases over and over). |
@plinss I think we should probably just make it possible to use all the top-level shared resource directories ( |
If it's just that set of 5 then fine, I can add the others as aliases to the csswg test server. All I had in mind was something like if new shared-resource directories get added that happens under |
@plinss given the most recent of them dates from 2013 in the repo, and web-platform-tests only really happened in 2014, I'd say the risk of adding any more is super low. :) |
@gsnedders would a lint that checks that css/ only includes from those 5 top-level directories be expensive, you think? |
@foolip it would add a lot of extra complexity versus what we have now (we'd have to extract URLs to check, which especially in |
@gsnedders, so there's nothing currently that checks anything about the included resources? Or just for scripts to catch broken testharness.js includes? |
I realize that doing it for fonts would be quite challenging, we'd need a CSS parser for that. |
@foolip We literally just do |
The css build system also scans the entire wpt repo for tests that link to css specs, not just the /css directory, so a lint restricted to that directory wouldn't help |
OK, I suppose a lint for this isn't really practical at this point. |
This reverts commit e45d0cf as it broke CSS test infrastructure.