diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d59b77..bf153b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -203,7 +203,7 @@ jobs: gh release create "$GITHUB_REF_NAME" * --repo "$GITHUB_REPOSITORY" --title "$GITHUB_REF_NAME" "$notes" $pre # The default token cannot write to a different repository. Opt in after - # adding a fine-grained HOMEBREW_TAP_TOKEN for ponytojas/homebrew-tap. + # adding a fine-grained HOMEBREW_TAP_TOKEN for Use-Refract/homebrew-tap. homebrew: needs: release if: vars.HOMEBREW_TAP_ENABLED == 'true' && !contains(github.ref_name, '-') @@ -215,7 +215,7 @@ jobs: path: metadata - uses: actions/checkout@v7 with: - repository: ponytojas/homebrew-tap + repository: Use-Refract/homebrew-tap token: ${{ secrets.HOMEBREW_TAP_TOKEN }} path: tap - name: Update tap @@ -273,7 +273,7 @@ jobs: - id: meta uses: docker/metadata-action@v6 with: - images: ghcr.io/ponytojas/refract + images: ghcr.io/use-refract/refract - id: push uses: docker/build-push-action@v7 with: @@ -281,7 +281,7 @@ jobs: platforms: linux/${{ matrix.arch }} labels: ${{ steps.meta.outputs.labels }} build-args: VERSION=${{ github.ref_name }} - outputs: type=image,name=ghcr.io/ponytojas/refract,push-by-digest=true,name-canonical=true,push=true + outputs: type=image,name=ghcr.io/use-refract/refract,push-by-digest=true,name-canonical=true,push=true cache-from: type=gha,scope=image-${{ matrix.arch }} - id: digest run: echo "${{ matrix.arch }}=${{ steps.push.outputs.digest }}" >> "$GITHUB_OUTPUT" @@ -292,11 +292,11 @@ jobs: # Blocks the release on Critical findings without a reviewed exception # (security/image-scan-exceptions.json); the report is kept either way. - name: Scan the pushed image - run: scripts/scan-image.sh "ghcr.io/ponytojas/refract@${{ steps.push.outputs.digest }}" "$RUNNER_TEMP/scan" + run: scripts/scan-image.sh "ghcr.io/use-refract/refract@${{ steps.push.outputs.digest }}" "$RUNNER_TEMP/scan" - name: Keep the report with the build if: ${{ !cancelled() && steps.push.outputs.digest != '' }} run: | - printf '%s\n' "ghcr.io/ponytojas/refract@${{ steps.push.outputs.digest }}" > "$RUNNER_TEMP/scan/image.txt" + printf '%s\n' "ghcr.io/use-refract/refract@${{ steps.push.outputs.digest }}" > "$RUNNER_TEMP/scan/image.txt" tar -czf "$RUNNER_TEMP/refract-image-${GITHUB_REF_NAME}-${{ matrix.arch }}-scan.tar.gz" -C "$RUNNER_TEMP/scan" . - uses: actions/upload-artifact@v7 if: ${{ !cancelled() && steps.push.outputs.digest != '' }} @@ -322,7 +322,7 @@ jobs: - id: meta uses: docker/metadata-action@v6 with: - images: ghcr.io/ponytojas/refract + images: ghcr.io/use-refract/refract # v1.2.3 → 1.2.3 and 1.2; "latest" only for releases, not pre-releases (v1.2.3-rc1). tags: | type=semver,pattern={{version}} @@ -341,5 +341,5 @@ jobs: done < refract.key && chmod 600 refract.key docker run -d --name refract -p 127.0.0.1:8080:8080 -v refract-data:/data \ -e REFRACT_SECRET_KEY="$(cat refract.key)" -e REFRACT_AUTH=none -e REFRACT_ALLOWED_HOSTS=localhost \ - ghcr.io/ponytojas/refract + ghcr.io/use-refract/refract ``` -The image is published for amd64 and arm64. To build it from the source instead: `git clone https://github.com/ponytojas/Refract.git && cd Refract && docker build -t refract .`, then use `refract` as the image name. +The image is published for amd64 and arm64. To build it from the source instead: `git clone https://github.com/Use-Refract/Refract.git && cd Refract && docker build -t refract .`, then use `refract` as the image name. Verify: `curl -s http://127.0.0.1:8080/healthz` prints `ok`. Then tell them to open , create a project and press ⌘↵ (Ctrl+Enter) to compile. The first compile downloads LaTeX packages and takes longer. @@ -72,7 +72,7 @@ Check each tool and install what's missing. Versions are those the project build ### Run it ```sh -git clone https://github.com/ponytojas/Refract.git +git clone https://github.com/Use-Refract/Refract.git cd Refract make dev ``` @@ -118,7 +118,7 @@ Follow the README's [Deploy](README.md#deploy) section. Decide these with the pe 2. **The address and https**: a domain pointing at the server and a reverse proxy with TLS (the README has Caddy and nginx examples; the proxy must send `X-Forwarded-Proto` and must not buffer responses). 3. **Where the secret key lives**: somewhere it survives reinstalls and is backed up with the data volume. -Then start the container from the published image (`ghcr.io/ponytojas/refract:0.2`), create the first account (`docker exec refract refract users add `), and verify `https:///healthz` prints `ok` and the sign-in page loads. +Then start the container from the published image (`ghcr.io/use-refract/refract:0.2`), create the first account (`docker exec refract refract users add `), and verify `https:///healthz` prints `ok` and the sign-in page loads. ## When something goes wrong diff --git a/CHANGELOG.md b/CHANGELOG.md index dc30280..09751e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ Notable changes to Refract. The format follows [Keep a Changelog](https://keepac ### Changed +- Refract moved to the [Use-Refract](https://github.com/Use-Refract) organization: the repository is `Use-Refract/Refract`, and the Docker image is published as `ghcr.io/use-refract/refract` (images up to v0.2.0 stay at `ghcr.io/ponytojas/refract`). The macOS app looks for updates in the new repository; old links redirect. The Homebrew tap moved too: `brew install use-refract/tap/refract` (taps added as `ponytojas/tap` keep updating through GitHub's redirect). - Sign in with ChatGPT is stricter: the sign-in address no longer carries a token, token responses and refreshed ID tokens are verified (a rotation cut short by a restart or a key-server outage resumes without a new login), the local callback ignores stray or malformed requests, a failed code exchange reuses the issued registration, sign-out retries revocation once, and ChatGPT requests don't follow redirects or retry a usage limit. - A failed database upgrade now says that nothing was changed and where the copy from before the upgrade is (`refract.db.pre-upgrade`). - `refract local` keeps its secret key in the system credential store (macOS Keychain, Secret Service on Linux, Windows Credential Manager), one item per data folder, and falls back to an owner-only `secret.key` in the data folder when no store can be reached, saying so in the log. An existing `secret.key` is kept. If the key is gone from the store for a data folder that was used before, Refract logs that stored credentials can't be read instead of failing. @@ -117,7 +118,7 @@ The first release: a self-hosted LaTeX workspace with an AI assistant. - LaTeX editor with tabs, autosave and syntax highlighting. - Compilation with Tectonic, which fetches the packages a document needs; errors and warnings listed with file and line, each with **Fix with AI**. -- Named `fontspec` families (`\setmainfont{Open Sans}`) work without changing the document: Refract uses the project's own font files, the TeX bundle's Latin Modern and TeX Gyre, or downloads the family from Google Fonts (`REFRACT_FONT_DOWNLOADS=0` turns downloads off). By [Lorena Jimenez](https://github.com/Lorena-J) in [#1](https://github.com/ponytojas/Refract/pull/1). +- Named `fontspec` families (`\setmainfont{Open Sans}`) work without changing the document: Refract uses the project's own font files, the TeX bundle's Latin Modern and TeX Gyre, or downloads the family from Google Fonts (`REFRACT_FONT_DOWNLOADS=0` turns downloads off). By [Lorena Jimenez](https://github.com/Lorena-J) in [#1](https://github.com/Use-Refract/Refract/pull/1). - PDF preview with SyncTeX in both directions (⌘J, and ⌘-click in the PDF), and a right-click menu in the PDF. - Command palette (⌘K) and a shortcut overlay. - English and Spanish interface, light and dark themes, installable as an app from the browser. @@ -158,8 +159,8 @@ The first release: a self-hosted LaTeX workspace with an AI assistant. - `refract` binaries for macOS, Linux and Windows (amd64 and arm64). - A Docker image for amd64 and arm64 on GitHub Container Registry, with Tectonic and SyncTeX included. -[Unreleased]: https://github.com/ponytojas/Refract/compare/v0.2.0...HEAD -[0.2.0]: https://github.com/ponytojas/Refract/compare/v0.1.2...v0.2.0 -[0.1.2]: https://github.com/ponytojas/Refract/releases/tag/v0.1.2 -[0.1.1]: https://github.com/ponytojas/Refract/releases/tag/v0.1.1 -[0.1.0]: https://github.com/ponytojas/Refract/releases/tag/v0.1.0 +[Unreleased]: https://github.com/Use-Refract/Refract/compare/v0.2.0...HEAD +[0.2.0]: https://github.com/Use-Refract/Refract/compare/v0.1.2...v0.2.0 +[0.1.2]: https://github.com/Use-Refract/Refract/releases/tag/v0.1.2 +[0.1.1]: https://github.com/Use-Refract/Refract/releases/tag/v0.1.1 +[0.1.0]: https://github.com/Use-Refract/Refract/releases/tag/v0.1.0 diff --git a/README.md b/README.md index 9b199bc..775dd12 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ Edit, compile and read the PDF side by side, cite real papers, and keep every ve

-Latest release -Docker image -CI -Security -Go version -MIT License +Latest release +Docker image +CI +Security +Go version +MIT License

@@ -204,6 +204,8 @@ The seed is used only by `refract local`; the server (`refract` without `local`) You need [Docker](https://docs.docker.com/get-docker/). +The image is `ghcr.io/use-refract/refract` from the release after v0.2.0 on. Versions up to v0.2.0 were published as `ghcr.io/ponytojas/refract`, where they stay. + ```sh openssl rand -base64 32 > refract.key && chmod 600 refract.key # once: keep this file docker run -d --name refract -p 127.0.0.1:8080:8080 -v refract-data:/data \ @@ -211,7 +213,7 @@ docker run -d --name refract -p 127.0.0.1:8080:8080 -v refract-data:/data \ -e REFRACT_AUTH=none \ -e REFRACT_SECRET_KEY="$(openssl rand -base64 32)" \ -e REFRACT_AUTH=none -e REFRACT_ALLOWED_HOSTS=localhost \ - ghcr.io/ponytojas/refract + ghcr.io/use-refract/refract ``` The key encrypts the credentials you'll save (AI keys, git tokens), so use the same `refract.key` whenever you start the container again: with another key they can't be read back. @@ -232,7 +234,7 @@ docker run -d --name refract --restart unless-stopped --stop-timeout 30 \ -e REFRACT_SECRET_KEY="$(cat refract.key)" \ -e REFRACT_AUTH=builtin \ -e REFRACT_PUBLIC_URL=https://refract.example.com \ - ghcr.io/ponytojas/refract:0.2 + ghcr.io/use-refract/refract:0.2 ``` `refract.key` holds the secret key: create it once with `openssl rand -base64 32 > refract.key && chmod 600 refract.key`, and keep it with your backups. @@ -253,7 +255,7 @@ The sandbox has no network, so Tectonic needs the whole TeX bundle on disk (abou ```sh # 1. The offline TeX bundle, into its own volume (downloads 2.7 GB). docker run --rm -v refract-tex:/opt/refract/tex --entrypoint refract-prepare-bundle \ - ghcr.io/ponytojas/refract:0.2 /opt/refract/tex + ghcr.io/use-refract/refract:0.2 /opt/refract/tex # 2. Refract, with the bundle read-only and the options bubblewrap needs. docker run -d --name refract --restart unless-stopped --stop-timeout 30 \ @@ -262,7 +264,7 @@ docker run -d --name refract --restart unless-stopped --stop-timeout 30 \ -e REFRACT_SECRET_KEY="$(cat refract.key)" \ -e REFRACT_PROFILE=team -e REFRACT_AUTH=builtin \ -e REFRACT_TECTONIC_BUNDLE=/opt/refract/tex/bundle -e TECTONIC_CACHE_DIR=/opt/refract/tex/cache \ - ghcr.io/ponytojas/refract:0.2 + ghcr.io/use-refract/refract:0.2 ``` Then create the accounts (`docker exec refract refract users add `), put it [behind a reverse proxy](#behind-a-reverse-proxy) with https, and [back it up](#data-backups-and-upgrades) with the key. When you upgrade to an image with another Tectonic or bundle, prepare a new volume. @@ -425,7 +427,7 @@ Everything lives in the `/data` volume: To back up, stop the container, copy the volume, and keep `REFRACT_SECRET_KEY` with the copy. -To upgrade, pull the new image (`docker pull ghcr.io/ponytojas/refract:0.2`, or a newer version's tag) and start a new container on the same volume. Database changes are applied automatically at startup. +To upgrade, pull the new image (`docker pull ghcr.io/use-refract/refract:0.2`, or a newer version's tag) and start a new container on the same volume. Database changes are applied automatically at startup. To go back to an older version after an upgrade: @@ -475,13 +477,13 @@ The CLI lets you run `refract login` on your computer and upload the resulting c **macOS (Apple Silicon or Intel):** ```sh -brew install ponytojas/tap/refract +brew install use-refract/tap/refract refract login ``` -Update with `brew update` followed by `brew upgrade ponytojas/tap/refract`. +Update with `brew update` followed by `brew upgrade use-refract/tap/refract`. -**Debian / Ubuntu:** download the `.deb` for your architecture (`amd64` or `arm64`) from [Releases](https://github.com/ponytojas/Refract/releases). Packages are available starting with v0.1.2. For example, from the download directory: +**Debian / Ubuntu:** download the `.deb` for your architecture (`amd64` or `arm64`) from [Releases](https://github.com/Use-Refract/Refract/releases). Packages are available starting with v0.1.2. For example, from the download directory: ```sh sudo apt install ./refract_0.1.2_amd64.deb @@ -490,7 +492,7 @@ refract login Replace the version and architecture with those of your download. Install a newer `.deb` the same way to update; there is no Refract APT repository. On Linux, login opens a browser with `xdg-open` if available. Use `refract login --no-browser` to open the printed URL yourself on the same computer. -**Windows and other Linux distributions:** download the `.zip` or `.tar.gz` for your system from [Releases](https://github.com/ponytojas/Refract/releases), extract it and run `refract.exe login` (Windows) or `./refract login` (Linux) from the extracted directory. You can also place the executable in a directory on your `PATH`. +**Windows and other Linux distributions:** download the `.zip` or `.tar.gz` for your system from [Releases](https://github.com/Use-Refract/Refract/releases), extract it and run `refract.exe login` (Windows) or `./refract login` (Linux) from the extracted directory. You can also place the executable in a directory on your `PATH`. Each new release includes WinGet manifests for the Windows zip archives. These are prepared for submission to Microsoft's community repository; `winget install --id ponytojas.Refract --exact` becomes available after Microsoft accepts a submission. See [packaging maintenance](packaging/README.md) for validation and publication. diff --git a/macos/README.md b/macos/README.md index 97d2d76..b775f73 100644 --- a/macos/README.md +++ b/macos/README.md @@ -273,7 +273,7 @@ for the same answer instead of asking twice. every Mach-O instead. - **One feed per architecture, on GitHub Releases.** Sparkle doesn't choose by architecture and the apps are per architecture (see "One app per architecture"), so each build is baked with its own feed, - `https://github.com/ponytojas/Refract/releases/latest/download/appcast-.xml` with `` as + `https://github.com/Use-Refract/Refract/releases/latest/download/appcast-.xml` with `` as everywhere else in this repository (`arm64`, `amd64`). Releases rather than Pages: the feed is published by the same job that publishes the archive it points to (nothing to keep in step, no second deployment or token), `releases/latest/download/` is a stable URL, and the only cost is that a release flagged diff --git a/macos/Sources/Refract/AppDelegate.swift b/macos/Sources/Refract/AppDelegate.swift index 4d09821..70f5735 100644 --- a/macos/Sources/Refract/AppDelegate.swift +++ b/macos/Sources/Refract/AppDelegate.swift @@ -51,7 +51,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate { self?.supervisor.restart() }, showLogs: { NSWorkspace.shared.activateFileViewerSelecting([AppLog.store.file]) }, - reinstall: { NSWorkspace.shared.open(URL(string: "https://github.com/ponytojas/Refract/releases/latest")!) }) + reinstall: { NSWorkspace.shared.open(URL(string: "https://github.com/Use-Refract/Refract/releases/latest")!) }) window = NSWindow(contentViewController: root) // No title bar of its own: the web app reaches the top edge, the traffic lights float // over it. The title stays (Mission Control, the Window menu, VoiceOver) but isn't drawn. diff --git a/macos/Sources/Refract/Updater.swift b/macos/Sources/Refract/Updater.swift index cb8a60f..5c92648 100644 --- a/macos/Sources/Refract/Updater.swift +++ b/macos/Sources/Refract/Updater.swift @@ -62,7 +62,7 @@ final class UpdateController: NSObject, SPUUpdaterDelegate { alert.addButton(withTitle: L("update.disabled.ok", "OK")) alert.addButton(withTitle: L("update.disabled.releases", "Open Releases Page")) if alert.runModal() == .alertSecondButtonReturn { - NSWorkspace.shared.open(URL(string: "https://github.com/ponytojas/Refract/releases/latest")!) + NSWorkspace.shared.open(URL(string: "https://github.com/Use-Refract/Refract/releases/latest")!) } } diff --git a/macos/Tests/RefractCoreTests/UpdateSettingsTests.swift b/macos/Tests/RefractCoreTests/UpdateSettingsTests.swift index 9c42112..e6b65e4 100644 --- a/macos/Tests/RefractCoreTests/UpdateSettingsTests.swift +++ b/macos/Tests/RefractCoreTests/UpdateSettingsTests.swift @@ -3,7 +3,7 @@ import XCTest final class UpdateSettingsTests: XCTestCase { private let key = Data(repeating: 7, count: 32).base64EncodedString() - private let feed = "https://github.com/ponytojas/Refract/releases/latest/download/appcast-arm64.xml" + private let feed = "https://github.com/Use-Refract/Refract/releases/latest/download/appcast-arm64.xml" private func info(key: String? = nil, feed: String? = nil, overridable: Bool = false) -> [String: Any] { var d: [String: Any] = [:] diff --git a/macos/build-app.sh b/macos/build-app.sh index bcdb932..d001b27 100755 --- a/macos/build-app.sh +++ b/macos/build-app.sh @@ -35,7 +35,7 @@ case "$ARCH" in *) echo "error: arch must be arm64 or amd64" >&2; exit 2 ;; esac SPARKLE_KEY=${REFRACT_SPARKLE_PUBLIC_KEY:-} -FEED_BASE=${REFRACT_UPDATE_FEED_BASE:-https://github.com/ponytojas/Refract/releases/latest/download} +FEED_BASE=${REFRACT_UPDATE_FEED_BASE:-https://github.com/Use-Refract/Refract/releases/latest/download} # A release without the key could never be updated (and an update could never be verified): refuse # before spending ten minutes on the build. A release is `make mac-release` (REFRACT_RELEASE=1) or # any Developer ID build; other builds (ad hoc, Apple Development, self-signed) without the key run diff --git a/packaging/README.md b/packaging/README.md index b4e1634..ccc545e 100644 --- a/packaging/README.md +++ b/packaging/README.md @@ -280,22 +280,22 @@ OAuth sign-in itself remains an interactive user step and is not exercised by CI ## Homebrew -The tap is [ponytojas/homebrew-tap](https://github.com/ponytojas/homebrew-tap). +The tap is [Use-Refract/homebrew-tap](https://github.com/Use-Refract/homebrew-tap). Copy the generated `homebrew/refract.rb` to `Formula/refract.rb` in that repository. It uses the existing macOS binaries; neither Go nor Node is needed to install. Validate on macOS before pushing the tap update: ```sh ruby -c Formula/refract.rb -brew install ponytojas/tap/refract -brew test ponytojas/tap/refract +brew install use-refract/tap/refract +brew test use-refract/tap/refract ``` For automatic updates after stable releases, configure these in the **Refract** repository's GitHub Actions settings: - Secret `HOMEBREW_TAP_TOKEN`: a fine-grained token restricted to - `ponytojas/homebrew-tap`, with **Contents: read and write**. Enter it directly + `Use-Refract/homebrew-tap`, with **Contents: read and write**. Enter it directly in GitHub's settings, not in a shell command or a committed file. - Variable `HOMEBREW_TAP_ENABLED`: `true`, after adding the secret. diff --git a/packaging/tex-seed/licenses.txt b/packaging/tex-seed/licenses.txt index 4070bf6..fe2c261 100644 --- a/packaging/tex-seed/licenses.txt +++ b/packaging/tex-seed/licenses.txt @@ -5,7 +5,7 @@ edaef632cbb643e4e7a221717a6c441a4c1a7c918e6e4d56debc3d8739b233f6 licenses/tex/G 62046a75f3ff47f8917e1cf690090b1ea020714937dce4247e715ed83a7f0aa8 licenses/tex/LPPL-1.2.txt c1ae6e179a6d28bbd5c483fbacc744acc75e922d598281dc3390aab26126e163 licenses/tex/LPPL-1.3c.txt b05785f9f18e6716bab63424b11454513b9943a222595b70411009202fc592b5 licenses/tex/MIT.txt -78ae4b54abf4f5940cc0649bae206a9d40b060a7e639c2f40008758f2b78eeed licenses/tex/NOTICE.md +823c6377b76e7cce0b2507666178ad19301f303a1d03187d4dd8ca62ec9b4f30 licenses/tex/NOTICE.md 1d361a8f8e8ce6e68457dcd93fb56e162e6baa3bbb7e7573a290d44399f6b57e licenses/tex/OFL-1.1.txt 1a33fc12a3abb0b3eb14db70e36ef1d0af51c93b1cc1f80f022c3bd406e9b874 licenses/tex/Unicode-DFS-2016.txt e1963c9958b93bc2578b34f8ae22cfe205e8c0e7d5be7235cfdbdefbf92a5423 licenses/tex/X11.txt diff --git a/scripts/build-tools.sh b/scripts/build-tools.sh index 6651a84..65db0be 100755 --- a/scripts/build-tools.sh +++ b/scripts/build-tools.sh @@ -97,7 +97,7 @@ Git ${GIT_VERSION} is free software under the GNU General Public License version source of the bundled git executable is in this folder: source/git-${GIT_VERSION}.tar.xz (the unmodified official tarball, SHA-256 ${GIT_SOURCE_SHA256}). It was built by source/build-git-macos.sh (with source/tools-common.sh), the same -scripts as in the Refract repository (https://github.com/ponytojas/Refract) at +scripts as in the Refract repository (https://github.com/Use-Refract/Refract) at release ${TAG}, against libraries that are part of macOS. OFFER ;; @@ -118,7 +118,7 @@ MSYS2 packages listed in package-versions.txt are at https://github.com/git-for-windows/MSYS2-packages and https://github.com/git-for-windows/MINGW-packages. For three years from the release ${TAG} of Refract, the Refract maintainers will also send a copy of any of -these sources on request (https://github.com/ponytojas/Refract/issues). +these sources on request (https://github.com/Use-Refract/Refract/issues). OFFER ;; esac diff --git a/scripts/make-appcast.py b/scripts/make-appcast.py index beb33e3..c8022f7 100755 --- a/scripts/make-appcast.py +++ b/scripts/make-appcast.py @@ -41,7 +41,7 @@ SPARKLE_URL = f"https://github.com/sparkle-project/Sparkle/releases/download/{SPARKLE_VERSION}/Sparkle-{SPARKLE_VERSION}.tar.xz" SPARKLE_SHA256 = "1a856d2a9edb8e628de88121d7be04cf0e2167f8641650b78fca00b14244cf27" NAMESPACE = "http://www.andymatuschke.org/xmlns/sparkle" -REPO = "ponytojas/Refract" +REPO = "Use-Refract/Refract" VERSION_RE = re.compile(r"^v?(\d+(?:\.\d+){0,2})(.*)$") diff --git a/scripts/package-deb.sh b/scripts/package-deb.sh index 691580c..37e5606 100644 --- a/scripts/package-deb.sh +++ b/scripts/package-deb.sh @@ -23,7 +23,7 @@ Architecture: $arch Maintainer: Daniel Villalobos Section: utils Priority: optional -Homepage: https://github.com/ponytojas/Refract +Homepage: https://github.com/Use-Refract/Refract Description: CLI for the Refract LaTeX workspace Sign in to ChatGPT on this computer with refract login, then upload the credential file to your Refract instance. No local server or diff --git a/scripts/package-metadata.py b/scripts/package-metadata.py index 272f3cb..0f52a5b 100644 --- a/scripts/package-metadata.py +++ b/scripts/package-metadata.py @@ -13,7 +13,7 @@ import zipfile -REPO = "https://github.com/ponytojas/Refract" +REPO = "https://github.com/Use-Refract/Refract" IDENTIFIER = "ponytojas.Refract" SCHEMA = "1.12.0" diff --git a/scripts/scan-image.sh b/scripts/scan-image.sh index d452897..f77bfd5 100755 --- a/scripts/scan-image.sh +++ b/scripts/scan-image.sh @@ -6,7 +6,7 @@ # # Usage: scripts/scan-image.sh # is what `docker run` takes, ideally by digest -# (ghcr.io/ponytojas/refract@sha256:…), or a local tag in CI. +# (ghcr.io/use-refract/refract@sha256:…), or a local tag in CI. # Needs docker, python3, and syft and grype on the PATH (scripts/install-scanners.sh). # Writes report.md, sbom.spdx.json, sbom.syft.json, grype.json and grype.txt. # Exit status: 0 publishable, 1 blocked, 2 the scan itself failed. diff --git a/scripts/test_appcast.py b/scripts/test_appcast.py index 5f13ce3..750e687 100644 --- a/scripts/test_appcast.py +++ b/scripts/test_appcast.py @@ -173,7 +173,7 @@ def test_writes_a_verifiable_feed(self): self.assertEqual(item.find("s:version", ns).text, "0.3.0") self.assertEqual(item.find("s:minimumSystemVersion", ns).text, "13.0") enc = item.find("enclosure") - self.assertEqual(enc.get("url"), "https://github.com/ponytojas/Refract/releases/download/v0.3.0/Refract-arm64.zip") + self.assertEqual(enc.get("url"), "https://github.com/Use-Refract/Refract/releases/download/v0.3.0/Refract-arm64.zip") self.assertEqual(int(enc.get("length")), os.path.getsize(os.path.join(self.dir.name, "Refract-arm64.zip"))) self.assertTrue(mk.ed25519_verify(self.pub, base64.b64decode(enc.get("{%s}edSignature" % mk.NAMESPACE)), os.path.join(self.dir.name, "Refract-arm64.zip"))) diff --git a/scripts/tex-seed.py b/scripts/tex-seed.py index db9e813..4ff702c 100644 --- a/scripts/tex-seed.py +++ b/scripts/tex-seed.py @@ -347,7 +347,7 @@ def write_notice(out, lock, attribution, tectonic_ver): "and the Subversion tree is https://tug.org/svn/texlive/tags/texlive-2022.0/. The unmodified", "bundle is the tar at the URL above. For three years from a Refract release, the Refract", "maintainers will also send a copy of any of these sources on request", - "(https://github.com/ponytojas/Refract/issues).", + "(https://github.com/Use-Refract/Refract/issues).", "", "## Licence texts in this folder", "",