[PR #1915] [MERGED] Set TMPDIR enviroment variable for dump command #16119

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1915
Author: @cez81
Created: 6/8/2017
Status: Merged
Merged: 6/9/2017
Merged by: @appleboy

Base: masterHead: issue_1103


📝 Commits (1)

  • b0a58aa Set TMPDIR enviroment variable for dump command

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 cmd/dump.go (+5 -0)

📄 Description

Work-around for cae/zip-library using /tmp directory (which could be inaccesible or to small).

Fixes #1103 and #1878

Ref: https://golang.org/src/os/file_unix.go?s=7617:7638#L255
https://github.com/Unknwon/cae/blob/master/zip/write.go#L169


🔄 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/1915 **Author:** [@cez81](https://github.com/cez81) **Created:** 6/8/2017 **Status:** ✅ Merged **Merged:** 6/9/2017 **Merged by:** [@appleboy](https://github.com/appleboy) **Base:** `master` ← **Head:** `issue_1103` --- ### 📝 Commits (1) - [`b0a58aa`](https://github.com/go-gitea/gitea/commit/b0a58aa6e1eb4b1a7043717515b7e3d42e3ff679) Set TMPDIR enviroment variable for dump command ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/dump.go` (+5 -0) </details> ### 📄 Description Work-around for cae/zip-library using /tmp directory (which could be inaccesible or to small). Fixes #1103 and #1878 Ref: https://golang.org/src/os/file_unix.go?s=7617:7638#L255 https://github.com/Unknwon/cae/blob/master/zip/write.go#L169 --- <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:02:44 -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#16119