Add redirect for Google Fonts JSON file

We are currently hosting the Google Fonts JSONJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. file for the new Font Library feature on the wordpress.org CDN. In order to work around the caching issues with the wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ CDN, would it be possible to create a redirect from a specific fonts wordpress.org subdomain to a JSON file hosted on the wordpress.org CDN?

This would allow the Google Fonts JSON file to be updated without the need to invalidate CDN cache.

For example, https://fonts.wp.org/6.5/google-fonts.json would point to => https://s.w.org/images/fonts/17.7/collections/google-fonts-with-preview.json. Then, if needed, the same URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org could be updated to point to a different GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ version of the file, e.g. https://s.w.org/images/fonts/17.8/collections/google-fonts-with-preview.json.

#prio1

Reprovision wp.org Sandbox for VS Code 1.86

Same issue as: https://make.wordpress.org/systems/2024/02/07/reprovisioned-sandbox-for-vs-code-1-86/

I want to run VSCode 1.86 and the newest versions of wordpress/scripts which currently throw:

Warning: Missing GLIBCXX >= 3.4.25! from /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
Warning: Missing GLIBC >= 2.28! from /lib/x86_64-linux-gnu/libc-2.24.so

I’ve deleted everything of meaning from the sandbox. Feel free to reprovision as soon as you are ready.

Thanks.

#prio1 #sandbox

[Edit Feb 27] Flipped this to #prio1 as I would ideally have it in place before WordCampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. Asia Contributor DayContributor Day Contributor Days are standalone days, frequently held before or after WordCamps but they can also happen at any time. They are events where people get together to work on various areas of https://make.wordpress.org/ There are many teams that people can participate in, each with a different focus. https://2017.us.wordcamp.org/contributor-day/ https://make.wordpress.org/support/handbook/getting-started/getting-started-at-a-contributor-day/. on March 7 since I’m a table lead.

ImageMagick for Photo Directory?

https://meta.trac.wordpress.org/ticket/7460 has asked:

Would it be possible to use ImageMagick for the Photo Directory to better preserve the original colors in the submitted photos?

Is it possible to enable ImageMagick on WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/? Any systems reasons why it shouldn’t be?

#prio3 #photos #imagemagick

Reprovisioned Sandbox for VS Code 1.86

I’m unable to use VS Code with Remote SSHSSH Secure SHell - a protocol for securely connecting to a remote system in addition to or in place of a password. to access my sandbox (adamwood.dev.ord.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/) with the new 1.86 version due to updated requirements, namely Linux distributions based on glibc 2.28 or later, and glibcxx 3.4.25 or later, such as Debian 10, RHEL 8, or Ubuntu 20.04.

As a workaround I have installed 1.85 and disabled updates as suggested, but this obviously isn’t satisfactory long term.

I understand it’s possible to have my sandbox reprovisioned to meet these requirements. I have backed up my customisations, so I’d like to request that you go ahead with this please.

#prio1 #sandbox

CORS requests for api.wordpress.org

Most of the WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. endpoints accept CORS requests, but nginxNGINX NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers. https://www.nginx.com/. isn’t forwarding OPTIONS requests to these endpoints, when nginx considers it a “static” resource (ie. / and not /index.php)

$ curl -IsX OPTIONS https://api.wordpress.org/core/version-check/1.7/ | grep -Ei '^(HTTP|Access)'
HTTP/1.1 405 Not Allowed

$ curl -IsX OPTIONS https://api.wordpress.org/core/version-check/1.7/index.php | grep -Ei '^(HTTP|Access)'
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *

This is causing problems for playground when making requests that include custom headers, as a preflight request needs to be made.

Would it be possible to redirect OPTIONS on “static” URIs to PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php.? Looks like error_page 405 =200 $uri; would do it.

Thanks!

#prio3 #playground #cors

Clear poststatus.com cache in planet

As reported back in November, and today in #7440-meta, feed items from poststatus.com are not appearing on planet.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/, despite being configured.

It works on sandboxes when testing, and as such the only thing I can think of is that the poststatus.com feed cache on planet is broken somehow, preventing it from parsing it.

Can you please:
– backup the following cache file for investigation
rm cache/poststatus.com* on all web nodes
– See if the python cronjob has any related error outputs.

As of making this request, the string ‘Zips not uploading’ should appear in the title of an article on Feb 1st, it’s not currently there in production, but is on sandbox.

#prio2 #planet

#7440-meta