Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions cmake/WebFrontBootstrap.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
# updated by an explicit pull request, once a published environment can build and test itself without interaction.
# 0.6.0 is the first published environment that runs a wf command without interaction (runNonInteractive); 0.6.1 also returns the
# output of a script, 0.6.2 reads the archives of @types packages and a manifest directory chosen by the application, and
# 0.6.3 exports the automation API v1.
# 0.6.3 exports the automation API v1, 0.6.4 adds the project setup operations of the automation runner and 0.6.5 is the
# first served from https://dist.webfront.fr/ (ADR-021).
# The driver tests also
# run the environment built from the current sources (the "environment under test"), which may be ahead of this pin.
set(WEBFRONT_BOOTSTRAP_VERSION "0.6.3")
set(WEBFRONT_BOOTSTRAP_URL "https://ambroise-leclerc.github.io/WebFront/developer/0.6.3/environment.tgz")
set(WEBFRONT_BOOTSTRAP_INTEGRITY "sha512-3AVF2xKsUfHys5VREA6DmkjiEDKjx9VQtPTrsjdiazzfpNQvbKEjW2ox5Kd2hPeOP5MfcMvbDHQ4SZoO97P5Xg==")
set(WEBFRONT_BOOTSTRAP_VERSION "0.6.5")
set(WEBFRONT_BOOTSTRAP_URL "https://dist.webfront.fr/developer/0.6.5/environment.tgz")
set(WEBFRONT_BOOTSTRAP_INTEGRITY "sha512-qaSYOJvxcXtKIbrjfjZFFvfoQrda5NfBq24ttQ7SdnIN12tXFDYXRVe+JkrUHXZY6KOhF7qxmo4k8NOqLOupPA==")

# A directory holding environment.tgz (the pinned archive) replaces the download on a machine without network access.
set(WEBFRONT_BOOTSTRAP_DIR "" CACHE PATH "Directory with the pinned bootstrap environment.tgz, instead of downloading it")
Expand Down
4 changes: 2 additions & 2 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
first version published under that address; `site.mjs` writes the `CNAME` file of the Pages branch and `wf run pin`
checks the pinned archive where it is served now. Libraries and environments up to 0.6.4 pin the former
`ambroise-leclerc.github.io/WebFront/` address, which redirects to the new domain without the CORS headers a browser
needs: their developer bootstrap no longer starts and they must be rebuilt with a pin on `dist.webfront.fr`. The pin
stays on 0.6.4 until 0.6.5 is published.
needs: their developer bootstrap no longer starts and they must be rebuilt with a pin on `dist.webfront.fr`. 0.6.5 is
published and pinned, and the test bootstrap moves to it.

## 0.8.0 - 2026-11-01

Expand Down
2 changes: 1 addition & 1 deletion docs/DEVELOPER_ENVIRONMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ int main() {
}
```

The [versioned distributions](https://ambroise-leclerc.github.io/WebFront/) are published on GitHub Pages.
The [versioned distributions](https://dist.webfront.fr/) are published on GitHub Pages, under the domain `dist.webfront.fr`.
Each published version is immutable: 0.3.0 introduced the packed-bitset Life starter (bridge support from #289), 0.3.1 made
`wf install` keep the versions of the installed lock, 0.4.1 changed the include of the generated provider, 0.5.0 added the
manifest, `wf restore`, `wf run`, `wf exec`, `wf check` and the complete terminal, and 0.6.0 `wf build`, `wf dev` and `wf test`.
Expand Down
2 changes: 1 addition & 1 deletion js/developer/environment/bundles.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"js/developer/tools/archive.mjs": "da63bb9d796ddfd24ed945b15c53f66a0400eb177886fd4f1c8fd10cafb5a91b",
"js/developer/tools/distribution.mjs": "43dfdccc912693db46fd095fd78ae79325abab672d99f89fd569914ef3499cad",
"js/developer/scripts/build.mjs": "7aa0358dbd8555ab83bf0380f67892e96b7e9806d4968de18e1a8eaf6e91c080",
"js/developer/webfront.project.json": "8984debb97ec09ffa768e910567adb2f642de99088549c6bfaa16287568ed1b8",
"js/developer/webfront.project.json": "84d59d7ba14883e6a4ec78f26bb05c0e671b48e983296dd20146d4ecea28c528",
"js/core/bootstrap/bootstrap.bundle.mjs": "536831257f0fc92e31911841750e1e59247f7c64e756b0fcb878efd9860a741f",
"js/developer/environment/packages.bundle.mjs": "2d62f3fcdece8e898f15814d7e80fc3a27ea062f45514cf8e5c3ae32fd9d26c5",
"include/webfront/system/DeveloperReleaseData.hpp": "c85df5bf7b93609e26d3830c83b747726ad54ee4040cb30e2dc59a12e34b94ce"
Expand Down
9 changes: 9 additions & 0 deletions js/developer/tools/PUBLISHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ merge it only after the deployed bytes and headers are verified.
Once the new version is published, `cmake/WebFrontBootstrap.cmake` may pin it as the bootstrap environment of the
tests, in a pull request of its own.

## Domain

The distribution is served under `https://dist.webfront.fr/` (ADR-021): `baseUrl` of `distribution.json`, hence the URL in
every pinned header. The zone of `webfront.fr` holds a `CNAME` from `dist` to `ambroise-leclerc.github.io.`, the domain
`webfront.fr` is verified in the account's Pages settings, and HTTPS is enforced. `wf run site` writes the `CNAME` file of
the Pages branch from `baseUrl`; the workflow removes it when `baseUrl` returns to a github.io address. A custom domain must
serve the root of the site. Changing the base URL is a public URL change: increment the version, and expect every
earlier pin on the former address to stop working in a browser, since Pages redirects without CORS headers.

## One-time Pages configuration

The repository's Pages source must be the **gh-pages branch, root directory**, with branch-based
Expand Down
1 change: 0 additions & 1 deletion js/developer/webfront.project.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
"include/webfront/system/DeveloperReleaseData.hpp"
],
"fetch": [
"https://ambroise-leclerc.github.io",
"https://dist.webfront.fr"
]
}
Expand Down
Loading