π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Update to ente/ente
Manav Rathi3ec050b0231c
diff --git a/.github/docs/app-release.md b/.github/docs/app-release.mdindex fbcb056358..a048c9a807 100644--- a/.github/docs/app-release.md+++ b/.github/docs/app-release.md@@ -8,13 +8,13 @@ Photos, Auth, Locker, Ensu, and Photos desktop use the same release process, as## App specifics-- Photos desktop follows the same flow, but its stable releases live in [ente-io/photos-desktop](https://github.com/ente-io/photos-desktop). See [desktop/docs/release.md](../../desktop/docs/release.md) for more details.+- Photos desktop follows the same flow, but its stable releases live in [ente/photos-desktop](https://github.com/ente/photos-desktop). See [desktop/docs/release.md](../../desktop/docs/release.md) for more details.## Normal developmentNightly builds of `main` are automatically created every weekday morning (IST), and can also be created by running `ensu-build.yml` manually.-The nightly builds are published to the `ensu-v0.1.16-beta` pre-release in [ente-io/nightly](https://github.com/ente-io/nightly); each nightly keeps updating the same pre-release.+The nightly builds are published to the `ensu-v0.1.16-beta` pre-release in [ente/nightly](https://github.com/ente/nightly); each nightly keeps updating the same pre-release.> [!NOTE]>@@ -34,8 +34,8 @@ gh workflow run app-release.yml \This:1. Creates a release branch `release/ensu-v0.1.16` with the version set to `0.1.16`-2. Pushes the branch, which triggers `ensu-build.yml`, which creates the draft `ensu-v0.1.16-rc` GitHub release in `ente/ente` (and a pre-release in `ente-io/nightly`).-3. Removes the `ensu-v0.1.16-beta` pre-release from `ente-io/nightly` and the beta tag from `ente/ente`.+2. Pushes the branch, which triggers `ensu-build.yml`, which creates the draft `ensu-v0.1.16-rc` GitHub release in `ente/ente` (and a pre-release in `ente/nightly`).+3. Removes the `ensu-v0.1.16-beta` pre-release from `ente/nightly` and the beta tag from `ente/ente`.> [!TIP]>@@ -66,7 +66,7 @@ gh workflow run app-release.yml \-f version=0.1.16```-This does not create another build. It tags the last RC commit as `ensu-v0.1.16`, publishes it (renaming `ensu-v0.1.16-rc` to `ensu-v0.1.16`), removes the RC tag, deletes the `ensu-v0.1.16-rc` pre-release from `ente-io/nightly`, and deletes the release branch.+This does not create another build. It tags the last RC commit as `ensu-v0.1.16`, publishes it (renaming `ensu-v0.1.16-rc` to `ensu-v0.1.16`), removes the RC tag, deletes the `ensu-v0.1.16-rc` pre-release from `ente/nightly`, and deletes the release branch.It also opens a PR for updating the changelog in the docs.@@ -82,4 +82,4 @@ It also opens a PR for updating the changelog in the docs.>> If a build has already reached Play Store or TestFlight, trigger a new workflow run instead of re-running failed jobs so that it gets a new build number.-`app-release.yml` changes release state. If it fails, inspect the failed step before re-running. After it has pushed a branch, created a tag, or moved a draft release, either finish the remaining step manually or undo the partial state first. Cleanup is intentionally late: `action=start` pushes the release branch before deleting the beta pre-release from `ente-io/nightly`, and `action=promote` deletes the release branch last.+`app-release.yml` changes release state. If it fails, inspect the failed step before re-running. After it has pushed a branch, created a tag, or moved a draft release, either finish the remaining step manually or undo the partial state first. Cleanup is intentionally late: `action=start` pushes the release branch before deleting the beta pre-release from `ente/nightly`, and `action=promote` deletes the release branch last.diff --git a/.github/scripts/release-notify.mjs b/.github/scripts/release-notify.mjsindex 4811772dc7..c88ff23ea4 100644--- a/.github/scripts/release-notify.mjs+++ b/.github/scripts/release-notify.mjs@@ -31,7 +31,7 @@ if (!config || !releaseTag) {throw new Error(`Usage: node .github/scripts/release-notify.mjs ${Object.keys(apps).join("|")} <release-tag>`);}-const releaseUrl = `https://github.com/ente-io/nightly/releases/tag/${releaseTag}`;+const releaseUrl = `https://github.com/ente/nightly/releases/tag/${releaseTag}`;const env = (name) => {const value = process.env[name];diff --git a/.github/workflows/app-release.yml b/.github/workflows/app-release.ymlindex 691db5c6cf..7a494b6814 100644--- a/.github/workflows/app-release.yml+++ b/.github/workflows/app-release.yml@@ -118,7 +118,7 @@ jobs:figit_push_release_branch "${release_branch}"- gh release delete "${beta_tag}" --yes --cleanup-tag --repo ente-io/nightly || true+ gh release delete "${beta_tag}" --yes --cleanup-tag --repo ente/nightly || truegit push origin ":refs/tags/${beta_tag}" || truegit switch -c "${next_branch}" main@@ -160,7 +160,7 @@ jobs:release_branch="release/${APP}-v${VERSION}"if [ "${APP}" = "photos-desktop" ]; then- if ! draft="$(gh release view "v${VERSION}" --repo ente-io/photos-desktop --json isDraft --jq .isDraft 2>/dev/null)" || [ "${draft}" != "true" ]; then+ if ! draft="$(gh release view "v${VERSION}" --repo ente/photos-desktop --json isDraft --jq .isDraft 2>/dev/null)" || [ "${draft}" != "true" ]; thenecho "::error::v${VERSION} draft release does not exist in photos-desktop"exit 1fi@@ -179,8 +179,8 @@ jobs:git tag "photos-desktop-v${VERSION}" "${release_sha}"git push origin "refs/tags/photos-desktop-v${VERSION}"- gh release edit "v${VERSION}" --repo ente-io/photos-desktop --draft=false --prerelease=false --latest- gh release delete "photos-desktop-v${VERSION}-rc" --yes --cleanup-tag --repo ente-io/nightly || true+ gh release edit "v${VERSION}" --repo ente/photos-desktop --draft=false --prerelease=false --latest+ gh release delete "photos-desktop-v${VERSION}-rc" --yes --cleanup-tag --repo ente/nightly || truegit_push_release_branch ":refs/heads/${release_branch}"git push origin ":refs/tags/photos-desktop-v${VERSION}-rc" || trueexit 0@@ -213,7 +213,7 @@ jobs:gh release edit "${rc_tag}" --tag "${final_tag}" --title "${final_tag}" --target "${release_sha}" --draft=false --prerelease=false --verify-taggit push origin ":refs/tags/${rc_tag}" || true- gh release delete "${rc_tag}" --yes --cleanup-tag --repo ente-io/nightly || true+ gh release delete "${rc_tag}" --yes --cleanup-tag --repo ente/nightly || truegit_push_release_branch ":refs/heads/${release_branch}"sync-docs:@@ -258,7 +258,7 @@ jobs:git config user.email "${bot_id}+${APP_SLUG}[bot]@users.noreply.github.com"if [ "${APP}" = "photos-desktop" ]; then- RELEASE_BODY="$(gh release view "v${VERSION}" --repo ente-io/photos-desktop --json body --jq .body)"+ RELEASE_BODY="$(gh release view "v${VERSION}" --repo ente/photos-desktop --json body --jq .body)"elseRELEASE_BODY="$(gh release view "${APP}-v${VERSION}" --json body --jq .body)"fidiff --git a/.github/workflows/auth-build.yml b/.github/workflows/auth-build.ymlindex bee648e3d0..625cd3615e 100644--- a/.github/workflows/auth-build.yml+++ b/.github/workflows/auth-build.yml@@ -755,7 +755,7 @@ jobs:env:GH_TOKEN: ${{ steps.nightly_token.outputs.token }}RELEASE_TAG: ${{ needs.build-metadata.outputs.release_tag }}- run: gh release upload "${RELEASE_TAG}" SHA256SUMS --clobber --repo ente-io/nightly+ run: gh release upload "${RELEASE_TAG}" SHA256SUMS --clobber --repo ente/nightly- name: Upload checksum to RC draftif: startsWith(github.ref_name, 'release/')diff --git a/.github/workflows/locker-build.yml b/.github/workflows/locker-build.ymlindex 70a52e4f37..5e4e943e96 100644--- a/.github/workflows/locker-build.yml+++ b/.github/workflows/locker-build.yml@@ -341,7 +341,7 @@ jobs:env:GH_TOKEN: ${{ steps.nightly_token.outputs.token }}RELEASE_TAG: ${{ needs.build-metadata.outputs.release_tag }}- run: gh release upload "${RELEASE_TAG}" SHA256SUMS --clobber --repo ente-io/nightly+ run: gh release upload "${RELEASE_TAG}" SHA256SUMS --clobber --repo ente/nightly- name: Upload checksum to RC draftif: startsWith(github.ref_name, 'release/')diff --git a/.github/workflows/photos-build.yml b/.github/workflows/photos-build.ymlindex 71d803f4d0..d5c8f43b0d 100644--- a/.github/workflows/photos-build.yml+++ b/.github/workflows/photos-build.yml@@ -347,7 +347,7 @@ jobs:env:GH_TOKEN: ${{ steps.nightly_token.outputs.token }}RELEASE_TAG: ${{ needs.build-metadata.outputs.release_tag }}- run: gh release upload "${RELEASE_TAG}" SHA256SUMS --clobber --repo ente-io/nightly+ run: gh release upload "${RELEASE_TAG}" SHA256SUMS --clobber --repo ente/nightly- name: Upload checksum to RC draftif: startsWith(github.ref_name, 'release/')diff --git a/desktop/README.md b/desktop/README.mdindex 5a757064c3..ad60ed5689 100644--- a/desktop/README.md+++ b/desktop/README.md@@ -2,7 +2,7 @@The sweetness of Ente Photos, right on your computer. Linux, Windows and macOS.-You can [**download** a pre-built binary from releases](https://github.com/ente-io/photos-desktop/releases/latest).+You can [**download** a pre-built binary from releases](https://github.com/ente/photos-desktop/releases/latest).To know more about Ente, see [our main README](../README.md) or visit [ente.com](https://ente.com).diff --git a/desktop/build/io.ente.photos.appdata.xml b/desktop/build/io.ente.photos.appdata.xmlindex 82af848127..bc3f33321a 100644--- a/desktop/build/io.ente.photos.appdata.xml+++ b/desktop/build/io.ente.photos.appdata.xml@@ -40,7 +40,7 @@<releases><release version="1.7" date="2025-01-13">- <url type="details">https://github.com/ente-io/photos-desktop/releases</url>+ <url type="details">https://github.com/ente/photos-desktop/releases</url></release></releases></component>diff --git a/desktop/docs/release.md b/desktop/docs/release.mdindex a57b49f22e..51a39a87ca 100644--- a/desktop/docs/release.md+++ b/desktop/docs/release.md@@ -2,7 +2,7 @@Photos desktop uses the shared [app release process](../../.github/docs/app-release.md) as the app `photos-desktop`.-The main difference is that stable releases live in [ente-io/photos-desktop](https://github.com/ente-io/photos-desktop), not here, because electron-builder's auto updater doesn't work within a monorepo.+The main difference is that stable releases live in [ente/photos-desktop](https://github.com/ente/photos-desktop), not here, because electron-builder's auto updater doesn't work within a monorepo.Currently the electron-updater feed, the website and the `brew cask` track that repository's latest release.@@ -14,7 +14,7 @@ Apart from that, it is mostly as documented in the [app release process](../../.Nightly builds of `main` are published by a scheduled workflow automatically, and can also be triggered by manually triggering the `photos-desktop-build.yml` workflow.-Nightly and RC builds go to [ente-io/nightly](https://github.com/ente-io/nightly) like the other apps.+Nightly and RC builds go to [ente/nightly](https://github.com/ente/nightly) like the other apps.## In-app "What's new"@@ -34,13 +34,13 @@ Cherry-pick fixes to the release branch to rebuild the candidate.> [!IMPORTANT]>-> Edit the release notes for the `v1.7.25` draft release in `ente-io/photos-desktop` into the final user-facing changelog before promoting.+> Edit the release notes for the `v1.7.25` draft release in `ente/photos-desktop` into the final user-facing changelog before promoting.```shgh workflow run app-release.yml -f action=promote -f app=photos-desktop -f version=1.7.25```-Publishes the `v1.7.25` draft in `ente-io/photos-desktop` as the latest release, pushes the `photos-desktop-v1.7.25` source tag, removes the `photos-desktop-v1.7.25-rc` pre-release from `ente-io/nightly`, and deletes the release branch. The website and the brew cask pick up the new latest release automatically.+Publishes the `v1.7.25` draft in `ente/photos-desktop` as the latest release, pushes the `photos-desktop-v1.7.25` source tag, removes the `photos-desktop-v1.7.25-rc` pre-release from `ente/nightly`, and deletes the release branch. The website and the brew cask pick up the new latest release automatically.It also opens a PR for updating the changelog in the docs.@@ -48,4 +48,4 @@ It also opens a PR for updating the changelog in the docs.The build runs on Windows, Linux and macOS, producing the artifacts configured in [electron-builder.yml](../electron-builder.yml): an NSIS installer (Windows), an AppImage and `.rpm`/`.deb`/`.pacman` packages (Linux), and a universal DMG (macOS). The macOS DMG is notarized and signed; Windows is signed via Azure Trusted Signing.-The Windows `exe`, the Linux AppImage, and the macOS DMG check `ente-io/photos-desktop`'s latest release for auto updates; the other formats don't auto update yet.+The Windows `exe`, the Linux AppImage, and the macOS DMG check `ente/photos-desktop`'s latest release for auto updates; the other formats don't auto update yet.diff --git a/desktop/package.json b/desktop/package.jsonindex 3fea598179..8d450f0b0d 100644--- a/desktop/package.json+++ b/desktop/package.json@@ -3,7 +3,7 @@"version": "1.7.25-beta","private": true,"description": "Desktop client for Ente Photos",- "repository": "github:ente-io/photos-desktop",+ "repository": "github:ente/photos-desktop","author": "Ente <[email protected]>","main": "app/main.js","scripts": {diff --git a/desktop/scripts/beforeBuild.js b/desktop/scripts/beforeBuild.jsindex a64a3c70a0..f3146dc166 100755--- a/desktop/scripts/beforeBuild.js+++ b/desktop/scripts/beforeBuild.js@@ -44,7 +44,7 @@ module.exports = async (context) => {const download = async (downloadName, outputName) => {const out = `${appDir}/build/${outputName}`;console.log(`Downloading ${downloadName}`);- const downloadPath = `https://github.com/ente-io/libvips-packaging/releases/download/v8.16.0/${downloadName}`;+ const downloadPath = `https://github.com/ente/libvips-packaging/releases/download/v8.16.0/${downloadName}`;return fetch(downloadPath).then((res) => res.blob()).then((blob) => fsp.writeFile(out, blob.stream()))diff --git a/desktop/scripts/vips.js b/desktop/scripts/vips.jsindex 9c5e548986..59ededcdbd 100755--- a/desktop/scripts/vips.js+++ b/desktop/scripts/vips.js@@ -6,10 +6,10 @@* writing) upstream doesn't publish these.** This is our custom workflow, which runs on a fork of upstream:- * https://github.com/ente-io/libvips-packaging/commit/a298aff3e1f25f713508d31d0c3a55a4f828fdd3+ * https://github.com/ente/libvips-packaging/commit/a298aff3e1f25f713508d31d0c3a55a4f828fdd3** The binaries it creates are available at- * https://github.com/ente-io/libvips-packaging/releases/tag/v8.16.0+ * https://github.com/ente/libvips-packaging/releases/tag/v8.16.0** To integrate this binary, we need to modify two places:*@@ -58,7 +58,7 @@ const downloadIfNeeded = (downloadName, outputName) => {} catch {}console.log(`Downloading ${downloadName}`);- const downloadPath = `https://github.com/ente-io/libvips-packaging/releases/download/v8.16.0/${downloadName}`;+ const downloadPath = `https://github.com/ente/libvips-packaging/releases/download/v8.16.0/${downloadName}`;return fetch(downloadPath).then((res) => res.blob()).then((blob) => fsp.writeFile(out, blob.stream()))diff --git a/web/docs/heic.md b/web/docs/heic.mdindex 87a2f06c0e..44de1c4b51 100644--- a/web/docs/heic.md+++ b/web/docs/heic.md@@ -60,4 +60,4 @@ FFmpeg support would be nice since we already bundle it both in the desktop appEvery other HEIC converter, binary or library (e.g. ImageMagick, GraphicsMagick, libvips, sharp and wasm-vips), I've seen eventually the uses the combination of libheif (for the HEIF container) + libde265 (for the HEVC decoding), with an option to swap libde265 with libx265 or kvazaar.-Currently our web app uses [heic-convert](https://github.com/catdad-experiments/heic-convert), which provides packaged Wasm builds of libheif + libde265, and the desktop app uses a [custom build](https://github.com/ente-io/libvips-packaging) of `vips` on Linux and Windows, and Apple's `sips` on macOS.+Currently our web app uses [heic-convert](https://github.com/catdad-experiments/heic-convert), which provides packaged Wasm builds of libheif + libde265, and the desktop app uses a [custom build](https://github.com/ente/libvips-packaging) of `vips` on Linux and Windows, and Apple's `sips` on macOS.diff --git a/web/packages/new/photos/services/export.ts b/web/packages/new/photos/services/export.tsindex b1ab98812e..5025f0b9d4 100644--- a/web/packages/new/photos/services/export.ts+++ b/web/packages/new/photos/services/export.ts@@ -1297,7 +1297,7 @@ const migrateExportRecordIfNeeded = async (// The last migration from versions prior to version 5 of the export record// was added in Sep 2023 (commit 1fe4d0443b29e77a91981d5800d2c4231118cb83)// and released as part of app version 1.6.41:- // https://github.com/ente-io/photos-desktop/releases/tag/v1.6.41.+ // https://github.com/ente/photos-desktop/releases/tag/v1.6.41.//// There is no traffic from older versions anymore. Still, as an extra// precaution, do not proceed if the migration prior to 5 hasn't run by now.