[PR #5694] [MERGED] fix(termux): prevent GitHub credential prompts during updates #6887

Closed
opened 2026-10-23 04:14:36 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5694
Author: @Gunterlie
Created: 8/31/2026
Status: ✅ Merged
Merged: 8/31/2026
Merged by: @Gunterlie

Base: staging ← Head: who-asked-for-auth


📝 Commits (1)

  • c7966bb fix(termux): prevent git credential prompts during updates

📊 Changes

3 files changed (+11 additions, -0 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 scripts/regressions/launcher/update.regression.mjs (+7 -0)
📝 start-termux.sh (+3 -0)

📄 Description

Linked issue

Closes #5693

Why this change

  • A Termux user saw a GitHub username/password prompt after Checking for updates..., even though the official Marinara repository is public and the same remote fetched successfully without credentials.
  • Startup must never block on an interactive credential request for a public update check.

What changed

  • Export GIT_TERMINAL_PROMPT=0 before any Git operation in start-termux.sh.
  • Add a launcher regression guard for the export and its placement before update checks.
  • Add an Unreleased changelog entry.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Automated verification completed: pnpm check and pnpm regression:launcher-update pass.
  • Manual Android/Termux verification remains for the maintainer or contributor with an Android device.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Not applicable.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/5694 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 8/31/2026 **Status:** ✅ Merged **Merged:** 8/31/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `who-asked-for-auth` --- ### 📝 Commits (1) - [`c7966bb`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c7966bb9257ff450f62adb7dffa7acacd97cde53) fix(termux): prevent git credential prompts during updates ### 📊 Changes **3 files changed** (+11 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `scripts/regressions/launcher/update.regression.mjs` (+7 -0) 📝 `start-termux.sh` (+3 -0) </details> ### 📄 Description ## Linked issue Closes #5693 ## Why this change - A Termux user saw a GitHub username/password prompt after `Checking for updates...`, even though the official Marinara repository is public and the same remote fetched successfully without credentials. - Startup must never block on an interactive credential request for a public update check. ## What changed - Export `GIT_TERMINAL_PROMPT=0` before any Git operation in `start-termux.sh`. - Add a launcher regression guard for the export and its placement before update checks. - Add an Unreleased changelog entry. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Automated verification completed: `pnpm check` and `pnpm regression:launcher-update` pass. - Manual Android/Termux verification remains for the maintainer or contributor with an Android device. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Not applicable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:14:36 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#6887
No description provided.