From aab2f8069553bb73bb6ea55607e4ed284e7fc4a9 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Thu, 16 Mar 2023 20:09:05 +0100 Subject: [PATCH] Document how to update PWA connector build --- docs/Updating-Firefox-PWA-Connector.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/Updating-Firefox-PWA-Connector.md diff --git a/docs/Updating-Firefox-PWA-Connector.md b/docs/Updating-Firefox-PWA-Connector.md new file mode 100644 index 0000000..c8c1feb --- /dev/null +++ b/docs/Updating-Firefox-PWA-Connector.md @@ -0,0 +1,15 @@ +How to create new version of the Firefox PWA Connector: + +- Check Firefox PWA repo for new version. +- Pull latest changes of repo and check out proper tag. +- Run `cargo vendor` in the repo. +- Create tarball of vendored cargo deps: `tar -czvf vendor-X.Y.Z.tar.gz vendor/`. +- Move vendor tarball to the overlay files repo under `www-plugins/firefox-pwa-connector`. +- Push vendored tarball for new version. +- Copy over ebuild to new version. +- Check the Cargo.toml of the connector for any new git deps, and add to + the git crates if necessary. Cargo.lock can be checked to find the + proper commit hashes. +- Run `ebuild clean install` and make sure everything ends up where its + supposed to be. A sandbox violation likely indicates need for new + `sed` to patch Maefile.toml to respect `DESTDIR`.