online.git: CONTRIBUTING.md scripts/clone-online.md

0 views
Skip to first unread message

"Darshan-upadhyay1110 (via cogerrit)"

unread,
12:53 PM (4 hours ago) 12:53 PM
to collaboraon...@googlegroups.com
CONTRIBUTING.md | 4 ++--
scripts/clone-online.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit a813509ecf13e8274a515a0f36fb14b82f28b120
Author: Darshan-upadhyay1110 <darshan....@collabora.com>
AuthorDate: Mon May 25 19:33:31 2026 +0530
Commit: Darshan-Upadhyay <darshan....@collabora.com>
CommitDate: Mon May 25 16:52:46 2026 +0000

fetch clone-online.sh from GitHub mirror instead of Gerrit

Anonymous gitiles access on gerrit.collaboraoffice.com now redirects to
the login page, causing the curl + base64 pipeline to decode HTML and
fail with "base64: invalid input". Fetch the script directly as raw text
from the GitHub mirror instead.

Signed-off-by: Darshan-upadhyay1110 <darshan....@collabora.com>
Change-Id: I86ee4877bf6b8cd8c63dacadc3b23e2d5b0def58
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3233
Reviewed-by: Szymon Kłos <szymo...@collabora.com>
Tested-by: Szymon Kłos <szymo...@collabora.com>

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 1e8febd8ebca..21ab6e6c2e94 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -50,8 +50,8 @@ For a guided setup that handles SSH key generation, Gerrit
registration, cloning, and the engine + online build, run:

```sh
-curl -fsSL "https://gerrit.collaboraoffice.com/plugins/gitiles/online/+/refs/heads/main/scripts/clone-online.sh?format=TEXT" \
- | base64 -d > clone-online.sh
+curl -fsSL "https://github.com/CollaboraOnline/online.mirror/raw/main/scripts/clone-online.sh" \
+ -o clone-online.sh
chmod +x clone-online.sh
./clone-online.sh
```
diff --git a/scripts/clone-online.md b/scripts/clone-online.md
index dea450adb7a4..00a863ccfbab 100644
--- a/scripts/clone-online.md
+++ b/scripts/clone-online.md
@@ -46,8 +46,8 @@ first. Open a terminal in the folder where you want the code to live
and run:

```sh
-curl -fsSL "https://gerrit.collaboraoffice.com/plugins/gitiles/online/+/refs/heads/main/scripts/clone-online.sh?format=TEXT" \
- | base64 -d > clone-online.sh
+curl -fsSL "https://github.com/CollaboraOnline/online.mirror/raw/main/scripts/clone-online.sh" \
+ -o clone-online.sh
chmod +x clone-online.sh
./clone-online.sh
```

Reply all
Reply to author
Forward
0 new messages