[PR #2192] [MERGED] Set session and indexers' data files rel to AppDataPath #16278

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2192
Author: @dubeg
Created: 7/21/2017
Status: Merged
Merged: 11/3/2017
Merged by: @lafriks

Base: masterHead: master


📝 Commits (3)

  • 1184828 Set session and indexers' data files rel to AppDataPath
  • 60a8fd6 fix bug
  • fe26551 Merge branch 'master' into master

📊 Changes

5 files changed (+73 additions, -74 deletions)

View changed files

📝 cmd/dump.go (+1 -4)
📝 cmd/serv.go (+3 -3)
📝 models/models.go (+9 -14)
📝 modules/setting/setting.go (+58 -53)
📝 routers/init.go (+2 -0)

📄 Description

The setting AppDataPath now defaults to being relative to the working directory.
The session svc's PROVIDER_CONFIG now defaults to AppDataPath/data/sessions.
The issue indexer's IssuePath now defaults to AppDataPath/indexers/issues.bleves.

This change targets #2159.


🔄 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/2192 **Author:** [@dubeg](https://github.com/dubeg) **Created:** 7/21/2017 **Status:** ✅ Merged **Merged:** 11/3/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`1184828`](https://github.com/go-gitea/gitea/commit/1184828d77682b5c382cb71d80ced942f5fc5972) Set session and indexers' data files rel to AppDataPath - [`60a8fd6`](https://github.com/go-gitea/gitea/commit/60a8fd639e2abe762c54676f7edd338844799717) fix bug - [`fe26551`](https://github.com/go-gitea/gitea/commit/fe265515b8513a0888aedc4362548d174fe3327f) Merge branch 'master' into master ### 📊 Changes **5 files changed** (+73 additions, -74 deletions) <details> <summary>View changed files</summary> 📝 `cmd/dump.go` (+1 -4) 📝 `cmd/serv.go` (+3 -3) 📝 `models/models.go` (+9 -14) 📝 `modules/setting/setting.go` (+58 -53) 📝 `routers/init.go` (+2 -0) </details> ### 📄 Description The setting AppDataPath now defaults to being relative to the working directory. The session svc's PROVIDER_CONFIG now defaults to AppDataPath/data/sessions. The issue indexer's IssuePath now defaults to AppDataPath/indexers/issues.bleves. This change targets [#2159](https://github.com/go-gitea/gitea/issues/2159). --- <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:06:34 -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#16278