[FEATURE] Support for XDG Base Directory Specification in Doppler
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- go
- Lĩnh vực
- cli, operating-systems
Hướng nghiên cứu
Issue không nêu tên file hoặc test nào. Hãy bắt đầu bằng cách xác định Doppler hiện đang lưu các file cấu hình, dữ liệu, cache, trạng thái và runtime ở đâu, sau đó so sánh các đường dẫn đó với XDG Base Directory Specification. Công việc được xem là hoàn tất khi các biến môi trường XDG liên quan và các giá trị mặc định được chỉ định được tuân thủ, đồng thời mọi hành vi ghi đè tùy chỉnh được hỗ trợ đều được kiểm thử.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
I'm often frustrated when applications like Doppler store configuration, data, or cache files in non-standard locations within my home directory, cluttering it with hidden files and folders. This makes it harder to manage my user-specific data and configurations, especially on Linux systems where the XDG Base Directory Specification provides a standardized way to organize such files. Currently, Doppler does not respect the XDG Base Directory Specification, which leads to inconsistency with other modern applications that follow this standard.
Describe the solution you'd like
I would like Doppler to support the XDG Base Directory Specification by storing its files in the appropriate directories as defined by the relevant environment variables.If these environment variables are not set or are empty, Doppler should fall back to the default paths as outlined in the XDG Base Directory Specification. This would ensure consistency with other applications and reduce clutter in the user's home directory.
Describe alternatives you've considered
One alternative is to provide a configuration option for users to manually specify storage paths, but this places the burden on the user to maintain consistency and does not inherently solve the problem of standardization. Supporting XDG by default, with an optional override for custom paths, would be the most user-friendly and standards-compliant approach.
Additional context
The XDG Base Directory Specification is a widely accepted standard on Linux and other Unix-like systems for organizing user-specific files. It helps maintain a clean home directory by defining standard locations for configuration, data, cache, state, and runtime files through environment variables like $XDG_CONFIG_HOME, $XDG_DATA_HOME, and others. Many modern applications and tools adhere to this specification, and supporting it in Doppler would improve interoperability and user experience on these platforms.
- Ngôn ngữ chính
- Go
- Star
- 397
- Fork
- 87
- Merge trung bình
- 13 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DopplerHQ/cli
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
[BUG] doppler secrets substitute panics when an environment entry is missing '='Có thể đã có người làm @pvarshh đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Tất cả issue của DopplerHQ/cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
QuantumNous/new-api#7839 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage service/costoptimizationhub
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
hashicorp/terraform-provider-aws#50507 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
adcontextprotocol/adcp-go#567 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug raised-by:desk
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
medici-finance/assay#3097 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
supabase-community/supabase-kubernetes#275 ·
Maintainer thường phản hồi trong vòng 1 ngày