commit | 9391349e2f765572ce5d619423fc4801dffe047e | [log] [tgz] |
---|---|---|
author | Dirk Pranke <dpranke@google.com> | Wed Oct 27 01:02:06 2021 |
committer | chromium-website-scoped@luci-project-accounts.iam.gserviceaccount.com <chromium-website-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 27 16:35:17 2021 |
tree | 79963f6ea24bfd078e1db3a6b7987fed82d9183c | |
parent | 6febce534334eb03a223d545ae7102127ebfdcf0 [diff] |
Fix the node_modules download hook. Currently we use download_from_google_storage to download the node_modules.tar.gz archive from GCS; however, the archive contains a .bin/ directory containing a bunch of symlinks, and download_from_google_storage won't let you decompress such an archive. In theory we could (should?) add a flag to download_from_google_storage to support this, now that symlinks should work everywhere, but in the meantime this CL replaces download_from_google_storage with a custom download script that does the same thing but allows such archive members. Change-Id: I1467f95197aae7dee2c1914916e4caa0fd0a381d Reviewed-on: https://chromium-review.googlesource.com/c/experimental/website/+/3246590 Reviewed-by: Struan Shrimpton <sshrimp@google.com> Commit-Queue: Dirk Pranke <dpranke@google.com>
This Git repo contains the source content for www.chromium.org.
NOTE: 2021-10-19. This is not (yet) actually true. This is a work-in-progress repo that we plan to move to.
The website is implemented by serving static content (mostly Markdown files) that is translated / built ahead of time into HTML using the Eleventy static site generator (which is written in Node/JS) and deployed onto Firebase Cloud Hosting.
The Markdown is translated using a single extremely simple Nunjucks template and the site is served with a single basic Sass/SCSS stylesheet (using the Node/NPM library version of Sass).
Large objects (PDFs, big images, etc.) are stored in a Google Cloud Storage bucket, indexed by SHA-1 checksums that are committed into this repo.
See //docs/CONTRIBUTING.md if you wish to contribute to the site.