pgadmin-org / pgadmin-org/pgadmin4
Feature request: Avoid creating a `~/.pgadmin` directory
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 891
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 8
Description
Describe the solution you'd like
PgAdmin4 should use the correct locations for each operating system:
User data:
Windows: %APPDATA%\Local<AppAuthor><AppName>
macOS: ~/Library/Application Support/
Linux: ~/.local/share/
User configuration:
Windows: %APPDATA%\Roaming<AppAuthor><AppName>
macOS: ~/Library/Application Support/
Linux: ~/.config/
Temporary caches:
Windows: %APPDATA%\Local<AppAuthor><AppName>\Cache
macOS: ~/Library/Caches/
Linux: ~/.cache/
This was already proposed in this issue: https://github.com/pgadmin-org/pgadmin4/issues/3479
Describe alternatives you've considered
N/A
Additional context
N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by tracing where pgAdmin currently creates ~/.pgadmin and identify its platform-specific path resolution; done means user data, configuration, and cache locations follow the listed Windows, macOS, and Linux paths, with coverage for each platform.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100