[PR #3057] [MERGED] Sanitize logs for mirror sync #16736

Closed
opened 2025-11-02 12:17:49 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3057
Author: @ethantkoenig
Created: 12/2/2017
Status: Merged
Merged: 12/3/2017
Merged by: @lunny

Base: masterHead: fix/mirror_logs


📝 Commits (2)

  • ef4014d Sanitize logs for mirror sync
  • 6140459 Merge branch 'master' into fix/mirror_logs

📊 Changes

2 files changed (+46 additions, -8 deletions)

View changed files

📝 models/repo.go (+6 -1)
📝 models/repo_mirror.go (+40 -7)

📄 Description

Fixes #3055. Do not display mirror remote addresses in logs or repository notices, since the remote addresses may contain passwords.


🔄 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/go-gitea/gitea/pull/3057 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 12/2/2017 **Status:** ✅ Merged **Merged:** 12/3/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix/mirror_logs` --- ### 📝 Commits (2) - [`ef4014d`](https://github.com/go-gitea/gitea/commit/ef4014ddcbd1b67a2c40c50cb46577cc49f6916f) Sanitize logs for mirror sync - [`6140459`](https://github.com/go-gitea/gitea/commit/61404592045554d151db1aa93fd18c4b77627bda) Merge branch 'master' into fix/mirror_logs ### 📊 Changes **2 files changed** (+46 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `models/repo.go` (+6 -1) 📝 `models/repo_mirror.go` (+40 -7) </details> ### 📄 Description Fixes #3055. Do not display mirror remote addresses in logs or repository notices, since the remote addresses may contain passwords. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:17:49 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16736